Get Rid of Flies in Your Plants Naturally: Proven Methods

Key Takeaways

  • Fungus gnats and fruit flies are the most common flies found in houseplant soil, and both thrive in moist, organic-rich conditions.
  • Allowing the top inch of soil to dry between waterings is the single most effective way to break the fly breeding cycle naturally.
  • Apple cider vinegar traps, sticky traps, and hydrogen peroxide soil drenches eliminate flies without harming your plants.
  • Adding a layer of sand, pebbles, or diatomaceous earth to the soil surface creates a physical barrier against egg-laying adults.
  • Preventing overwatering and using well-draining soil mixes stops fly infestations before they start.

If you’ve noticed tiny flies buzzing around your potted plants, you’re not alone — and you need to know how to get rid of flies in your plants naturally before the problem spirals out of control. These small, persistent pests are usually fungus gnats or fruit flies, and they love the warm, moist environment that houseplant soil provides. Left unchecked, their larvae feed on organic matter and delicate root systems, weakening your plants over time. Understanding how house flies and related species behave is the first step to reclaiming your indoor garden. In this guide, you’ll discover exactly why flies target your plants, which natural remedies work best, and how to prevent them from coming back — all without reaching for harsh chemical sprays.

Why Do Flies Infest Your Houseplants?

Before you can eliminate flies in your plants naturally, you need to understand what draws them in. Flies don’t choose your houseplants at random. They’re responding to specific conditions that make your pots an ideal breeding ground.

The primary culprit is moisture. Overwatered soil creates the damp, organic-rich environment that fungus gnats need to lay their eggs. A single female fungus gnat can lay up to 200 eggs in the top layer of moist potting mix. Those eggs hatch within days, and the larvae begin feeding on fungi, algae, and fine root hairs in the soil.

Fruit flies, on the other hand, are attracted to decaying organic matter. If you use compost-based potting mixes or leave fallen leaves sitting on the soil surface, you’re essentially setting a welcome mat for these pests. Poor drainage, stagnant water in saucers, and humid indoor conditions only make the problem worse.

Understanding what attracts flies and how to prevent them gives you a critical advantage. Once you remove the conditions they need, the infestation collapses.

Fungus Gnats vs. Fruit Flies: Which Ones Do You Have?

Knowing which fly you’re dealing with helps you choose the right treatment. These two species look similar but behave differently.

FeatureFungus GnatsFruit Flies
Size1/16 to 1/8 inch1/8 inch
ColorDark gray or blackTan or brownish
Eye ColorNot prominentBright red
Where FoundHovering near soil surfaceNear fruit, drains, or soil
Breeding SiteMoist potting soilDecaying organic matter

If the tiny flies hover close to the soil and scatter when you water, you likely have fungus gnats. If they’re circling your kitchen fruit bowl as well as your plants, fruit flies or even drain flies may be the real issue. In many homes, both species are present at the same time.

How to Get Rid of Flies in Plants Naturally with Traps

Traps are one of the fastest ways to reduce the adult fly population around your houseplants. They won’t eliminate larvae in the soil, but they stop adults from laying more eggs — which breaks the reproduction cycle.

Apple Cider Vinegar Trap

This is the most popular DIY fly trap for houseplant owners, and it works especially well on fruit flies. Fill a small jar or cup with apple cider vinegar and add two to three drops of dish soap. The vinegar’s fermented scent attracts the flies, while the soap breaks the surface tension so they sink and drown.

Place one trap near each infested plant. Replace the solution every two to three days for best results. You should see a noticeable drop in flying adults within the first week.

Yellow Sticky Traps

Fungus gnats are strongly attracted to the color yellow. Sticky traps — small yellow cards coated in non-toxic adhesive — are incredibly effective at catching adults before they can lay eggs. Insert the stakes directly into the soil near the base of the plant.

Check the traps every few days. If they’re covered in gnats within 48 hours, you have a significant infestation and should combine trapping with a soil treatment method.

Red Wine Trap

