Maggot infestation in my worm farm! How can I get rid of them?

by Stephan
(Cape Town and Radevormwald)

Black soldier fly maggots

Black soldier fly maggots

Hi Stephan - I bought some worms from you at the end of last year.

I am having a problem with maggot infestations in the worm farm resulting
in the worms dying and the vege matter turning into a revolting rotting
mess ;-(
I only put vege matter and maybe the odd stale bread slice in the unit
I scrubbed the unit twice since the previous infestation and left it in the
sun for a couple of days to try get rid of any eggs present still no luck
the maggots came back after about 2/3 weeks with the new batch of worms

any ideas on how to get rid of this ?


Hello Ursula,

I am sorry to hear about your problem. Although you didn't send a picture of the maggots in your worm farm I am pretty sure that you are having in infestation of Black soldier fly maggots in your worm farm.

Although they are actually great to recycle kitchen scraps and other organic waste as well they tend to take over a worm farm and the worms usually flee to the lower parts of their worm bin and sooner or later the worms either die or leave the bin and the whole worm farm turns into a smelly sludge.

The black soldier flies are attracted by decomposing fruit and vegetables that are easy accessible.

There are a few precautions you can take to prevent the soldier flies from laying their eggs into your
worm farm.

- Cover the surface of your worm bin with a thick soaked newspaper and a plastic sheet or bag. Make sure the newspaper is covering all the worm food and than cover the newspaper with the plastic bag. The newspaper acts as a natural barrier against flies and solder flies, allows the worms which dislike light to feed right on top of their food layer and the plastic sheet acts as an additional protection against unwanted invaders and keeps the bedding of the worm farm longer moist.

To save your worms and your worm farm once a worm bin is infested with solder fly maggots do the following.

- Remove all the maggots you can see from the worm farm and place them in a bucket or any small container without a lid. It is usually quite easy to spot the maggots as most of them are feeding frantically together on the surface of the worm farm. You can than either add them to a compost heap, feed them to fish or chickens or leave them in the container for some time on a bright sunny day.

When the maggots have died you can feed them to the worms.

We have many worm farms on our premises but hardly ever have problems with the BSF maggots.

I trust this will help. All the best and happy worming

Kind regards

Stephan Kloppert
Author of "How to start a profitable worm business on a shoestring budget"

Editor of

Comments for Maggot infestation in my worm farm! How can I get rid of them?

Average Rating starstarstarstarstar

Click here to add your own comments

Jun 20, 2018
How long can maggots stay in bin without affecting worms
by: Stephan

Hello Genevieve,

thank you for the compliments. It is always be nice to get some good feedback for all the hard work that went into this Website.

To answer your question. The way I understand you your worm bin has been invaded by Black Soldier Fly maggots!?

In that case I would not wait but rather remove all or at least as many of them as you can to avoid the risk of loosing all your worms.

Here are a few more articles of mine that should help you to deal with the problem of maggot infestation in your worm bin.

I hope this will help you.

Let me know if you where successful or need any other advise about your worms?

Kind regards

Stephan Kloppert

Author of "How to start a profitable worm bin on a shoestring budget"

Editor of

Jun 17, 2018
How long can maggots stay in bin without affecting worms
by: Anonymous

This has been extremely helpful as we figure out our own worm bin.

We have some maggots and I was wondering about how long it might take for the maggots to negatively affect the worms eating.

I was reading the paragraph, " [...] and the worms usually flee to the lower parts of their worm bin and sooner or later the worms either die or leave the bin and the whole worm farm turns into a smelly sludge." from Stephan Kloppert.

I know this is probably a hard question to answer without seeing our actual bin, but we are using a Roughneck 18 gallon Rubbermaid Storage Box and have kept in inside our porch until the fruit flies became a nuisance and we moved it outside.

I am thankful for your post as we will be covering our air holes with Mesh and letting the soil dry out some. We might also try out the wet newspaper and plastic suggestion.

Would you suggest IMMEDIATELY excavating the maggots or do you think they can be helpful for a few days to a few weeks in helping compost our food scraps without killing our worms because they are moving to the bottom of the bin and not eating?

Thank you for this website and excellent information,

Mar 05, 2018
Re: Maggots vs. Earthworms
by: Stephan

Hi TK thank you for your interesting comment. Can you please send us a picture of the maggots you found in your composter and maybe a picture that shows how a maggot is actually feeding on an earthworm?

The only maggots that I know of that are actively recycling organic materials are Black soldier fly maggots. However although compost worms don't like to be close to them I have never seen a worm being eaten by the maggots. I do agree that BSF maggots are recycling organic mater quite fast. They don't like all organic materials presented to them and the compost they leave behind becomes usually soggy and quite smelly contrary to worm castings from a well run worm farm that are basically odorless.

That's one of the reasons that I mostly rather stick with worm composting than working with BSF maggots.

But as I mentioned above please send us some more information about the maggots in your composter and the finished compost they produce. I am sure it would be very informative for our community.

Kind regards

Stephan Kloppert

Author of "How to start a profitable worm business on a shoestring budget"

Editor of

Mar 03, 2018
Maggots vs Earthworms
by: TK

I was horrified to see my hundreds of earthworms being devoured by the maggots in my closed compostor. Amazingly, the maggots we're far more efficient and expedient in breaking down the wide variety of material I added daily. I chose to go with it, and had a far more successful breakdown of material. I'll not contest it this year !!!

Jun 21, 2017
Re white grubs
by: Stephan

Hi Vanessa, can you please send me a picture of the worm bin and a close up of the maggots and a little more information so I can get a better idea and can assist you better. What did you feed them and how moist is your worm bedding? Kind regards


Jun 21, 2017
white grubs
by: vanessa

Hello Stephen
i have a worm bed but the white maggots keep taking over...please advise

Oct 14, 2014
Re: Maggots in the worm farm
by: Ursula

Hi Stephan - you are exactly right - I did notice a lot of small black
almost beetle like insects in the farm so that must be it
The farm I have consists of round plastic units about 3in deep and quite a
secure lid with only small disc areas for 'breathing holes" but I guess
they must be small enough for small fly's to access.
or what might be happening is the fly's laying eggs in the open container I
keep in the kitchen which then is transferred to the farm 2x a week.
either way I will take up your suggestions and start again

many thanks & kind regards

Click here to add your own comments

Join in and write your own page! It's easy to do. How? Simply click here to return to Questions about worm composting.


How to make

$ -MONEY - $

with earthworms! 

The Book 

"How to start a profitable worm business on a shoestring budget 

Order a printed copy from "Amazon"  for


or a digital version from the "Kindle" store at the SPECIAL PRICE of only


How worms recycle human manure

Disclaimer: The link to the worm farm is my affiliate link. Meaning, I will get a small commission at no extra cost to you, should you purchase the product through my affiliate link.

Recent Articles

  1. europian night crawler

    Aug 10, 18 03:37 AM


    Read More

  2. Earthworm farming

    Aug 08, 18 11:53 AM

    Earthworm farming is the implementation of different procedures that will assist to convert large volumes of organic waste materials, grow huge amounts of earthworms

    Read More

  3. Eisenia fetida supply

    Aug 08, 18 06:28 AM

    Hi there,Firstly, congratulations on your your book - it's really insightful! I was just wondering whether it is possible to obtain some Eisenia fetida

    Read More

Use worms

against climate change

Wurmzucht gegen den Klimawandel

Recycling food waste with earthworms

Recycling von Essensresten

Start a worm business without having to buy worms

My book below explains in detail how to make money with earthworms!

Find out what actual customers had to say about the book

Dealing with Maggots in a worm farm

Your Questions about worm composting?

Do you have any questions or suggestions about worm composting?

This is the place where you can interact with us and other worm composting friends!

[ ? ]

Here yu can upload 1-4 Pictures or Graphics (optional)[ ? ]


Click here to upload more images (optional)

Author Information (optional)

To receive credit as the author, enter your information below.

(first or full name)

(e.g., City, State, Country)

Submit Your Contribution

  •  submission guidelines.

(You can preview and edit on the next page)

What Other Visitors Have Said

Click below to see contributions from other visitors to this page...

I am Batuhan Gemci from Turkey. hereby through this email, I want to introduce our company.

Regenwürmer am leben halten. 
Einen schoenen guten Tag, Ich lebe in Thailand u. wuerde gerne gesammelte Regenwuermer (keine Kompostwuermer) als Fischkoeder verkaufen, da sie im Gegensatz …

Click here to write your own.