Moutta Farm
Practical guideVermicomposting

Wormery pests: how to recognise them and get rid of them

Willy the compost worm, dressed as a detective, swats fruit flies around his WORMbox wormery; on the floor, a dish of cider vinegar and washing-up liquid traps them

Unlike the little creatures we describe in our guide The other inhabitants of the wormery, some organisms really do call for action on your part. The good news: most of them share the same cause — too much acidity or moisture — and can therefore be dealt with using the same simple steps.

Fruit flies, the most common pest

Top tray of a WORMbox wormery covered with pieces of cardboard and crushed eggshells to keep fruit flies awayThis is by far the most common problem in vermicomposting. The first thing to understand is that fruit flies don't appear because you have a wormery. They are already buzzing around your fruit bowls or houseplants — they only decide to move into your wormery if it becomes welcoming to them (an environment that is too acidic or too wet). Maintaining the right balance between acidity and moisture is therefore still the best prevention.

As soon as a dozen or so fruit flies start coming out of the wormery, take action rather than waiting for things to get worse:

  • Pause: in the active tray, add 2 to 3 tablespoons of RegulaWorm or crushed eggshells, then cover the whole surface with a good layer of cardboard torn into small pieces, 2 to 3 cm thick — this forms a genuine barrier against fruit flies. Leave this tray alone for 2 to 3 weeks;
  • Homemade trap: pour some cider vinegar and a drop of washing-up liquid into a small dish. The fruit flies are attracted by the vinegar, then trapped by the stickiness of the washing-up liquid;
  • Preventive repellent: wipe a little black soap over the outside walls of the wormery so that they stop hovering around it.
Willy's tip

If your wormery is outdoors or the summer weather allows, leave the lid open for 2 to 3 days, even overnight, to let as many adult fruit flies as possible escape, then apply the cardboard barrier to stop them coming back.

Fungus gnats (sciarids), those tiny black flies

Willy the compost worm, holding his swatter with the tip of his tail, chases the small black fungus gnats (sciarids) flying around a fuchsia WORMbox wormeryThese are the same little black flies that hover around overwatered houseplants. Sciarids, or fungus gnats, are often confused with fruit flies, but they are not the same insects and they are not dealt with in quite the same way:

  • The fruit fly (drosophila): yellowish-brown body and red eyes, it flies around sugary waste and is easily caught in a vinegar trap;
  • The fungus gnat (sciarid): black and slender, 2 to 4 mm long, with long legs and long antennae, like a tiny mosquito. It is a poor flier, moving in short hops, often runs across the surface of the compost, and is barely attracted by vinegar.

Its larvae, small white, almost transparent worms with a shiny black head, measure just a few millimetres. They live in the top centimetre of damp bedding and feed on fungi and decomposing matter. They don't attack your worms, but a colony can quickly invade the room and move into your flower pots. Above all, their presence tells you one thing: the surface of your wormery is too wet.

  • Dry out the surface: this is the same barrier as for fruit flies above, a dry layer of 2 to 3 cm of shredded cardboard (or coconut fibre) on the active tray. Also cut back on very watery waste for a few days and empty the liquid collection tray: the larvae cannot survive a dry layer, and the adults can no longer lay their eggs there;
  • Yellow sticky traps, instead of the vinegar trap: placed in the top tray, they catch the adults, which are attracted by the colour yellow. They also act as an indicator: when they stay clean, the problem is solved;
  • Nearby plants: check your houseplants too and let the surface of their compost dry out between waterings, otherwise the gnats will come back from there.
Did you know?

If the infestation persists, Steinernema feltiae nematodes, sold in garden centres to control fungus gnats, can be watered onto the active tray: they parasitise the larvae and are harmless to your compost worms.

Soldier fly larvae, more conspicuous cousins

Greyish soldier fly larvae on kitchen waste in a wormery, next to thinner compost worms

Under the same conditions as fruit flies — exposed fresh waste, an environment that is too acidic or too wet — you may also see soldier fly larvae appear: larger (up to 2 cm), greyish and much more visible than fruit fly maggots. Rest assured, they don't attack your worms, but they can compete with them by quickly devouring large amounts of waste. As they are a good size, they are easy to remove by hand; then follow the same steps as for fruit flies (cardboard, a break from feeding) to stop them coming back.

Ants, the opposite signal: too dry rather than too wet

Ants climbing up one leg of a wormery, with the other legs standing in dishes of water that block them

This is the opposite of all the previous visitors: ants in your wormery, usually one kept outdoors, generally indicate an environment that has become too dry rather than too wet, as ants are attracted by sweet food and are looking for moisture. The solution is purely physical and requires no products: place a small container of water under each leg of your wormery, or coat the legs with petroleum jelly — the ants will no longer be able to get in. Indoors, the problem is rare.

Small red or black spiders, not to be confused with ordinary mites

Red and black mites covering food scraps in a wormery

You may call them spiders, but they are actually mites, red or black depending on the species — nothing to do with the harmless mites in our guide to useful little creatures. These ones can literally cover the food when the environment is too wet or too acidic, to the point that your worms refuse to eat. If you see an unusual concentration of them, remove the infested food and leave the lid open for a few days to dry out the bedding: this is usually enough to make them disappear.

Rarer predators: centipedes and flatworms

Predatory flatworm, a striped brown flat worm, approaching a compost worm

Centipede on the compost in a wormery, next to compost wormsTwo occasional visitors do attack your worms directly — but they remain rare in a well-kept wormery. The centipede, flat with one pair of legs per segment (not to be confused with the harmless millipede, see our guide to useful little creatures), is a predator that you simply need to remove by hand if you come across one. Predatory flatworms, flat worms that digest their prey through their skin, are even rarer: if you spot one, it is best to remove it by hand as soon as possible rather than waiting for it to multiply.

Snails, slugs and small rodents, for their part, rarely find their way into a wormery started with shredded paper or cardboard bedding — they are far more attracted to a traditional outdoor compost heap. If you do come across them nonetheless, simply removing them by hand is enough; for rodents in particular, the best preventive habit is never to put meat or bones in your wormery (see our guide What earthworms eat), which is the basic rule anyway.

In summary

The vast majority of wormery pests can be dealt with using two opposite but complementary approaches: rebalance the acidity and dry out the environment with cardboard when there is too much moisture (fruit flies, fungus gnats, soldier fly larvae, red mites), or, conversely, restrict access with a physical barrier when the problem comes from an environment that is too dry (ants). Keep an eye on your wormery, act at the first signs, and these unwelcome visitors will remain the exception rather than the rule.

https://www.mouttafarm.co.uk/guide/wormery-pests
Find this page and the whole guide online

Scan the code or visit mouttafarm.co.uk/guide: all our practical guides, with links to the products mentioned.

Accepted payment methods

Let's bring the soil to life

To date, our customers have recycled 102842,220 tonnes of organic waste using our products since 2007. Learn more ›

Follow us on social media:

Moutta Farm
Site developed by us with ❤️
All rights reserved 2007-2026.