Similar to the vinegar method, a small dish of leftover red wine with a drop of dish soap attracts fruit flies effectively. The fermentation compounds in wine mimic the decaying organic matter these flies seek out. This works best as a supplemental trap alongside sticky traps near your plants.

Natural Soil Treatments to Kill Fly Larvae

Traps handle the adults, but the real battle is underground. Fly larvae live in the top two inches of soil, feeding and growing before emerging as adults. If you only target the flying adults, new waves will keep hatching every few days. These soil treatments attack the problem at its source.

Hydrogen Peroxide Soil Drench

Mix one part 3% hydrogen peroxide with four parts water. Pour this solution directly into the soil as you would during a regular watering. The hydrogen peroxide fizzes on contact with organic matter and larvae, killing them without harming plant roots.

Repeat this treatment once a week for two to three weeks. This covers the full lifecycle of fungus gnats, ensuring newly hatched larvae are eliminated before they mature.

Neem Oil Soil Soak

Neem oil is a natural insecticide derived from the neem tree. Mix two tablespoons of cold-pressed neem oil with one gallon of water and a few drops of liquid soap as an emulsifier. Water your plants with this solution every seven to ten days.

Neem oil disrupts the larval growth cycle. It prevents larvae from developing into adults and deters females from laying eggs in treated soil. As a bonus, neem oil also helps prevent other soil-borne pests and fungal issues.

Beneficial Nematodes

For severe infestations, beneficial nematodes are a powerful biological control. These microscopic roundworms seek out and parasitize fungus gnat larvae in the soil. You can purchase them at garden centers and apply them by mixing with water and watering your plants as usual.

Nematodes work best in consistently moist soil at temperatures between 60°F and 80°F. They’re completely safe for plants, pets, and people. Results are typically visible within one to two weeks.

Physical Barriers That Prevent Flies in Your Plants

One of the simplest and most underrated strategies is creating a physical barrier on the soil surface. Adult fungus gnats need access to moist soil to lay their eggs. If they can’t reach it, the cycle ends.

Sand or Gravel Topping

Add a half-inch to one-inch layer of coarse sand or decorative pebbles to the top of each pot. Sand drains quickly and dries out fast, creating conditions that fungus gnats avoid. The adults can’t burrow through it to reach the moist soil below.

This method also helps regulate surface moisture, which reduces the fungal growth that gnats feed on. It’s a low-cost, set-it-and-forget-it solution.

Diatomaceous Earth (Food Grade)

Sprinkle a thin layer of food-grade diatomaceous earth on the soil surface. This natural powder is made from fossilized algae and works by damaging the exoskeletons of soft-bodied insects, including gnat larvae and adults. It’s non-toxic to plants and animals.

The one drawback is that diatomaceous earth loses effectiveness when wet. Reapply it after each watering and allow the surface to dry before adding a fresh layer. For best results, combine this with bottom-watering to keep the top layer of soil consistently dry.

Watering Habits That Eliminate Flies in Your Plants Naturally

Adjusting how you water is the most impactful long-term strategy to get rid of flies in your plants naturally. Overwatering is the number one cause of fungus gnat infestations in indoor plants, and it’s also the easiest factor to control.

Let the Soil Dry Between Waterings

Allow the top one to two inches of soil to dry out completely before watering again. Stick your finger into the soil up to the first knuckle. If it feels damp, wait another day or two. Fungus gnat eggs and young larvae cannot survive in dry soil, so this simple change starves them out.

Most common houseplants — pothos, snake plants, philodendrons, and succulents — actually prefer drying out between waterings. You’ll likely see healthier root systems along with fewer pests.

Switch to Bottom Watering

Bottom watering involves placing your pot in a tray of water and letting the soil absorb moisture from the drainage holes. The top layer of soil stays dry while the roots still get the hydration they need.

This method is especially effective when combined with a sand or gravel topping. The top soil stays consistently dry, making it inhospitable to egg-laying gnats. Remove the pot from the water tray after 20 to 30 minutes to avoid waterlogging.

How to Prevent Flies from Returning to Your Plants

