Worm Farm Full of Fruit Flies? 5 Fixes That Work

Fruit flies take over a worm farm when fresh fruit scraps sit exposed on the surface, so the fix is to bury food under bedding, cover the top and ease off the fruit. Most outbreaks clear up within a couple of weeks once you do that.

It happens to nearly every worm farmer, especially in an Australian summer. The flies are annoying rather than dangerous, and your worms are fine. Here is what causes it and five fixes that work.

Quick fix

  1. Bury every new feed under at least a few centimetres of bedding.
  2. Cover the surface with damp newspaper or hessian.
  3. Stop adding fruit for a week or two.
  4. Sprinkle a little lime, dolomite or wood ash if the farm smells sour.
  5. Set a vinegar trap beside the farm to catch the adult flies.

Why fruit flies take over your worm farm

Fruit flies are drawn to fermenting, sugary food. A worm farm gives them everything they want: soft fruit scraps, warmth and moisture. Three things usually set off an outbreak.

  • Exposed scraps. Fruit left on top of the bedding ferments, and the flies lay eggs in it. Fruit flies breed fast, so a few flies become hundreds quickly.
  • Too much acid. Fruit, grains and sugary foods turn acidic as they break down. Vinegar flies (another name for fruit flies) tend to show up when the farm has become too acidic.
  • Too much moisture or too little drainage. A soggy farm goes sour and smelly, which attracts more pests.

Overfeeding makes all three worse. If worms can’t eat scraps as fast as you add them, the leftovers rot on the surface.

5 fixes that work, step by step

Work through these in order. Most farms recover after the first two.

1. Bury every feed

Pull back the top layer of bedding, tuck the scraps in, and cover them completely. Exposed food is the main invitation to flies. Chop scraps small so the worms break them down faster, and add only what they can finish in a few days.

2. Cover the surface

Lay a layer of damp newspaper, a hessian sack or a piece of old cotton over the bedding, under the lid. It keeps flies away from the food, holds moisture in and keeps the worms in the dark, which they prefer. Re-wet it when it dries out.

3. Balance the acidity

If the farm smells sour, or you have been feeding a lot of fruit, sprinkle a light dusting of garden lime, dolomite or wood ash over the surface. A small sprinkle every week or two is plenty. Make sure the farm drains well so liquid doesn’t pool at the bottom.

4. Set a vinegar trap

This catches adult flies while you fix the cause.

  1. Pour a little apple cider vinegar into a shallow bowl or jar.
  2. Add a few drops of dishwashing liquid so the flies sink instead of landing and leaving.
  3. Place it next to the farm, not inside it, and replace it every few days.

5. Pause the fruit

For a stubborn outbreak, stop adding fresh scraps for a week or two. Put cardboard or shredded paper on top instead, and the worms will work through what is already in the farm. This breaks the flies’ breeding cycle. When you start feeding again, freeze scraps overnight first, which helps kill any eggs, and go back to small, buried feeds.

Summer heat: shade and placement

Fruit flies thrive in warm weather, and so do the problems that attract them. Full sun on a hot day can also harm your worms, so placement matters as much as feeding.

  • Keep the farm in a shaded, sheltered spot such as under a verandah, beside the house or in a garage.
  • On a balcony, choose the coolest corner and avoid west-facing walls that bake in the afternoon.
  • Keep the lid on and the farm covered with damp hessian or newspaper.
  • Check moisture more often in a heatwave. The bedding should feel like a wrung-out sponge, not dry and not dripping.
  • After a stretch of heavy rain, make sure water can drain out and isn’t pooling inside.

Fruit flies, ordinary flies or something else?

The pest tells you what is wrong, so identify it before you fix it.

PestWhat it looks likeWhat it usually meansMain fix
Fruit flies (vinegar flies)Tiny flies that hover around the lid and rise when you open itExposed fruit scraps, or a farm that has turned acidicBury food, cover the surface, add lime, dolomite or wood ash
Ordinary fliesLarger fliesThe farm is too wetAdd dry bedding, improve drainage, keep it covered
AntsLines of ants along the edges or legsThe farm is too dryMoisten the bedding, stand the legs in bowls of water
Mites and beetlesTiny crawlers in the beddingOften too dry or too acidicBalance moisture, add lime or dolomite, cover the surface
CockroachesLarger crawlers, usually at nightEasy access to food and shelterKeep the farm covered with hessian and raise the legs in water

If you can’t tell which one you have, check the moisture first. Too wet and too dry cause most of these problems.

A simple routine to prevent fruit flies

A few habits keep flies away for good.

  1. Bury, don’t dump. Every feed goes under the bedding.
  2. Feed small and often. Add only what the worms can finish in a few days.
  3. Keep it covered. Leave a damp hessian or newspaper layer under the lid.
  4. Go easy on fruit. Mix it with vegetable scraps and avoid very ripe or mouldy fruit.
  5. Freeze scraps first if flies keep coming back, then thaw before feeding.
  6. Check moisture weekly. Aim for damp, not soggy.
  7. Stay shaded. Keep the farm out of the sun, especially in summer.

If you also want to know what to avoid feeding, see our guide to what not to put in a worm farm.

FAQ

Are fruit flies harmful to my worms? Not usually. They are a nuisance and a sign the surface food is exposed, but they don’t normally hurt the worms. Fix the cause and the flies go.

How long does it take to get rid of them? Often a week or two once you bury the food, cover the surface and pause the fruit.

Can I use fly spray? No. Keep sprays and chemicals away from the farm, because they can harm the worms. Use a vinegar trap and the fixes above instead.

Does the vinegar trap fix the problem? It catches adult flies, but it doesn’t remove the cause. Use it alongside burying food and covering the surface.

Do I need to stop feeding fruit completely? No. Pause it during an outbreak, then feed it in small, buried amounts mixed with vegetable scraps. Citrus needs extra care, so see our guide on whether you can put citrus in a worm farm.

Can I keep a worm farm indoors without flies? Yes. Keep it covered, feed small amounts and bury every feed. See our guide to the best indoor worm composters in Australia.

Related reading

Sources


Discover more from Sustainable Aussie Backyard

Subscribe to get the latest posts sent to your email.

1 thought on “Worm Farm Full of Fruit Flies? 5 Fixes That Work”

Leave a comment