Before you throw away your used coffee grounds, think twice. That dark, damp leftover can become one of the most effective natural repellents for flies, mosquitoes, and other unwanted insects. When burned, coffee grounds release a strong, smoky aroma that insects find deeply unpleasant – but most people find surprisingly pleasant.
Coffee contains compounds that, when smoldered, create a dense, fragrant smoke that masks the scents that attract mosquitoes and flies. The smoke also irritates their respiratory systems, driving them away from the area. Unlike chemical sprays, burnt coffee grounds are non-toxic to humans and pets, making them a safe alternative for indoor and outdoor use.
How to Burn Coffee Grounds for Pest Control
What you need
- Used coffee grounds (fresh or dried)
- A small, heat-safe container (such as a metal tin, ceramic dish, or a foil pie plate)
- A lighter or matches
- A fire-safe surface (concrete, stone, or a metal tray)
How to do it
Indoor use (patio, balcony, or well-ventilated room):
Place a small handful of used, slightly damp coffee grounds into your heat-safe container. Using a lighter, carefully ignite the grounds. They will not catch flame like paper – instead, they will begin to smolder and smoke. Let them smoke for 10 to 15 minutes, then extinguish by covering the container or sprinkling with water. Make sure the room is well-ventilated. The smoky aroma will linger and repel insects for hours.
Outdoor use (garden, porch, or camping):
Spread a thin layer of used coffee grounds on a foil pie plate or a metal tray. Light the grounds with a match. They will smolder slowly, producing a steady stream of insect-repelling smoke. Place the tray upwind of your seating area. Re-light as needed. The smoke will keep mosquitoes, flies, and even gnats away naturally.
Why this works better than expected
- The smoke masks the carbon dioxide and body odors that attract mosquitoes.
- The bitter compounds in coffee are irritating to insects’ sensitive antennae.
- Unlike citronella candles, burnt coffee grounds produce a thicker, longer-lasting smoke.
- Used grounds are free – you are recycling something you would otherwise throw away.
What you might notice
Within minutes of lighting the grounds, flying insects will begin to leave the area. The effect lasts as long as the grounds are smoking, typically 20 to 40 minutes per batch. You can re-light the same grounds several times after they dry out.
Important safety tips
Always burn coffee grounds in a fire-safe container on a non-flammable surface. Keep the container away from curtains, paper, and children. Never leave burning grounds unattended. If you are using this method indoors, keep a window open for ventilation. Wet grounds will smolder longer than dry ones.
A simple, zero-waste solution
Used coffee grounds are free, natural, and surprisingly effective at keeping flies and mosquitoes away. Before you reach for chemical sprays, try lighting a small pile of grounds on your patio or balcony. Your evening will be more peaceful – and your coffee will have done double duty.




