How to Get Rid of Fruit Flies and Gnats Fast

If you see small flies in your kitchen or around your indoor plants, they’re probably fruit flies or gnats.

Fruit flies and gnats are small fly species, with many similarities as well as unique traits. Fruit flies are mostly attracted to vegetables and fruits. Gnats are generally seen near moist soil or your compost pile. Fungus gnats can be found near indoor plants.

These small flies are common during the summer season in homes, restaurants, markets and anywhere that food is allowed to rot and ferment.

Fruit flies can shorten the life of your expensive, organic fruits and vegetables, while gnat infestation can damage both ornamental and edible plants.

An outbreak of fruit flies or gnats can be very annoying to deal with. Many people use toxic insecticides, but they can be harmful to your health. Instead, try some natural remedies to get rid of them.

Here are the top 10 ways to get rid of fruit flies and gnats fast.

1. Apple Cider Vinegar

A popular and effective home remedy to get rid of fruit flies as well as gnats is apple cider vinegar. They are attracted to its smell and quickly get trapped in it.

  1. Pour apple cider vinegar into a Mason jar or similar container. To release more of its smell, you can heat the apple cider vinegar and then use it.
  2. Add a few drops of liquid dish soap and stir it well. It will help kill the flies.
  3. Cover the mouth of the jar with plastic wrap.
  4. Poke the plastic with a fork or toothpick to make holes for the flies to enter the jar.
  5. Place the jar where the gnats or fruit flies are swarming.
  6. When the jar fills up with dead flies, dump the contents, wash and refill it.

If you do not have apple cider vinegar, simply use white vinegar.

2. Red Wine

As fruit flies love the smell of red wine, you can use it to trap them. Red wine will surely get the flies intoxicated!

  1. Mix ½ cup of red wine and 1½ cups of water.
  2. Pour the solution into a small container.
  3. Wrap the top of the container tightly with plastic, then punch a few holes in it.
  4. Put the container where you see the most flies.
  5. The flies or gnats will be drawn to the smell and they’ll drown in the mixture as soon as they make .
  6. When the jar fills up with dead flies, dump the contents and clean the container with warm soapy water.

You can even leave a little bit of red wine in its original bottle and let it sit out.

3. Rotten or Overripe Fruit

Just like apple cider vinegar and red wine traps, you can use rotten or overripe fruit to make a fruit fly trap.

  1. Put several pieces of very ripe or rotting fruit in the bottom of a glass jar.
  2. Cover the mouth of the jar with plastic wrap and poke holes in it with a toothpick or fork.
  3. Place the jar where you see the most flies.
  4. After a few hours, you’ll see the jar is filled with flies. Submerge it in a bucket of warm soapy water for about 10 minutes so that the flies cannot fly back.
  5. Repeat as needed.

4. Lemongrass Essential Oil

You can use the strong-smelling lemongrass essential oil to keep both gnats and fruit flies at bay. This is intended to be used as a preventive measure, since the oil itself will not kill flies that are already present.

  1. Pour 2 cups of hot water in a clean spray bottle.
  2. Add 10 to 15 drops of lemongrass essential oil in it.
  3. Spray this solution around your kitchen counters, near your indoor plants and other places where you have noticed these flies the most.

This homemade spray also works to deter spiders and ants.

5. Lemon-Scented Liquid Dish Soap

A lemon-scented, soapy solution is another good option to keep your indoor plants free from gnats. The gnats will be attracted to the lemony smell and the soap will kill them.

  1. Mix 2 tablespoons of lemon-scented liquid dish soap in 4 cups of water.
  2. Transfer the solution to a spray bottle.
  3. Spray this soapy solution on the infested plant to kill the gnats.
  4. Finally, mist the leaves and stem of the plant with clean water to get rid of the soapy solution.

6. Milk, Sugar and Pepper

Another tried and tested homemade trap for fruits flies can be made with milk, sugar and pepper. The fruit flies will be attracted to the mixture and drown in it.

  1. In a saucepan, combine 2 cups of milk, 4 tablespoons of ground pepper and 8 tablespoons of raw sugar.
  2. Simmer the solution on low heat for 10 minutes.
  3. Pour the mixture into a shallow dish and place it where you see the most flies.
  4. When the dish is full of flies, dump out the contents and wash it.
  5. Repeat as needed.

7. Honey

