Guide

← Compost Ratio Calculator

Slimy, Smelly Compost? You Have Too Much Nitrogen. Here Is the Fix.

A healthy compost pile smells like forest floor. If yours smells like ammonia or a swamp, the diagnosis is almost always the same: too many greens, not enough browns. Here is how to fix it this weekend.

My first compost pile was a disaster I can still smell. I had been diligently dumping kitchen scraps and grass clippings into a bin all spring, feeling virtuous, and by June I had a dense, gray, slimy mass that smelled like a chemistry accident. My neighbor asked, diplomatically, whether something had died in my yard. Something had: my composting ambitions, temporarily.

The fix took one afternoon and cost nothing. If your pile smells like ammonia, looks slimy, or has drawn every fly in the county, you almost certainly have the same problem I did: far too much nitrogen, far too little carbon, and not enough air. Here is the diagnosis and the repair, in order.

Reading the symptoms

Compost microbes want a carbon-to-nitrogen ratio around 30:1. When nitrogen-heavy "greens" dominate, the microbes burn through the available carbon quickly and start dumping the excess nitrogen as ammonia gas. That is the sharp, eye-watering smell. Meanwhile the wet greens mat together, squeeze out the air pockets, and the pile goes anaerobic, which is where the swampy, rotten smell and the slime come from. Slimy texture plus bad smell is the classic fingerprint of a nitrogen-heavy, oxygen-starved pile.

The usual suspects: a spring of grass clippings with nothing else added, a kitchen-scrap-only bin, or a load of fresh manure. Grass clippings run about 17:1 carbon to nitrogen. Food scraps are around 17:1 too. Piled up alone, either one is a smell waiting to happen.

The fix: browns, air, and patience

Step 1: stop adding greens. For the next week or two, no kitchen scraps, no grass. Let the pile digest what is already in it.

Step 2: add a serious amount of browns. Shredded dry leaves, straw, shredded cardboard, or shredded newspaper. Shredded matters: smaller pieces mix in and decompose far faster than whole sheets or intact leaves. Work the browns through the pile, not just on top.

Step 3: turn it thoroughly. A garden fork, full depth, breaking up every matted clump. Turning does two jobs at once: it mixes in the carbon and reintroduces oxygen, which lets the aerobic microbes get back to work. Expect the worst smell right as you turn it. That is the trapped gas escaping, and it means you are fixing the right thing.

Step 4: check moisture. Grab a handful and squeeze. It should feel like a wrung-out sponge: damp, holding together, with maybe one drop of water. If water streams out, add more browns and leave the lid off in dry weather. If it crumbles dry, water it.

A worked example: rescuing a grass-clipping pile

Say you have 30 pounds of fresh grass clippings sitting at roughly 17:1, and you want to pull the pile toward the 30:1 target. Dry fallen leaves run about 48:1 (44.5% carbon, 0.93% nitrogen by dry weight). The math:

So roughly two parts dry leaves to one part grass clippings by weight lands you on target. In practice, eyeball it: for every bucket of grass, add two buckets of shredded dry leaves, turn well, and check the smell in three days. If it still smells sharp, add another bucket of browns. You are aiming for "heating up and smelling earthy," which is the sign the aerobic microbes have retaken the pile.

Keeping it fixed

The long-term habit that prevents relapse is boring but effective: every time you add greens, cover them with browns. Kitchen scraps go in, shredded cardboard or dry leaves go on top, roughly two to three parts browns to one part greens by volume. Turn the pile every week or two. A hot, active pile runs 130 to 160°F in the center; if yours never heats up, it is usually asking for more nitrogen or more moisture, the mirror image of this problem.

My disaster pile recovered in about ten days. The ammonia smell faded within three, the slime broke up after the second turning, and by midsummer it was producing the dark, crumbly, sweet-smelling compost I had been promised. The pile was never broken. It was just hungry for carbon.

The mirror problem: a pile that will not heat up

Worth a quick word on the opposite failure, because you may meet it next. If your pile is dry, pale, and static, with last autumn leaves sitting unchanged months later, it has too little nitrogen. The fix is the mirror image: add a bucket of fresh grass clippings or kitchen scraps, water it thoroughly, and turn. Microbes need nitrogen to reproduce and generate heat, and a carbon-only pile is a pile on starvation rations. The diagnostic habit is the same either way: squeeze test for moisture, sniff test for balance, thermometer for activity. A working hot pile runs 130 to 160°F in the center.

A turning schedule that actually works

Most guides say "turn regularly" and leave it there. Here is the schedule I use: during the first two weeks after building or rescuing a pile, turn every 3 to 4 days. This is when oxygen demand is highest and when anaerobic pockets form fastest. After the pile is hot and the smell is gone, drop to once a week, then every two weeks as it matures and cools. Each turning, check moisture with the squeeze test and add browns if it is getting slick. Total effort is maybe fifteen minutes per session. The piles that fail are almost never the ones turned too much; they are the ones built and forgotten.

Frequently asked questions

Why does my compost smell like ammonia?

An ammonia smell means excess nitrogen relative to carbon: too many greens and not enough browns, often combined with poor aeration. Microbes dump the surplus nitrogen as ammonia gas. Fix it by mixing in shredded dry leaves, straw, or cardboard and turning the pile thoroughly.

How do you fix slimy compost?

Sliminess signals an anaerobic, overly wet, nitrogen-heavy pile. Stop adding greens, fork in generous amounts of dry browns (shredded leaves, cardboard, straw), turn the pile to reintroduce oxygen, and adjust moisture to a wrung-out-sponge feel.

How long does it take to fix a smelly compost pile?

The smell usually fades within a few days of adding browns and turning, with full recovery in one to three weeks depending on pile size and weather. If the smell persists, add more browns; the pile is still nitrogen-heavy.

Check your pile ratio

Add your materials and get your live carbon-to-nitrogen ratio plus exact fix recipes.

Open the Compost Ratio Calculator

Keep reading

Browns vs Greens: The Compost Ratio Chart I Wish I Had Starting Out

Which materials count as browns vs greens (coffee grounds will surprise you), plus a C:N chart for 18 common materials.