🇬🇧 English

Why Your Compost Smells Like Vomit and How to Fix It Fast

A vomit smell in compost is butyric acid from anaerobic fermentation of kitchen scraps. Remove the slimy pocket, mix in dry high-carbon material and a pH

Key Takeaways
  • A big dump of fruit or starchy scraps. One watermelon rind, a bag of bruised peaches, three mouldy loaves of bread. Fruit and starch ferment fast because the sugars are already soluble. A 10-litre bucket of peach scraps dropped in one Saturday can drop the local pH to 5.5 within a day, and Clostridium butyricum — the bacterium responsible for the vomit note — thrives in exactly that window before true acidity shuts it down.
  • Heavy rain or overwatering. Kitchen scraps already run 70–90% moisture (BioCycle, 2019). Add 40 mm of rain in a week and the pore spaces fill with water instead of air. Anaerobic conditions set in once air-filled porosity falls below 10–15% (Compost Science & Utilization, 2017). You can test this yourself: squeeze a fistful. If liquid runs out, you are past the threshold.
  • Compaction you did not notice. A pile left unturned for six or eight weeks develops a crust on top and a dense, wet core underneath. The surface looks fine. The core is a slimy anaerobic pocket, and that pocket is where the smell lives. Poking the top with a fork does nothing — you have to get into the middle.
  • A sudden temperature drop. Aerobic microbes slow sharply below about 10 °C. A cold snap in late September or October stalls the thermophilic bacteria that were eating your nitrogen, and the facultative anaerobes — the ones that tolerate low oxygen — take over the job. This is why piles that behaved all summer start stinking in the first cool week of autumn.
  • Grass clippings layered in thick mats. A 5 cm layer of fresh clippings compacts into a sheet that sheds water and blocks gas exchange. It is one of the fastest ways to create a sealed anaerobic zone, and it is easy to miss because the pile looks green and healthy from above.
  • A nitrogen-heavy input balance. If your last four additions were all kitchen scraps with no carbon, your effective C:N ratio has drifted well below the 25–30:1 target (Cornell Waste Management Institute, 2018). Excess nitrogen is not itself the smell, but it is the fuel that lets volatile fatty acids accumulate once oxygen runs short.
  • Bokashi contents added raw to an outdoor pile. Bokashi runs at pH below 4.5 (Bokashi Living, 2021). Tipping a full bokashi bucket into a cool, damp pile gives you an acidic, wet, oxygen-poor slug of material in one move. It can be composted, but it needs to be buried in a carbon-rich matrix, not poured on top.

A vomit smell in compost is butyric acid from anaerobic fermentation of kitchen scraps. Stop adding wet scraps, dig out the slimy pocket, then mix in dry high-carbon material such as shredded cardboard or wood chips and a pH buffer like wood ash or agricultural lime. The smell should clear within two to three days.

The compound is butyric acid (C4H8O2), detectable at 0.1–1 ppm in air, and it is the same molecule behind the smell of vomit and rancid butter. It does not form in a healthy pile. It forms when kitchen scraps, which run above 80 percent water by weight, collapse into a wet mass and push the pile's air-filled porosity below roughly 10–15 percent. At that point the bacteria still working are the ones that do not need oxygen, and their byproducts are volatile fatty acids rather than CO2 and heat. Your pile is not ruined. It has switched metabolic pathways.

What usually gets missed is that the slime pocket has its own chemistry. A C:N ratio below 15:1, moisture above 60 percent, and a locally acidic pH of about 5.5–6.5 all favor butyric acid bacteria, and that pocket will keep fermenting even after you turn the surrounding material. Turning alone distributes the problem. It does not fix it.

