Flies can be an incredibly annoying and recurring problem to deal with during the warm summer months, especially if you have bins in your driveway or garden. The smell of rotting food smells attract the pesky insects, with warm weather speeds up decay, and an open or loose lid lets them lay eggs inside.

If you've noticed that flies seem to be congregating around your bins, there's a surprisingly simple method you can use to keep them away. Cleaning fan and TikTok creator Anna Louisa, known as Anna Louisa at Home on social media, recently shared a number of fly repellent hacks, including one for dealing with the pesky insects swarming bins. You won't need any chemical ones, just one natural item from your kitchen cupboard: cinnamon.

spoon of cinnamon macro

How to keep flies away from bins

Anna Louisa's fly deterrent hack is incredibly easy to do. Simply sprinkle a generous amount of ground cinnamon into your bin and into the lid.

That's all you need to do. This can work when the bin is empty or only partially filled.

The same idea applies to placing cinnamon around the home's entry points. The smell will help mask unpleasant odours emanating from the bin's contents, and stop flies lingering around the bins.

Flies detest potent-smelling ingredients, such as lemons and rosemary, too. Cinnamon can also be used in DIY solutions to keep flies out of homes, too.

Cinnamon's spicy scent will keep them repelled from bins, and is a great alternative to the likes of cayenne pepper. You can also use cinnamon essential oil on cotton wool pads for a less messy solution.

Cinnamon repels flies because it contains strong oils like cinnamaldehyde and eugenol, which overwhelm their sensitive sense of smell, irritate their taste receptors, and disrupt their communication with one another.

The volatile organic compounds in cinnamon create a heavy scent that masks the odours of food, rubbish, or decaying matter in bins that flies are normally attracted to.

Flies have taste receptors on their feet and tiny hairs on their bodies, and when they come into contact with cinnamon, the spice irritates their senses.

Lucie Bradley, gardening and greenhouse expert at Easy Garden Irrigation, told Martha Stewart: "It contains cinnamaldehyde, which disrupts the nervous system of insects, making it difficult for them to move, find food, or locate mates."

In addition to flies, cinnamon can also be used to deter other insects like ants, fungus gnats, mites, aphids, mosquitoes, fruit flies, and wasps.