How to Get Rid of Gnats Fast (and Keep Them Away)

Tiny gnats flying around a kitchen fruit bowl and a small apple cider vinegar trap on the counter
Gnats are annoying, but they are also easy to beat once you know where they are breeding.

How to get rid of gnats is a question most people ask in a panic, usually after noticing a cloud of tiny flies around the fruit bowl or the kitchen sink. The good news is that gnats are not dangerous, and they are not hard to get rid of — but you have to deal with the source, not just the flies you can see. Spraying the air kills the adults and leaves the eggs behind, and a new batch hatches within days. Find the breeding spot, remove it, and the problem ends.

Key Takeaways

  • Identify the gnat type first: fruit flies breed in food, fungus gnats breed in damp soil, drain flies breed in drains.
  • Remove the breeding source — that is the only fix that lasts. Traps alone just catch the adults.
  • An apple cider vinegar trap catches fruit flies fast; let soil dry out to stop fungus gnats.
  • Clean drains with a brush and hot water, not just a pour of cleaner.
  • Stop them coming back by storing fruit in the fridge, watering plants less, and fixing leaks.

First, Work Out Which Gnats You Have

Not all gnats are the same, and the fix depends on the type. Fruit flies are small, tan, and slow, and they hover around fruit, vegetables, and bins. Fungus gnats are thin, dark, and weak fliers, and they hover around houseplants and damp soil. Drain flies are small, fuzzy, and moth-like, and they hang around sinks, baths, and showers. If you are not sure which one you have, look at where they gather: the fruit bowl means fruit flies, the plant pots mean fungus gnats, the sink means drain flies.

Getting this right matters, because the wrong fix wastes a week. A vinegar trap will not help with fungus gnats, and drying out your plants will not help with fruit flies. Spend two minutes watching where they cluster before you do anything else. If you are dealing with a wider pest problem in the house, our how to remove candle wax guide is a different kind of cleaning job, but it makes the same point: find the source first, then clean.

Fruit Flies: The Vinegar Trap That Actually Works

For fruit flies, the classic apple cider vinegar trap is the fastest fix. Pour a little apple cider vinegar into a small jar, add a drop of washing-up liquid (it breaks the surface tension so the flies sink), cover the jar with cling film, and poke a few small holes in the top. The flies are drawn to the vinegar, crawl in through the holes, and cannot get out. Put the trap next to the fruit bowl or the bin, and you will catch most of the adults within a day.

But the trap is only half the job. While it catches the adults, you need to remove the breeding sites: throw away overripe fruit, empty the bin, wipe down the worktops, and clean the recycling. Check under the sink and behind the fridge for anything forgotten — a single rotting potato can breed hundreds of fruit flies. Store fruit in the fridge until the problem is gone, and keep the bin lid closed. If your kitchen needs a deeper clean once the flies are gone, our how to clean a grill post covers a thorough clean for another part of the house, and the same “clean it properly, not just quickly” idea applies here.

How long until they are gone?

Fruit flies live for about two weeks, and their eggs hatch in a day or two. If you remove the food source and keep a trap out, you should see a big drop within two or three days and no flies at all within a week. If they are still there after a week, you have missed a breeding spot — check the bin, the recycling, and any fruit stored outside the fridge.

Fungus Gnats: Let the Soil Dry Out

Fungus gnats breed in damp potting soil, and the fix is simple: let the soil dry. Wait until the top few centimetres of soil are dry before you water again, and water from the bottom where you can, so the surface stays dry. The larvae live in the top layer of soil, and they cannot survive in dry soil. Most infestations clear up within two weeks of drier watering.

For faster results, put a layer of sand or fine gravel on top of the soil — it dries fast and the gnats cannot lay eggs through it. Yellow sticky traps, stuck into the pot, catch the flying adults and stop them laying more eggs. You can also try a thin layer of cinnamon on the soil surface, which has mild antifungal properties and discourages the gnats. Do not use chemical sprays on houseplants unless you have to; the dry-soil method works, it just takes patience. If your plants need other care too, our how to clean a dryer vent guide is a different household job, but it follows the same rule: regular, small maintenance beats a big emergency fix.

Drain Flies: Clean the Drain, Not Just the Sink

Drain flies breed in the slimy film inside drains, and pouring cleaner down the sink will not fix it, because the cleaner runs straight past the film. You need to scrub it off. Use a long, stiff brush — a bottle brush or a drain brush — and scrub the inside of the drain as far down as you can reach. Then flush it with very hot water, and repeat the next day.

After scrubbing, pour a kettle of boiling water down the drain, followed by a cup of baking soda and a cup of vinegar. Let it fizz for half an hour, then flush with more hot water. Do this for a few days in a row. The flies should disappear within a week. If they do not, the breeding site may be further down the pipe, or in an overflow channel — the small hole near the top of a bathroom sink, which also collects slime and needs a scrub. For general drain care, our how to remove stickers from glass post is a different cleaning job, but it shows the same careful approach works better than a quick spray.

Make it yours: Keep a small jar trap on the kitchen counter all summer, even when you have no flies. It catches the first few before they can breed, and it costs almost nothing to maintain — just refresh the vinegar once a week.

Stopping Gnats From Coming Back

Once the gnats are gone, the goal is to keep them gone. Store fruit in the fridge during the warm months, or in a sealed container on the counter. Empty the kitchen bin every day, and rinse the recycling before you put it in the bin. Wipe down worktops after cooking, and do not leave dirty dishes in the sink overnight.

For plants, water less often and make sure pots have drainage holes — standing water in a saucer is a perfect breeding spot. For drains, run hot water down each sink once a week and scrub the drain monthly. And fix any leaks promptly: a slow drip under the sink creates the damp conditions gnats love. A few small habits are all it takes, and they are much easier than dealing with another infestation.

Frequently Asked Questions

What kills gnats instantly?

A vinegar trap catches fruit flies within hours, but nothing kills the eggs instantly. The only lasting fix is removing the breeding source — the food, the damp soil, or the drain film — and then trapping the adults.

Why do I have gnats if my house is clean?

Gnats do not need a dirty house. A single piece of overripe fruit, a damp plant pot, or a slow leak under the sink is enough. They are drawn to moisture and food, not to mess.

Are gnats dangerous?

No. Gnats do not bite people and they do not spread disease in the home. They are annoying, not dangerous — but fungus gnats can damage seedlings and young plants if the infestation is large.

How long does it take to get rid of gnats?

Usually a few days to a week once the breeding source is removed. Fruit flies clear up fastest; fungus gnats take up to two weeks because the larvae are in the soil. If they persist beyond two weeks, you have missed a breeding spot.

Leave a Comment