Bokashi is the useful comparison here, because people who have run a bokashi bin often assume this smell is normal. It is not. Bokashi runs on lactic acid fermentation below pH 4.5 and smells sour and pickled. Vomit means a different process has taken over.

  • It is butyric acid: C4H8O2 has an odor threshold of 0.1–1 ppm and is the same compound found in vomit and rancid butter.
  • Air porosity collapsed: Anaerobic conditions begin when air-filled porosity drops below 10–15 percent, which is common because kitchen scraps are over 80 percent water by weight.
  • Ratio fell too low: Butyric fermentation typically takes hold below a 15:1 carbon-to-nitrogen ratio and above 60 percent moisture, against a target of 25–30:1 for hot composting.
  • Wood ash buffers fast: Wood ash at pH 10–12, applied at 1–2 cups per cubic meter, can lift compost from pH 5.5 to 6.5–7.0 within 24 hours.
  • Lime needs the right type: Use agricultural lime (calcium carbonate) at 1–2 kg per cubic meter, mixed thoroughly; hydrated lime is caustic and can kill the pile's biology.

What exactly causes the vomit smell in compost?

The smell is butyric acid, and it comes from a specific group of bacteria doing a specific job badly. Clostridium butyricum and its relatives ferment carbohydrates — sugars and starches from bread, pasta, fruit, potato peel — into butyric acid, along with acetic and propionic acid, when oxygen is absent. That fermentation pathway exists because Clostridium is a strict anaerobe: oxygen is toxic to it, so it only gets going once the air is gone. Butyric acid is detectable by the human nose at 0.1–1 ppm in air, which is roughly the concentration you get from a few grams of the stuff diffusing out of a warm pile. You are smelling parts per billion of a chemical that your olfactory system is, unfortunately, extremely good at detecting.

This matters because the vomit smell is not the same problem as the other two compost odors people run into. Ammonia — sharp, urine-like, burns the nose — comes from protein breakdown when the C:N ratio drops too far and nitrogen is released faster than microbes can use it. Hydrogen sulfide and the mercaptans — rotten eggs, cabbage, burnt match — come from sulfur-containing amino acids under anaerobic conditions. Butyric acid sits in its own category: a volatile fatty acid from carbohydrate fermentation, with a rancid-butter-and-vomit character that most people who have smelled it don't confuse with anything else. If your pile smells like ammonia, your problem is excess nitrogen. If it smells like vomit, your problem is a pocket of zero oxygen.

Why the pocket forms where it does

The pocket almost always starts under a fresh addition of kitchen scraps. Kitchen scraps arrive at 70–90% moisture content, which is already too wet for good composting, and they come in clumps — a two-litre container of vegetable trimmings tipped onto the pile in one go creates a dense, wet mass with very little internal air space. Compaction does the rest. Once the air-filled porosity inside that mass drops below about 10–15%, oxygen diffusion through the clump becomes too slow to keep up with microbial demand, and the interior flips anaerobic within roughly 24–48 hours in warm weather. Your pile as a whole might read as perfectly aerobic when you dig into it, but the slimy, grey-green, matted layer you find when you pull the clump apart is the fermentation vessel.

The pH context matters for what happens next. A young pile dominated by kitchen scraps typically sits around pH 5.5–6.5 — acidic, because the initial fermentation stages produce organic acids before the pile matures and rises toward neutral. In that acidic environment, butyric and acetic acid accumulate rather than being consumed, and their volatility increases, which is why the smell is strongest at the pocket rather than at the pile surface. This is the opposite of what happens in Bokashi composting, where the whole point is to drive the pH below 4.5 with lactic-acid bacteria and exclude oxygen deliberately — Clostridium is suppressed there because the LAB dominate the sugar supply before it can establish. In an open pile, neither the acid barrier nor the microbial barrier exists, so Clostridium wins the race to the scraps. Turning the pile mixes oxygen into the top layers, which is why the smell sometimes drops for a day, but it does not break up the compacted clump or raise the pH, and the fermentation restarts as soon as the pocket re-seals.

Butyric acid vs. other compost smells: a quick reference table

Before you dig anything out, match the smell. Compost fails in four main chemical directions, and each one has a different fix — ammonia and hydrogen sulfide respond to aeration and moisture correction, while butyric acid does not. Getting this wrong wastes days; the pile gets worse and the neighbours start asking questions.

