How to Get Rid of Gnats in the House Quickly

This post may contain affiliate links, which means I may earn a small commission if you make a purchase through these links — at no extra cost to you. Thank you for supporting the content I create here on the blog! You can read my full Disclosure Policy for more details.
If you’ve suddenly found tiny flying insects buzzing around your kitchen, bathroom, or houseplants, you’re probably wondering how to get rid of gnats in the house quickly. Gnats may be small, but they reproduce fast and can turn into a full-blown infestation seemingly overnight. Whether you’re dealing with fruit flies, fungus gnats, or drain gnats, these pests are annoying, unhygienic, and persistent.
In this guide, we’ll break down exactly how to kill gnats fast, where they come from, and how to prevent them from returning. Using simple DIY traps, natural remedies, and household fixes, you’ll learn proven methods that work.
What Are Gnats and Why Are They in Your House?
Gnats are tiny flying insects that often appear in kitchens, bathrooms, and around houseplants. While commonly referred to as “gnats,” the bugs invading your home are usually one of three types:
- Fruit Flies – Attracted to ripe or rotting fruit, garbage, and sugary spills
- Fungus Gnats – Thrive in moist potting soil and overwatered plants
- Drain Flies – Breed in sink drains, garbage disposals, and other damp areas
These pests are more than just a nuisance. They multiply quickly and can be hard to eliminate without fast, targeted action. Gnats are drawn to moisture, organic material, and standing water—so identifying the source is key to stopping them.
If you’ve noticed gnats hovering near your sink, trash can, or indoor plants, it’s time to take action before they spread.
Immediate Steps to Kill Gnats Fast
Once you’ve identified a gnat problem, quick action is key. Here are some of the most effective, easy-to-set-up solutions to kill gnats fast and start clearing your home the same day.
1. Apple Cider Vinegar Trap (Classic & Effective)
What you need:
- A small bowl or jar
- Apple cider vinegar
- A few drops of dish soap
- Plastic wrap and a toothpick (optional)
How to use it:
Fill a bowl with apple cider vinegar and add a couple drops of dish soap. Cover with plastic wrap and poke small holes on top. Gnats are attracted to the vinegar, but the soap breaks the surface tension—causing them to sink and drown.
Works best for: Fruit flies and fungus gnats
2. Dish Soap & Vinegar Spray
DIY spray recipe:
- 1 cup water
- 2 tablespoons apple cider vinegar
- A few drops of dish soap
- Optional: a drop of peppermint or eucalyptus oil
How to use:
Spray directly on gnats resting on walls, windows, or around plants. It’s safe, fast, and natural.
Works best for: Spot treatment and killing visible gnats instantly
3. Sticky Traps
What they are:
Yellow sticky traps (cards or tape) attract gnats due to their color and trap them on contact.
Where to place them:
- In potted plants
- Near sinks or drains
- Along windowsills or trash cans
Works best for: Fungus gnats and general monitoring
4. Bleach or Drain Cleaner for Sink Gnats
If gnats are coming from your drain:
Quick method:
- Pour 1/2 cup bleach down the drain
- Let sit for 15–30 minutes
- Rinse with hot water
Natural option:
- 1/2 cup baking soda + 1/2 cup vinegar
- Let fizz for 10 minutes
- Rinse with boiling water
Works best for: Drain flies
Stop Gnats From Coming Back
Getting rid of gnats fast is only half the battle. To keep them from returning, you’ll need to eliminate the conditions that attract and sustain them. Here’s how to clean up and prevent future infestations:
1. Remove Gnat Attractants Immediately
- Toss overripe fruit: Don’t leave bananas, peaches, or other soft fruit out—store them in the fridge or sealed containers.
- Take out the trash: Especially if it contains food waste or peels. Clean bins with vinegar regularly.
- Rinse recycling: Leftover soda, wine, or juice can attract fruit flies.
- Clean up crumbs and spills: Wipe counters, stovetops, and floors daily.
2. Fix Houseplant Problems
- Stop overwatering: Fungus gnats love moist soil.
- Let soil dry out between waterings: Top inch should be dry to the touch.
- Add a layer of sand or gravel on top of the soil to deter egg-laying.
- Use hydrogen peroxide solution: Mix 1 part 3% hydrogen peroxide with 4 parts water and water your plants with it once a week to kill larvae.
- Neem oil spray: Natural, non-toxic solution that deters many insects.
3. Clean Your Drains
- Use the baking soda + vinegar combo weekly to kill eggs and larvae.
- Run boiling water down your drains to flush out organic buildup.
- Remove and scrub sink stoppers and garbage disposals.
FAQs About Getting Rid of Gnats
What causes gnats to appear in the house?
Gnats are attracted to moisture, organic matter, and food waste. Common sources include overripe fruit, dirty drains, wet potting soil, and uncovered trash bins.
How do I get rid of gnats in my house fast?
Use apple cider vinegar traps, clean drains with baking soda and vinegar, and remove food or moisture sources. For plant-based infestations, let the soil dry and treat with neem oil or hydrogen peroxide.
What is the fastest way to kill gnats indoors?
The fastest method is an apple cider vinegar + dish soap trap. It lures and drowns gnats within hours. You can also use a bug spray or sticky traps for immediate results.
Why do gnats keep coming back after I kill them?
If the breeding source (like damp soil or dirty drains) isn’t removed, gnats will continue to reappear. Killing adults is only part of the solution—you must also eliminate eggs and larvae.
How do I get rid of gnats in houseplants?
Let the topsoil dry between waterings, add a layer of sand to the surface, and treat with neem oil or a diluted hydrogen peroxide solution. Sticky traps can help catch adults.
Can I use bleach to kill drain gnats?
Yes, pouring diluted bleach or using a drain gel cleaner can kill drain gnats. For a natural option, try baking soda and vinegar followed by boiling water.
Are gnats harmful to humans or pets?
Most household gnats are not harmful, but they can spread bacteria and become a hygiene issue if left untreated. Some gnats can irritate pets, especially around ears or eyes.
How long does it take to get rid of a gnat infestation?
With the right methods, small infestations can be eliminated in 24–72 hours. Larger or recurring infestations may take up to a week, depending on the source.