A homemade apple trap for gnats catches adult fungus gnats by luring them into a shallow dish of sweet, fermenting apple liquid they cannot escape. It works because gnats are drawn to the smell of ripe, overripe fruit and vinegar, and the trap drowns them before they can lay more eggs in your soil. You only need a few kitchen items and about five minutes. One important caveat up front: a trap catches adults, not the eggs or larvae in the potting mix, so it slows a gnat population but will not end an infestation on its own. Pair it with letting the top of the soil dry out between waterings, since fungus gnat larvae need damp soil to survive.
What You'll Need
- One ripe or overripe apple (a bruised or softening apple works better than a firm fresh one)
- Apple cider vinegar, about a cup, to boost the fermenting scent
- Water, about a cup
- A small saucepan for simmering
- A shallow bowl, jar lid, or small dish, ideally glass or clear plastic
- Liquid dish soap, a few drops
- Plastic wrap and a rubber band or a toothpick (optional, for a covered version)
- A small strainer or spoon for scooping out solids
Step-by-Step
- Chop the apple into small pieces. Cut one apple into roughly half-inch chunks. Leave the skin on and do not remove the core; the skin and flesh both release sugars and aromas that attract gnats. If the apple is already soft or browning, use it as is.
- Simmer the apple with water. Put the chunks in a saucepan with about a cup of water and bring it to a gentle simmer over medium heat for five to ten minutes. You are not making applesauce, just releasing the sugars and aroma. The kitchen smell alone will start drawing gnats toward the area, so do this near where you plan to place the trap.
- Let it cool and strain out the solids. Take the pan off the heat and let it cool to room temperature, at least fifteen minutes. Hot liquid can damage plant leaves and is a burn risk near children and pets. Strain the liquid through a small strainer into a jug or bowl, pressing gently on the apple pieces to get the flavour out. Discard the solids or compost them outside.
- Mix in the apple cider vinegar. Stir roughly equal parts of your apple liquid and apple cider vinegar, about half a cup of each. The vinegar adds a sharp, fermented note that gnats find hard to resist and helps keep the liquid from spoiling as quickly. Plain white vinegar works at a pinch but is less effective.
- Add a drop or two of dish soap. Stir in two or three drops of liquid dish soap. This is the part that actually traps them: soap lowers the surface tension of the water so gnats that land break through the surface and sink instead of standing on it. Do not overdo it or the liquid foams up and looks less appealing to the insects.
- Pour the mixture into shallow dishes. Fill each dish about a quarter to half an inch deep. Shallow is important. Gnats fly low and land on exposed surface, so a deep jar with a narrow neck is harder for them to find. Place one dish next to each infested potted plant, on the windowsill behind the plants, and near any fruit bowl or compost caddy.
- Optionally cover with plastic wrap. If pets, children, or clumsy hands are a concern, stretch plastic wrap over the dish and secure it with a rubber band. Poke eight to ten small holes in the top with a toothpick. Gnats crawl in through the holes and cannot easily find their way back out. An uncovered dish catches more but is messier.
- Check and refresh every few days. Look inside daily for the first few days. Once the liquid is cloudy, has a layer of dead gnats, or starts to smell sour rather than fruity, pour it out and make a fresh batch. In warm weather the mixture can go off within two or three days, so expect to replace it twice a week while gnats are active.
- Place traps strategically and keep them away from food. Put them at soil level rather than high on shelves, because fungus gnats hover around the surface of damp potting mix. Keep traps out of reach of pets and small children, and do not sit them directly on a kitchen counter where food is prepared. If you see gnats gathering around a sink drain rather than plants, the same mixture in a small cup beside the drain can help there too.
Common Mistakes
The most common failure is forgetting the dish soap. Without it, gnats simply float on the surface, drink, and fly away, and the trap looks busy but catches almost nothing. The second is making the liquid too deep or using a tall bottle, which puts the surface out of reach of small, low-flying insects. Third, many people place a single trap in one corner and expect it to clear a room. Gnats congregate near their breeding site, so a trap has to sit close to the infested pot to compete with the soil. Finally, leaving the mixture in place for a week or more backfires: it ferments further, grows mould, and starts attracting fruit flies from elsewhere in the house.
Tips
- Use the most overripe apple you can spare. Browning, soft fruit gives off far more scent than a crisp fresh one.
- A splash of red wine or a spoonful of sugar stirred in can strengthen the lure, but keep the mix mostly apple and vinegar so it does not become a sticky mess.
- Make a larger batch and store it in a sealed jar in the fridge for up to about a week, so refreshing traps is quick.
- Set traps out in the evening; gnats are often more active at dusk, and a fresh trap overnight catches a good number before morning.
- Combine the trap with sticky yellow cards pushed into the soil. The colour attracts gnats and the cards catch adults that never reach the liquid.
- Let the top inch or two of soil dry out between waterings and water from the bottom where possible, since damp surface soil is where larvae thrive.
Troubleshooting
Nothing is being caught after two days. Check the dish soap first, then move the trap closer to the soil of the worst-affected plant. If the liquid smells only of vinegar and not fruit, the apple scent has faded and it is time for a fresh batch. Confirm you are dealing with fungus gnats and not fruit flies: fruit flies gather around ripening produce and bins, while fungus gnats hover low around potting soil. The same trap works on both, but placement differs.
The trap is full of gnats but they keep coming. The adults are being replaced by new ones hatching from the soil, so the source needs attention. Stop watering the affected plants until the top layer of soil is dry, empty saucers of standing water, and consider repotting badly infested plants into fresh, well-draining mix. Discard the old soil outside rather than in an indoor bin.
The mixture grows mould or smells rotten. Empty and replace it, and reduce the amount you make so it is used within a couple of days. In humid weather, change it more often. Do not add more sugar to a batch that has already soured.
Pets or children keep getting into the dishes. Switch to the plastic-wrap version with pinholes, or place dishes on a high shelf behind plants where gnats still fly but hands cannot reach. The liquid is not highly toxic, but vinegar and soap are unpleasant if swallowed, so treat it like any household cleaner.
Gnats are near a drain or bin rather than plants. Clean the drain with a brush and hot water, take out food waste daily, and place a small trap beside the source. Persistent drain flies may need a different approach, since they breed in the film inside pipes.
Frequently Asked Questions
Does an apple trap really work on gnats?
Yes, for adult fungus gnats and fruit flies. The fermenting apple and vinegar mimic the scent of decaying fruit, and the soapy surface drowns them. It will not kill eggs or larvae in the soil, so it works best alongside drier soil and sticky cards.
Can I use apple juice or cider instead of a real apple?
You can, and it is faster, but fresh apple simmered in water smells stronger and costs less if you already have fruit going soft. If using juice, mix it half and half with apple cider vinegar and add the soap as usual.
How often should I change the trap?
Every two to three days while gnats are active, or sooner if it looks cloudy, smells sour, or is crowded with dead insects. A stale trap loses its pull and can start attracting pests from other rooms.
Is the trap safe around houseplants, pets, and kids?
The ingredients are food, vinegar, and a little dish soap, so it is low risk, but keep dishes out of reach. Do not pour the mixture onto plant soil, since the vinegar and soap can stress roots. Place traps where they cannot be knocked over.
Why do gnats keep coming back after the trap empties?
Because the population is breeding in damp potting mix. Traps only remove adults. Break the cycle by letting the top of the soil dry between waterings, emptying saucers, and repotting severely infested plants into fresh mix.
Will this trap work for mosquitoes or house flies?
It may catch a few, but it is not designed for them. Mosquitoes and house flies respond to different cues, and larger insects can climb out of a shallow dish. Use it for small gnats and fruit flies only.