The numbers in the "threshold" column matter because they tell you how much material is actually producing the problem. Butyric acid is detectable at 0.1–1 ppm in air, per OSHA's 2020 reference figures. That is roughly the same order as a badly managed indoor Bokashi bucket, and it means a single slimy pocket the size of a football can stink out a suburban garden.

Smell Description Likely cause Odor threshold Primary fix
Vomit / rancid butter Sharp, sickly, clings to clothing and skin Butyric acid from Clostridium butyricum fermenting kitchen scraps at pH 5.0–6.0 0.1–1 ppm (OSHA, 2020) Excavate the slimy anaerobic pocket, then add wood ash at 1–2 cups per cubic meter
Rotten eggs Sulfur, drains, struck match Hydrogen sulfide from sulfate-reducing bacteria in waterlogged zones where air-filled porosity is below 10–15% 0.01–1.5 ppm (varies by individual sensitivity) Turn the pile daily for 3 days and stop adding kitchen scraps until moisture drops below 60%
Urine / ammonia Sharp, eye-watering, worse on hot afternoons Excess nitrogen from grass clippings or urine-soaked bedding; C:N ratio below 20:1 5–50 ppm (NIOSH relative exposure limit is 25 ppm, 8-hour TWA) Add carbon at 2:1 by volume against the nitrogen source; aim for a 25–30:1 C:N ratio (Cornell Waste Management Institute, 2018)
Sour milk / yogurt Tangy, slightly sweet, dissipates within an hour Lactic acid from early-stage fermentation of dairy or bread; normal in Bokashi where pH sits below 4.5 Around 1–6 ppm for lactic acid in air Nothing — this is transitional. If it persists past 5 days in a standard pile, moisture is above 70%
Vinegar / pickles Acrid, sharp, often with visible white mold on fruit scraps Acetic and other volatile fatty acids accumulating when the pile cools below 40°C and stalls 0.5–1 ppm for acetic acid Add 5 cm of finished compost as inoculant and remoisten to 50–60% (BioCycle, 2019)
Mouldy basement Earthy, musty, no sharpness Actinomycetes and fungi working on woody material at 25–45°C No published threshold — not a health concern Nothing. This is healthy decomposition at the thermophilic stage

For most home composters, row one is the diagnosis: 70–90% of kitchen scraps arrive wet (BioCycle, 2019), and once the pile's center drifts below pH 6.0, Clostridium butyricum outcompetes the aerobic bacteria and starts producing butyric acid faster than you can turn the pile. The row that flips this is Bokashi: if you are running an EM-1 inoculated bucket at pH below 4.5, the sour-milk row applies and the smell is not a problem — but the moment that material goes into a conventional pile without a carbon buffer, it drops the whole pile's pH and you are back at row one within 24 hours. Turning alone will not fix it; the volatile fatty acids stay bound in the slimy pocket until you physically remove it and raise pH above 6.5 with agricultural lime at 1–2 kg per cubic meter or wood ash at 1–2 cups per cubic meter.

Why did my compost suddenly start smelling like vomit?

