Maggots in Compost? What You Need to Know

Maggots in compost can be a disgusting thing to see, but are they bad or good for your compost? Epic Gardening Founder Kevin Espiritu tells all, and the answer may surprise you!

Black soldier fly larvae in compost?

Contents

When I opened my compost bin a few days ago, I got a nasty surprise. There was an abundance of maggots in compost to be found! Gross!

Or are they?

Maggots in compost can be a disgusting sight to behold, but are they bad for your compost? I recently got this question from an Epic Gardening reader:

I have been using a compost tumbler for the first time and am seeing a lot of big maggots. I think I am composting correctly (no fats, meats) but they are still there. Are maggots bad for my compost?

Steve R.

Are maggots in compost bad, or are they good? Let’s answer this question once and for all.

The Likely Culprit: Black Soldier Fly Larvae

While there are a few other types of maggots that might show up in your compost, the most common culprit is the larvae of the common black soldier fly, Hermetia illucens.

You’ll be able to identify them easily due to their fat appearance. They are usually a whitish, greyish, or brownish color. But the color can change depending on what they’re eating.

Black soldier flies might be annoying when they’re buzzing around your face, but they are actually incredibly useful. In fact, there are farms that cultivate the larvae and sell them to pet stores, as they’re a great food for birds, lizards, and even fish!

But what does this have to do with them being in your compost? Are they a good thing or a bad thing?

Causes of Maggots in Compost

If you’ve ever gone crazy trying to swat flies in your kitchen, you already know exactly what causes these maggots to show up in your compost: food waste. Black soldier fly (BSF) larvae devour food waste as long as they have a warm, moist environment to chow down in.

YouTube video

If you have too many ‘greens’ in your compost and not enough ‘browns,’ you shouldn’t be surprised to see many of these guys in your compost.

Another potential cause is not mixing or turning your compost pile, leading to moist pockets of food waste that maggots will flock to.

4 Solutions for Maggots in Compost

While you don’t have to do anything if the maggots you’re dealing with are black soldier fly larvae, you may want to for one of two reasons:

  1. You find them gross and don’t want them in your compost, no matter what.
  2. There are simply too many, and it’s interfering with the progress of your compost.

If so, here’s what to do.

Add More Browns

These maggots do well when they have a lot of food material to feed on and a relatively moist environment. To combat that, add more brown materials to your compost to dry it out and lower the percentage of food matter larvae can find and feed on.

Lime Your Compost

Usually, you don’t have to add lime to your compost. It breaks down just fine. The danger of adding lime is that the pH of your compost may be too high by the time it’s done. But if you want to combat maggots, you can:

  • Add about one cup of lime per 25 cu ft. of compost.
  • Add pine needles to your compost.
  • Add citrus fruit waste.

Any of these will work to combat the proliferation of maggots in your compost.

Don’t Allow Flies Into Your Compost Bin

The only way you get maggots in your compost is if an adult BSF lays eggs. So while compost needs good airflow, that doesn’t mean you need to provide huge holes for the flies to enter and exit from. Covering the air holes with a mesh screen is often enough to stop more eggs from being laid.

Let Them Be!

Like I said, you don’t have to get rid of these maggots. In fact, some gardeners love having them in their compost because they break down food waste so quickly. As long as you give them a warm and comfortable environment, you’ll probably never see faster compost than when black soldier fly larvae are processing it for you.

If you have chickens or pets, they also may like to hunt for the BSF larvae once you’re compost is finished. They can be a great food source for the other animals on your property if you keep them around!

However, the compost that comes out may not be the most appealing. It usually doesn’t have that rich, earthy smell and seems a bit ‘off’. It’s understandable that they may not be the most appealing things to have in your compost, and they also get less effective as the weather cools down. The choice is yours.

Share This Post
A person empties a bucket filled with vegetable scraps, grass clippings, and other organic waste onto a pile in a wooden bin.

Soil Improvement

7 Ways to Turn Your Compost Pile

Compost piles are excellent for backyard gardeners who want to save money on soil amendments or upcycle excess waste. Turning piles speeds up decomposition, lets microbes breathe, and keeps rotting smells at bay. Join longtime composter Jerad Bryant and discover seven easy ways to turn your compost piles.

A person holding dark, rich organic matter with a few small green plants in the background.

Soil Improvement

How Fast Does Compost Turn Into Soil?

Compost typically decomposes from a month to a year, but you can make your own in as little as a week! How fast it decomposes depends on your garden conditions. Let’s break down your dirt with native plant gardener Jerad Bryant.