This post contains affiliate links. As an Amazon Associate I earn from qualifying purchases. If you click a link and make a purchase, I may receive a small commission at no extra cost to you.
To get rid of mushroom flies, you need to target both the adult flies and their larvae hiding in the soil.
These tiny pests, often called fungus gnats, thrive in moist, organic-rich potting mix, which is why they’re so common in houseplants and greenhouses.
If you’ve been battling these little black bugs buzzing around your plants, know that getting rid of mushroom flies is totally doable with a few consistent strategies.
In this post, we’ll break down exactly how to get rid of mushroom flies, from simple drying techniques to natural traps and long-term prevention.
Let’s dig into the dirt and clear up that infestation for good.
Why Getting Rid of Mushroom Flies Starts With the Soil
Getting rid of mushroom flies begins with understanding why they’re there in the first place.
Mushroom flies are drawn to damp soil because that’s where they lay their eggs.
The larvae then feed on decaying organic matter, fungi, and plant roots, which is why your potted plants become a buffet.
So if you want to get rid of mushroom flies, you have to make their favorite breeding ground less inviting.
Here are the most effective ways to get rid of mushroom flies by attacking their lifecycle.
1. Let the Soil Dry Out Completely
The simplest way to get rid of mushroom flies is to stop watering your plants until the top two inches of soil are bone dry.
Mushroom flies can’t survive in dry conditions, and their eggs will die if the soil doesn’t stay moist.
This is especially effective for succulent and cactus mixes that naturally require less water.
Just be careful with moisture-loving plants like ferns, and instead use the other methods below.
2. Bottom Water Your Plants
Another clever way to get rid of mushroom flies is to switch to bottom watering.
Place your plant pot in a saucer of water and let it soak up moisture through the drainage holes.
This keeps the top layer of soil dry, making it nearly impossible for mushroom flies to lay eggs there.
You’ll still hydrate your plant, but you’ll cut off the adult flies’ access to the moist surface they love.
Bottom watering is a game-changer if you’re serious about getting rid of mushroom flies for good.
3. Use a Layer of Sand or Gravel
You can also get rid of mushroom flies by placing a physical barrier on top of the soil.
Add a half-inch layer of coarse sand, perlite, or fine gravel over the potting mix.
This blocks adult mushroom flies from reaching the damp soil to lay eggs, and any larvae already inside can’t easily crawl out.
The barrier dries out quickly, which further discourages the flies.
This method works wonders as a long-term fix after you’ve already started to get rid of mushroom flies with traps.
How to Get Rid of Mushroom Flies With Traps and Natural Remedies
If drying out the soil isn’t enough, you can get rid of mushroom flies using traps that catch adults and kill larvae.
These methods are safe for your plants, pets, and family, so you can use them with confidence.
1. Yellow Sticky Traps for Adults
Yellow sticky traps are your best friend in the fight to get rid of mushroom flies.
Mushroom flies are strongly attracted to the color yellow, so they’ll land on the sticky surface and get stuck.
Place these traps near the base of your plants or poke them directly into the soil.
While sticky traps won’t kill the larvae, they’ll quickly reduce the adult population, which stops the cycle of new eggs.
You’ll notice a huge drop in mushroom flies within a week of using these traps.
2. Apple Cider Vinegar Traps
A DIY apple cider vinegar trap is a fantastic way to get rid of mushroom flies that are buzzing around.
Fill a small bowl or jar with apple cider vinegar and add a drop of dish soap.
The vinegar attracts the flies, and the soap breaks the surface tension so they drown.
Cover the jar with plastic wrap and poke small holes in it, since this lets the flies in but makes it hard for them to escape.
Set these traps near your infested plants, and you’ll be well on your way to getting rid of mushroom flies.
3. Mosquito Dunks or BTI
For a truly effective solution to get rid of mushroom flies at the larval stage, use Mosquito Dunks.
These contain a natural bacterium called Bacillus thuringiensis israelensis, or BTI, which specifically kills fungus gnat larvae.
Soak a quarter of a dunk in water and use that water for your next plant watering session.
BTI is harmless to humans, pets, and your plants, but it wipes out the larvae before they can become adult mushroom flies.
This is one of the most reliable methods to get rid of mushroom flies permanently.
Preventing Mushroom Flies From Coming Back
Once you’ve worked hard to get rid of mushroom flies, the last thing you want is a return visit.
You can get rid of mushroom flies for the long term by adjusting how you care for your plants.
Here’s what you need to do to keep them away.
1. Avoid Overwatering
Overwatering is the number one reason mushroom flies keep coming back.
Get rid of mushroom flies by making sure you only water when the top layer of soil feels dry to the touch.
When you do water, water thoroughly but allow the excess to drain completely.
Never leave your plants sitting in a pool of water, since that creates the perfect humid environment for mushroom flies.
2. Remove Decaying Plant Matter
Mushroom flies love dead leaves, fallen petals, and faded flowers because they feed on the decay.
To get rid of mushroom flies and keep them away, regularly clear away any debris from the top of the soil.
Also, check for any yellowing leaves on your plant and snip them off as soon as they appear.
Less decay in the pot means less food for larvae, which disrupts the entire mushroom fly lifecycle.
3. Quarantine New Plants
A sneaky way mushroom flies enter your home is through new plants from the store.
If you want to get rid of mushroom flies before they spread, quarantine any new plant for two weeks.
Keep the new plant in a separate room and inspect the soil daily for tiny flying bugs.
If you spot any mushroom flies, treat the plant with the methods above before bringing it near your collection.
This simple habit is one of the smartest ways to get rid of mushroom flies before they even start.
So, How Do You Get Rid of Mushroom Flies for Good?
You get rid of mushroom flies by combining soil drying, sticky traps, and BTI treatments.
There’s no single magic bullet, but a consistent approach will eliminate them quickly.
Remember, mushroom flies breed fast, so act as soon as you spot them.
The sooner you start, the easier it is to get rid of mushroom flies before they take over your indoor garden.
With a little patience and these proven strategies, you’ll finally get rid of mushroom flies and enjoy healthy, buzz-free plants again.