Butyric fermentation does not creep in. It arrives over roughly 24–48 hours, and it almost always traces back to a change you made or a change the weather made for you. Butyric acid is detectable at 0.1–1 ppm in air (OSHA, 2020), which is why a pile can go from "earthy" to "someone threw up in the yard" overnight. Work through these triggers in order of likelihood.

  • A big dump of fruit or starchy scraps. One watermelon rind, a bag of bruised peaches, three mouldy loaves of bread. Fruit and starch ferment fast because the sugars are already soluble. A 10-litre bucket of peach scraps dropped in one Saturday can drop the local pH to 5.5 within a day, and Clostridium butyricum — the bacterium responsible for the vomit note — thrives in exactly that window before true acidity shuts it down.
  • Heavy rain or overwatering. Kitchen scraps already run 70–90% moisture (BioCycle, 2019). Add 40 mm of rain in a week and the pore spaces fill with water instead of air. Anaerobic conditions set in once air-filled porosity falls below 10–15% (Compost Science & Utilization, 2017). You can test this yourself: squeeze a fistful. If liquid runs out, you are past the threshold.
  • Compaction you did not notice. A pile left unturned for six or eight weeks develops a crust on top and a dense, wet core underneath. The surface looks fine. The core is a slimy anaerobic pocket, and that pocket is where the smell lives. Poking the top with a fork does nothing — you have to get into the middle.
  • A sudden temperature drop. Aerobic microbes slow sharply below about 10 °C. A cold snap in late September or October stalls the thermophilic bacteria that were eating your nitrogen, and the facultative anaerobes — the ones that tolerate low oxygen — take over the job. This is why piles that behaved all summer start stinking in the first cool week of autumn.
  • Grass clippings layered in thick mats. A 5 cm layer of fresh clippings compacts into a sheet that sheds water and blocks gas exchange. It is one of the fastest ways to create a sealed anaerobic zone, and it is easy to miss because the pile looks green and healthy from above.
  • A nitrogen-heavy input balance. If your last four additions were all kitchen scraps with no carbon, your effective C:N ratio has drifted well below the 25–30:1 target (Cornell Waste Management Institute, 2018). Excess nitrogen is not itself the smell, but it is the fuel that lets volatile fatty acids accumulate once oxygen runs short.
  • Bokashi contents added raw to an outdoor pile. Bokashi runs at pH below 4.5 (Bokashi Living, 2021). Tipping a full bokashi bucket into a cool, damp pile gives you an acidic, wet, oxygen-poor slug of material in one move. It can be composted, but it needs to be buried in a carbon-rich matrix, not poured on top.

The trigger people most often misidentify is compaction. They smell the pile, conclude it is "too wet," and stop adding water — but the moisture is already locked in the core, and withholding water for two weeks changes nothing. The reliable fix is not more turning in place; it is pulling the wet, slimy mass out, breaking it apart on a tarp, and mixing it with a dry, alkaline amendment. Wood ash at 1–2 cups per cubic metre (University of Maine Cooperative Extension, 2015) or agricultural lime at 1–2 kg per cubic metre (Oregon State University Extension, 2020) does two jobs: it raises the pH above the butyric window and it physically opens the structure. Get that right and the smell typically clears in 2–3 days.

How to stop the vomit smell in 3 days

