It’s inevitable. No matter how clean you keep your kitchen, how many fly swatters you invest in or how many times you make sure your window screens are shut tight, at some point over the summer, you’re bound to deal with the pesky little gnats known as fruit flies.

Before you throw in the towel – or throw out the fruit – there are a few strategies and solutions for dealing with these annoyances right away. Here are our top tips and tricks for eradicating fruit flies in the kitchen, for good.

Ripe cherries

Wash Produce Immediately 

What causes fruit flies?  While some of these bugs travel in through window cracks and screens, it’s most likely that they’ve come in with your actual fruit and vegetables. Most of the time they’re undetectable (they can grow from an egg to an adult in about the span of a week, and procreate rapidly), which means that washing all of your produce as soon as you get home from shopping is an important step in avoiding them all together.

Don’t Feed the Fruit Flies

While we know you’re not purposefully inviting these gnats to an all you can eat buffet in your kitchen, it is helpful to make sure that any food scraps and drippings are cleaned up straightaway, and that you avoid leaving out empty cans of beer or bottles of wine. Take out the garbage, compost and recycling every day, and be sure to eat fresh counter fruit in a timely manner so the unwelcome guests don’t have anything to feed on.

Pump Up the Air Conditioning

Fruit flies thrive in warmer climates, which is why they come out to play during the summer months and why they die off come winter. Keeping your home at a cool, regulated temperature could potentially help to keep these pesky flies at bay.

red apples

How to Make Fruit Fly Catcher

Once you’ve got fruit flies, how do you actually get rid of them? They’re often too numerous to just swat out, and that just gets messy. This is where some of the brilliant DIY concoctions come in handy. Here are a few of our favourite, chemical-free solutions.

– Place a piece of cut-up fruit in a small bowl and cover it with plastic wrap. Poke a few holes in it with a toothpick. As the bowl fills up with flies, place it in the freezer to kill them off, dump it out and start again.

– Pour a 1/4 to 1/2 cup of apple cider vinegar in a mason jar and cover the top with plastic wrap, securing it with a rubber band. Poke a few holes in the jar with a toothpick so the flies can get in, but not out. Eventually, they will succumb to the liquid. If you’re out of apple cider vinegar, try leftover wine or beer, a mashed up banana or overripe fruit instead. Rather than using plastic wrap, make a cone out of a rolled up piece of paper, leaving a small opening, and place that in the mason jar with the point down.

– In a medium saucepan, simmer 1 pint milk with 1/4 lb raw sugar and 2 oz ground pepper for 10 minutes or so. Pour this mixture into shallow bowls with a drop or two of dish soap (this helps the flies stick to the mixture) and place around the house.

– Mix a few drops of lemongrass essential oil with hot water in a clean spray bottle. Spray windowsills and doorways (and any actual flies you see) to leave a gnat fighting, fresh scent around your house.

Hopefully, you’ll be fruit fly-free in no time. Happy hunting!

Looking for more kitchen tips? Try these 10 Time-Saving Kitchen Cleaning Hacks.