There are already loads of products available that promise to get rid of tough carpet stains.

But if you don’t have any of these to hand, carpets can be freshened up by using an unusual but simple household product that is probably already lying around in your cupboard.

Fans of the cleaning expert Mrs Hinch will regularly share their own hacks online.

Mrs Hinch, real name Sophie Hinchcliffe, became well-known for sharing her easy cleaning hacks.

As well as racking up a huge online following of her own, she has inspired others to share their own tips.

Find the latest news in your area:

Posting in a Mrs Hinch Cleaning Tips Facebook Group, one woman shared a TikTok video showing several dark stains on her carpet caused by various types of makeup.

She had an unusual solution to the troublesome stains – shaving foam.

She wrote: “Shaving foam is great for getting marks out of the carpet. I had some makeup marks which it got rid of straight away.”

The video shows her squirting the foam onto the stains and rubbing it into the carpet.

She then cleans it away with a wet cloth, revealing the stains have magically disappeared.

One commenter added the trick has another surprising benefit – it makes the room smell great.

“I put this on my wooden floors and toilet floor makes the place smell so fresh especially the toilet,” she said.

“Spray it on your floor preferably overnight (I only leave it an hour), hot water in a bucket then just mop it all off.”

Others said shaving foam works well as a toilet cleaner, as well as on mirrors and glass.