This protocol applies when the smell is butyric — sharp, rancid, unmistakably vomit rather than the sour tang of ordinary anaerobic rot — and when you can still find the pocket producing it. It assumes you have a fork or spade, a supply of dry carbon, and either wood ash or agricultural lime on hand or within a day's drive of a garden centre. Butyric acid has an odour threshold of 0.1–1 ppm in air (OSHA, 2020), which is why a pocket the size of a football can make an entire three-bin system unusable from ten metres away. You are not fixing the whole pile. You are excising one lesion and resetting its chemistry.

  1. Find and dig out the slimy pocket. Push a fork into the pile at the point where the smell is strongest. You are looking for a dense, wet, grey-green mass with the texture of cooked porridge — the slim anaesthetic pocket itself. Remove it entirely, down to clean material on all sides. This usually takes 20–40 minutes and is the step most people skip, choosing instead to turn the whole pile and hope aeration fixes it. It will not. Turning a butyric pocket only spreads it.
  2. Spread the removed material in a thin layer, no more than 3 cm deep, on a tarp or bare concrete in the sun. Butyric acid is volatile; it evaporates. Two hours in direct sun is usually enough to strip most of the odour, after which the material is safe to return to the pile or bury in a garden bed. If rain is forecast, use a covered area with a fan. Do not put it in a sealed bucket — that just restarts the fermentation.
  3. Mix dry, high-carbon material into the excavated cavity at roughly 2:1 by volume against the material you removed. Shredded corrugated cardboard, wood chips, or dry autumn leaves all work; cardboard is the fastest because it soaks moisture on contact. The goal is to raise air-filled porosity back above the 15% threshold below which anaerobic conditions take hold (Compost Science & Utilization, 2017). If the cavity walls are still wet and slick, dust them with carbon before refilling.
  4. Apply wood ash or agricultural lime across the disturbed area. Wood ash goes on at 1–2 cups per cubic metre (roughly 0.5–1 kg per cubic yard) per University of Maine Cooperative Extension (2015). Agricultural lime (calcium carbonate) runs higher, at 1–2 kg per cubic metre, per Oregon State University Extension (2020). Spread it by hand, work it into the top 20 cm with the fork, and do not exceed these rates — over-liming pushes pH past 8.5 and stalls the bacteria you are trying to recruit.
  5. Turn the pile thoroughly the same day, moving the outside material to the centre and vice versa. This distributes the buffer and breaks up any secondary pockets you missed. Expect the smell to spike briefly as trapped volatile fatty acids release, then drop. If you have a thermometer, aim for 55–65 °C within 24 hours; that range indicates the aerobic thermophiles have taken over from Clostridium butyricum and its relatives.
  6. On day 2, do the squeeze test. Grab a fistful from 30 cm inside the pile and squeeze. It should feel like a wrung-out sponge — one or two drops, no more. If water runs freely, add more carbon at 1:1 by volume and turn again. Kitchen scraps arrive at 70–90% moisture (BioCycle, 2019), so most piles that reach this stage are still too wet two days later.
  7. Turn once more on day 3 if the core temperature has fallen below 40 °C or if any sour note remains. At this point the pile should smell like damp forest floor, or at worst like nothing. Smell dissipation in 2–3 days is the consistent report from master composter networks when the pocket is physically removed rather than merely aerated (anecdotal, 2022). If you are still smelling vomit on day 4, you missed a pocket. Dig again.
  8. Reassess your inputs going forward. The carbon-to-nitrogen ratio you are targeting is 25–30:1 (Cornell Waste Management Institute, 2018), and most home piles sit nearer 15:1 because kitchen scraps dominate. A simple rule: for every 2-litre bucket of scraps, add 4 litres of loosely packed shredded cardboard. If you produce more scraps than you can balance, a Bokashi bin (which ferments at pH below 4.5, per Bokashi Living, 2021) keeps the material acidic enough that butyric acid never forms in the first place, and you can trench the finished product without odour.

The failure mode is treating this as a moisture problem alone. Many guides stop at "turn the pile and add dry material," which dilutes the butyric acid without raising pH. Butyric fermentation is a pH problem: kitchen scraps sit at pH 5.5–6.5, and Clostridium butyricum thrives below 6.0. Adding carbon without a buffer leaves the pH where it was, and the pocket re-forms within a week — often larger, because you have now mixed the inoculum through the whole pile. Wood ash and agricultural lime are not interchangeable with gypsum or rock dust; neither of those raises pH meaningfully. And if the smell returns after two full rounds of this protocol, stop composting that feedstock. Persistent butyric fermentation usually means the pile never gets above 40 °C, which points to insufficient volume — under 1 cubic metre, most home piles cannot hold heat regardless of what you add.

What should I add to neutralize butyric acid?

Butyric acid is a weak acid, and the smell only registers because it volatilises so readily — the odour threshold sits between 0.1 and 1 ppm in air (OSHA, 2020), which is why a pocket the size of your fist can stink out an entire garden. To stop it you have to do two things at once: raise the pH inside the pocket above roughly 6, and pull the free liquid out of it. Turning the pile does neither. It mixes the acid into fresh material, temporarily dilutes the smell, and usually rebuilds the anaerobic zone within a day or two.

Wood ash is the fastest-acting amendment most composters already have. It is alkaline (pH typically 10–12 in solution), it is dry and powdery so it wicks moisture, and it supplies potassium and calcium. Application rate matters more than most guides admit: 1–2 cups per cubic metre, roughly 0.5–1 kg per cubic yard, according to University of Maine Cooperative Extension (2015). Beyond about 2 cups per cubic metre you start pushing soluble salts and potassium past what plants want, and a pile that was once slightly acidic swings hard alkaline — which suppresses the same bacteria you are trying to bring back. Spread it over the exposed face of the pocket, not in one heap.