Eliminating an active infestation is only half the job. Prevention keeps your plants fly-free for the long haul. Here are the habits that make the biggest difference:

  • Inspect new plants before bringing them inside. Quarantine new purchases for one to two weeks and check the soil for larvae or adult gnats.
  • Use well-draining potting mix. Perlite, pumice, or orchid bark mixed into standard potting soil improves drainage and reduces moisture retention.
  • Empty saucers promptly. Standing water beneath pots creates a humid microenvironment that attracts multiple types of flies.
  • Remove dead leaves and debris. Decaying organic matter on the soil surface is a food source and breeding site for both fungus gnats and fruit flies.
  • Store potting soil in sealed containers. Open bags of potting mix sitting in garages or sheds are common sources of gnat introductions.

Keeping your home clear of other fly-attracting conditions also helps. Homeowners in Florida often deal with multiple fly species simultaneously. If you’re also noticing flies in your yard, learning how to get rid of black flies in your yard can address the outdoor source feeding your indoor problem.

Similarly, flies buzzing near your kitchen sink may not be related to your plants at all. Drain flies near kitchen sinks are a separate issue that requires cleaning organic buildup from your pipes. Correctly identifying the fly species saves you time and effort.

When Natural Remedies Aren't Enough

Most fly infestations in houseplants respond well to the natural methods described above, especially when you combine two or three strategies together. However, a severe or recurring infestation sometimes signals a deeper issue — root rot, contaminated soil, or an outdoor source constantly reintroducing flies into your home.

If you’ve tried drying out the soil, used traps, applied hydrogen peroxide drenches, and still see swarms of gnats after three to four weeks, it may be time to repot the plant entirely. Remove all old soil from the root ball, trim any soft or rotting roots, and replant in fresh, sterile potting mix with improved drainage.

Persistent fly problems — especially when multiple species like green flies in the house or other nuisance insects appear alongside plant gnats — can indicate conditions that benefit from a professional assessment. A pest control specialist can identify the exact species, locate breeding sites you may have missed, and recommend targeted solutions that protect your plants and your home.

Frequently Asked Questions

  • What causes tiny flies in houseplant soil?

    Tiny flies in houseplant soil are almost always fungus gnats. They're attracted to the moisture and organic matter in potting mix, where females lay hundreds of eggs. Overwatering is the primary cause, as damp soil creates ideal conditions for larvae to feed and develop into adults.

  • Will letting soil dry out kill fungus gnats?

    Yes, allowing the top one to two inches of soil to dry completely between waterings kills fungus gnat eggs and larvae that depend on moisture to survive. This is one of the most effective natural controls available. Combine it with sticky traps to catch remaining adults, and the infestation typically clears within two to three weeks.

  • Is hydrogen peroxide safe for plants when used to kill gnats?

    A solution of one part 3% hydrogen peroxide to four parts water is safe for nearly all houseplants. It kills gnat larvae on contact through oxidation while also aerating the soil. Avoid using higher concentrations, as they can damage delicate roots.

  • How long does it take to get rid of flies in plants naturally?

    With consistent effort, most natural methods eliminate a fungus gnat infestation within two to four weeks. This timeline accounts for the full life cycle of the gnats, ensuring newly hatched larvae are dealt with before they mature. Combining traps, soil drenches, and watering changes speeds up the process significantly.

  • Can flies in my plants spread to other areas of my home?

    Fungus gnats are weak fliers and tend to stay near their soil-based breeding sites. However, fruit flies attracted to houseplant conditions can easily migrate to kitchens, trash cans, and drains. Addressing the plant infestation promptly helps prevent the problem from spreading to other areas of your home.

  • Do coffee grounds repel flies from houseplants?

    Used coffee grounds are sometimes recommended as a gnat deterrent, but evidence is mixed. While they may slightly deter adult gnats on the soil surface, wet coffee grounds can actually increase fungal growth and attract more gnats. Dry sand or diatomaceous earth are more reliable physical barriers for your plant soil.

Call Now Button