To save gnat-infested houseplants, you can also use honey. The sweet smell will attract the gnats onto your trap, and its sticky texture will prevent them from escaping.

  1. Attach a toothpick to one side of a bright-colored index card.
  2. Smear the other side of the card with a thin layer of honey.
  3. Put the card into the soil of your infested houseplant.
  4. Throw away the card once it fills up with dead gnats and replace it with a new one.

8. Vegetable Oil

You can use vegetable oil to trap and kill gnats that you see coming from the drain in your kitchen sink.

  1. Pour about ¼ cup of vegetable oil into your drain, and rub some oil around the edge of the drain.
  2. Use tape to close the holes of the drain.
  3. Leave it overnight.
  4. Remove the tape the next morning. You will notice gnats stuck on it.
  5. Repeat for a few more days.

9. Bleach

If you are dealing with gnats around your kitchen or bathroom sink, bleach is a good option to try. However, if the gnats are breeding deep within the drainage system, bleach will not solve your problem.

  1. Remove everything from the sink.
  2. Put a cup of bleach in the sink.
  3. Wear eye and mouth protection and run very hot water.
  4. Allow the bleach to drain.

Note: Do not mix bleach with ammonia, as its toxic vapors can be harmful to your health.

10. Keep Your Kitchen Clean

To prevent fruit flies and gnats from entering your house, keep your kitchen clean.

  • Avoid leaving dirty dishes in the sink, especially at night.
  • Keep any trash cans properly covered.
  • Do not keep bags of trash in the house overnight.
  • Wipe down the lid and surfaces of garbage containers with a disinfectant solution.
  • Keep your kitchen counter and dining area clean. Clean up food spills right away.
  • Do not allow moisture to accumulate on kitchen counters or other surfaces.
  • Keep food containers tightly sealed.
  • Clean newly purchased fruits and vegetables as soon as you get home. Keep them in the refrigerator.
  • Tightly close your bread bags and put cookies into a sealed cookie jar.

Additional Tips

  • Discard stale water standing in your indoor plants or pots.
  • Toss old flowers and greenery from your vases.
  • Keep your kitchen sink’s drain clean to prevent food morsels from accumulating in it.
  • Seal all cracks in doors and windows.
  • If needed, buy a gnat trap to get rid of fruit flies and gnats.
  • If fruit flies and gnats have infested a large area, outside or inside, then fogging is the most practical option.
  • Don’t over-water houseplants, as the moist atmosphere will attract more gnats.
  • As gnats love moist places for breeding, keep damp corners in the kitchen and other areas of the house clean and dry.
  • Put nets, curtains or screens on the windows and doors.


View Comments

  • The gnats will be attracted to the lemony smell and the soap will kill them. Mix 2 tablespoons of lemon-scented liquid dish soap in 4 cups of water. Spray this soapy solution on the infested plant to kill the gnats

    with reference to the above what is meant by dish soap and can you give me a brand name. also i live in a flat and have no garden, the gnats/fruit flies are already in the compost, so how do i destroy them, and keep the others out. i let the compost dry but when water again they seem to reappear.

    if you can assist further i heard that sharp sand on top also may help but as have no garden, where can i buy sharp sand by weight as i only need suitable amounts at a time, and space is short. most sell in 5kg minimum size bags, that does not help me. these size cannot be delivered as i have no garden. thank you , if you are not able to let me know who can and let me have their email address, thank you.

Comments are closed.

Published by
Top10HomeRemedies Team

Recent Posts

Mediterranean Diet 101: Benefits, Drawbacks, Myths and More

The Mediterranean diet emerges from the kind of foods eaten in countries situated along the Mediterranean Sea. These include France,…

2 months ago

Neem Oil for Hair and Skin: 9 Benefits and How to Use It

Neem is often referred to as Indian lilac as it is endemic to the Indian subcontinent, but its medicinal virtues…

3 months ago

Facial Tingling: Causes, Diagnosis, Natural Treatment

A sudden tingling sensation overtaking your hands, feet, or face is a fairly common complaint reported by people in the…

3 months ago

Depression 101 with Dr. Douglas Moll (Clinical Psychologist)

Is It Possible to Have Anxiety and Depression at the Same Time? Yes, it is not only possible but very…

3 months ago

Keto, Paleo, and Mediterranean: Choose the Best Diet for Your Body

While keeping a check on your portion sizes, following any healthy, balanced diet can help you achieve your desired weight,…

3 months ago

Forehead Wrinkles: How to Minimize and Reduce Their Appearance

There is no magic formula to turn back the clock on aging. As the years roll by, the steady onslaught…

4 months ago