When to use lime, and what never to use

Agricultural lime (calcium carbonate) is the safer long game. At 1–2 kg per cubic metre (Oregon State University Extension, 2020) it buffers pH more gently and does not raise salinity the way ash can, but it reacts slowly — expect several days to see the full effect, against a few hours for ash. If your pile is mostly kitchen scraps at pH 5.5–6.5 and you have been fighting this smell for weeks, lime is the better choice. If you need the smell gone before a family barbecue tomorrow, use ash.

Do not use hydrated lime (calcium hydroxide). It is caustic enough to burn plant roots on contact, it will kill earthworms and much of the composting microbial community outright, and it drives pH toward 12 within minutes — a spike that takes months to settle. Several extension services list it for pathogen reduction in regulated windrow operations, not for a backyard bin. Equally, dry carbon is not a neutraliser but it is not optional: sawdust, shredded paper, cardboard and chopped straw absorb the odorous leachate physically, and adding a 5–10 cm layer over the pocket buys you time for the ash or lime to work. Typical kitchen scraps run 70–90% moisture (BioCycle, 2019), so a pile fed only on scraps is already past the point where air-filled porosity stays above the 10–15% needed for aerobic conditions (Compost Science & Utilization, 2017). Aim for a carbon-to-nitrogen ratio near 25–30:1 (Cornell Waste Management Institute, 2018) as your baseline going forward. With the pocket physically removed and the pH buffered, master composter reports put the smell at 2–3 days to fully clear.

Can I still use compost that smelled like vomit?

Yes, in almost every case. Butyric acid is a four-carbon fatty acid that soil bacteria and fungi consume as a carbon source once oxygen returns, and it disappears from an aerobic pile within days. The odor threshold sits at roughly 0.1–1 ppm in air, which is why a pile holding a few grams of the stuff can smell like a locker room while doing essentially nothing to your plants. At the concentrations you would ever spread on a bed, butyric acid is not phytotoxic.

The pathogen worry is more legitimate, and it is worth being precise about it. Butyric fermentation itself is driven by Clostridium butyricum and its relatives, not by E. coli or Salmonella — those organisms are not specifically associated with the vomit smell. The problem is the conditions that produced it. The same air-filled porosity below 10–15% that let Clostridium take over also shelters whatever fecal bacteria arrived on the scraps, because neither UV nor heat is reaching them. So the risk is real but it is a function of the anaerobic pocket, not of the smell.

After you have broken up the slimy pocket and buffered the pile — say 1–2 cups of wood ash or 1–2 kg of agricultural lime per cubic meter, per the extension rates above — the remediation step most people skip is the reheating. Turn the pile to reintroduce oxygen, keep moisture at roughly 50–60%, and let it climb back to 130–150°F (55–65°C) for three consecutive days. That temperature band, sustained, is what the EPA and US Composting Council guidelines treat as the pathogen-reduction threshold. If your pile will not reach 130°F after treatment, it is not finished compost; it is partially treated waste. Give it more time and more carbon.

One place to hold the line: do not put unfinished, still-smelling compost on edible root crops. Carrots, radishes, beets and potatoes sit directly in the material, and any surviving Listeria or E. coli on the surface has a short path to the part you eat. Use suspect batches on ornamentals, fruit trees, or as a top dressing under a mulch layer, and let a full season pass before it goes near a root bed. Leafy greens and anything eaten raw deserve the same caution. If the pile smells clean and crumbly and has finished a proper heat cycle, there is no reason to hold back.

How do I prevent the vomit smell from coming back?

Prevention is a plumbing problem, not a chemistry problem. Butyric acid only forms when Clostridium butyricum and its relatives get an oxygen-free pocket with wet, nitrogen-heavy fuel inside it, so every practice below is aimed at one of two things: keeping air moving through the matrix, or keeping the carbon supply high enough that the pocket never turns acidic. Get those two right and the pH buffer never has to be deployed again.

  • Bury kitchen scraps in the core and cap them with 6–8 inches of browns. A scrap bucket tipped onto the surface is the single most common trigger, because the outside of a pile dries while the middle stays wet, and surface scraps just sit there fermenting in the open. Dig a trench with a hand fork, drop the scraps in, and backfill. Chopping peels and rinds into 2–3 cm pieces first roughly doubles the surface area available to aerobic bacteria.
  • Turn weekly, and stop turning if the core reads above 60% moisture. Aerobic thermophiles want 50–60%, which is a wrung-out sponge: one drop comes out when you squeeze a fistful, no more. Kitchen scraps arrive at 70–90% water by weight (BioCycle, 2019), so a scraps-only pile drifts wet fast. If the squeeze test drips, add browns before you turn, not after.
  • Feed roughly equal volumes of greens and browns. That gets you near the 25–30:1 carbon-to-nitrogen target used by the Cornell Waste Management Institute (2018). Volume is a rough proxy, not a measurement, which is why it fails in autumn: dry oak leaves are mostly carbon, fresh grass clippings are not, and a 1:1 bucket ratio can swing to 60:1 or 15:1 depending on the season. When in doubt, err high on carbon. An over-carboned pile is slow. An under-carboned pile stinks.
  • Install an aerator or a perforated pipe before the pile gets dense. Anaerobic conditions set in once air-filled porosity drops below 10–15% (Compost Science & Utilization, 2017), and a pile that has been running for six months is compacted enough to hit that without any visible change. Push a compost aerator 40–60 cm into the core weekly, or bury a 5 cm perforated PVC pipe vertically when you build the heap, then pull it out and re-site it every few months.
  • Keep a dedicated alkaline amendment on hand for high-nitrogen weeks. Wood ash at 1–2 cups per cubic meter (University of Maine Cooperative Extension, 2015) raises pH without the volume penalty of another carbon source, and agricultural lime (calcium carbonate) runs 1–2 kg per cubic meter (Oregon State University Extension, 2020). Both buffer the pH that butyric acid fermentation pushes downward. Neither is a routine addition: ash is high in potassium and calcium and applying it monthly will push your finished compost past pH 8, which is worse for most beds than slightly acidic compost.
  • Separate the problem stream rather than fighting it. Cooked food, dairy, oils and meat are the highest-risk inputs for a slimy anaerobic pocket. If you generate a lot of them, run a two-stage system: ferment them first in a sealed Bokashi bucket with EM-1 at pH below 4.5 (Bokashi Living, 2021), where butyric acid-producing bacteria are suppressed by the lactic acid dominance, then bury the finished ferment 20–25 cm deep in the main pile. The smell disappears, and you get the nitrogen back.
  • Watch the pile in the 48 hours after any heavy feed. Butyric acid is detectable at 0.1–1 ppm in air (OSHA, 2020), which is roughly a hundred times below the concentration where you would call it overpowering. That means your nose is an early-warning instrument: catching it at the first faint note gives you time to dig out the pocket before it spreads, which anecdotal reports from master composters put at 2–3 days to fully clear after correct treatment.

The item people get wrong most often is the burying. Home composters read "cover with browns" and scatter a handful of shredded cardboard on top, which looks correct and does nothing: the scraps are still in contact with the air at the pile's surface, still wet, still acidic, and one rain shower seals them into a mat that excludes oxygen for a week. The fix is depth. Scraps need to sit at least 20–25 cm below the surface with browns on all sides, not just overhead, because the surrounding carbon is what wicks moisture away from the pocket and keeps the local pH from crashing. If your fork will not go that deep, your pile is either too dry or has a compacted base layer you need to break up first, and that compacted base is probably where your last bout of butyric acid started.

When to call it: signs your pile is beyond saving

Most vomit-smelling piles are recoverable, and the previous sections cover that. This one is about the minority that are not, because spending three weekends turning a pile that was never going to work is a waste of a season. The dividing line is structure. Push a fork into the pile. If it goes in with almost no resistance anywhere in the mass, and what comes up is a homogeneous grey-black slurry with no recognisable leaves, no twigs, no eggshell fragments, no visible particle boundaries, you do not have compost with a problem. You have a lagoon. Spreading that material as a thin layer (5–8 cm) over a garden bed or under a hedge and starting a fresh pile with a proper carbon base will get you finished compost faster than any remediation, because you are not trying to restore porosity to 4 cubic feet of paste.

The two-week rule is a useful backstop. If you have removed the slimy pocket, buffered with wood ash at roughly 1–2 cups per cubic meter or agricultural lime at 1–2 kg per cubic meter, added coarse carbon to bring the mix toward 25–30:1 C:N, and kept air-filled porosity above the 10–15% threshold where anaerobes stop dominating, but butyric acid is still detectable at the nose two weeks later, the pile is too large or too wet to fix in place. Butyric acid has an odour threshold of 0.1–1 ppm, so it will announce itself long before it is chemically significant. A pile larger than about 1.2 m cubed, or one sitting on a concrete slab where drainage is zero, will keep re-forming anaerobic zones faster than you can break them apart. Split it into two or three windrows no more than 1 m high, or abandon it, spread it, and rebuild.

Maggots and rodents are a different diagnosis

Black soldier fly larvae are usually a sign of health, not failure, and they show up when exposed kitchen scraps hit 70–90% moisture in warm weather. Rodents are not. If you are pulling rats or mice out of the pile, the problem is not butyric acid, and no amount of wood ash will fix it. You have putrescible waste sitting uncovered on the surface, and you are now running a feeding station. That pile needs to be dug out completely, the food scraps buried at least 15 cm deep in the centre, and the bin fitted with a lid and a 6 mm hardware cloth base if it sits on soil. The Composting Council of Canada and the US Composting Council both treat rodent attraction as a siting and containment failure, not a process failure, and that distinction matters because the fix is different. Maggots plus rodents plus a vomit smell usually means the pile has been too wet and too open for too long, and starting over with a covered, correctly turned bin is the honest answer.

Frequently Asked Questions

Why does my compost smell like vomit instead of just rotten?

Vomit smell is butyric acid, not the sulfur or ammonia compounds behind most rotten smells. Clostridium bacteria make it by fermenting sugars where oxygen is absent, the same pathway that sours silage and turns butter rancid. If the pile smells like a stomach, pockets inside it have gone anaerobic.

Is vomit-smelling compost dangerous to my plants?

Butyric acid at the concentrations found in a compost pile will not poison plants, but the oxygen-starved conditions producing it can. Fresh material from an anaerobic pocket may carry Pythium and Fusarium, and immature organic acids can burn seedling roots. Let it cure two to four weeks before spreading it near young plants.

Can I add wood ash to stop the vomit smell?

Yes. Wood ash lifts pH above 6.5, where butyric acid bacteria struggle, but dose it carefully: no more than 1 to 2 cups per cubic meter of compost, worked into the smelly zone. Skip ash from treated, painted or pressure-treated lumber, which can carry chromium, copper and arsenic into your finished compost.

How long does it take for the vomit smell to go away after fixing the pile?

Usually 2 to 3 days once you aerate the pile and correct the pH. Butyric acid is volatile and dissipates quickly. If the smell is still there after a week, you have not actually opened up the anaerobic pocket. Dig in again and look for a wet, grey-green mat.

Will turning the compost pile get rid of the vomit smell?

Not on its own. Turning redistributes the problem, and a slimy, compacted core will keep fermenting after you walk away. Break the pocket apart by hand or with a fork, then mix in dry, high-carbon material such as shredded cardboard or straw at roughly a 3:1 carbon-to-nitrogen ratio by volume.

What is the difference between bokashi smell and vomit smell?

Bokashi smells sour and pickled because lactic acid bacteria drive the pH below 4.5, which is the intended result. A vomit smell means butyric acid has taken over instead, usually because the bucket got too wet or too warm. Sour is success; vomit is a failed batch.

Frequently Asked Questions