Skip to content

Why Manure Pit Foam Forms, and Why It Is a Flash Fire Hazard

By PitCharger · Published · Updated

Thick grey manure foam filling the frame with a single dark fissure opening through it.

Manure pit foam is a stable bubble layer that traps methane in a deep pit. Methane burns in air between about 5 and 15 percent. A foaming pit can hold enough gas under the slats to reach that range, and an ordinary spark, heater, or welder is enough to set it off.

Most producers meet foam the same way. You pull a slat to check the pit and the manure surface is gone. In its place is a brown or gray layer of bubbles, thick as shaving cream, sometimes a few inches deep and sometimes pushed up through the slats and onto the floor of the barn. It does not break when you poke it. It does not settle overnight.

That layer is not cosmetic. It is a gas storage tank sitting under your animals.

What is manure pit foam actually made of?

Foam needs three things: gas being produced, something to stabilize the bubble walls, and a surface that does not let the bubbles break. A deep pit supplies all three.

The gas is mostly methane, produced by methanogenic bacteria digesting organic matter without oxygen. Same process as an anaerobic digester, just uncontrolled and under your barn.

The bubble walls get stabilized by fine solids and by long-chain organic material in the manure, including undigested feed fiber and fats. Those materials collect at the gas-liquid boundary and make bubble films that hold instead of pop. When enough fine fiber and fat is suspended near the surface, methane that would normally burp off the top gets caught on the way up.

The result is a layer that is mostly gas by volume, held in place by a thin skin of liquid and fine solids. Methane concentrations measured inside a foam layer run far above anything the open headspace air ever reaches. University of Minnesota Extension and Iowa State University Extension have both published on foaming deep pits since the problem became widespread across the Midwest, and both land in the same place: the foam is where the methane is.

Why is manure pit foam a flash fire hazard?

Methane is flammable in air between roughly 5 percent and 15 percent by volume. Below 5 percent it is too lean to burn. Above 15 percent it is too rich. Between those two numbers, a spark is all it takes.

Normally, a deep pit protects you by accident. Methane comes off the surface, drifts up through the slats, mixes with barn air, and gets diluted below the lower flammable limit by ventilation. Ordinary operation keeps concentrations lean.

Foam breaks that. Foam holds the methane in a concentrated layer instead of releasing it steadily. When something disturbs the foam, whether that is agitation, an animal, a pressure change, or the foam simply collapsing under its own weight, the trapped gas releases all at once. A large slug of methane comes up through the slats into a room that has a pilot light in it.

The gas does not have to fill the barn. It only has to pass through the flammable range somewhere near an ignition source.

GasWhere it comes fromConcentration that mattersWhat it does
Methane (CH4)Anaerobic digestion of manure and feedBurns in air between about 5% and 15%Flash fire or explosion when ignited. Lighter than air, so it collects at the ceiling and under the slat deck
Hydrogen sulfide (H2S)Sulfate-reducing bacteria in stored manureNIOSH lists 100 ppm as immediately dangerous to life or healthKills the sense of smell at high levels, then shuts down breathing. Heavier than air, so it pools at pit level and in low corners
Ammonia (NH3)Breakdown of nitrogen compoundsIrritating far below lethal concentrationsBurns eyes and airways. Masks the problem, because ammonia is what you notice while H2S is what hurts you
Carbon dioxide (CO2)Respiration and decompositionDisplaces oxygen in an enclosed pitSuffocation risk for anyone entering a pit or a poorly ventilated space

What ignites it?

This is the part producers underestimate. The ignition sources in a hog barn are not exotic. They are the equipment you run every day.

  • LP or natural gas brooder and space heaters. Open flame or hot surface, mounted low, running exactly when the barn is closed up tight in cold weather.
  • Welding and cutting. Any repair over or near the slats.
  • Electric motors, contactors, and worn switches. Fans, feed augers, pressure washers.
  • Pressure washing. High-pressure water into a foam layer both disturbs the foam and creates static.
  • Static discharge. Dry winter air, plastic, and a person walking across a barn is enough energy to ignite methane.
  • Power tools, drop lights, and cell phones.
  • Grinding sparks.

Cold weather stacks the risk. Ventilation runs at minimum, the heaters run at maximum, and the barn is sealed. That is the combination that has cost producers barns, animals, and in some cases people.

What happens when foam collapses during agitation?

Agitation is the highest-risk hour on the whole operation, and foam makes it worse in two directions at once.

First, the methane. Pump agitation tears the foam apart and dumps its stored gas into the barn in minutes rather than over weeks. That is the flash fire window.

Second, hydrogen sulfide. H2S dissolves in the liquid manure and stays there while the pit sits undisturbed. Agitation shears the liquid and drives dissolved H2S into the air fast. Concentrations that were single digit parts per million can spike into the hundreds during active agitation. NIOSH puts the immediately dangerous to life or health level for hydrogen sulfide at 100 ppm. At a few hundred ppm a person loses the ability to smell it, which removes the only warning most people rely on. At higher levels, one or two breaths can drop someone where they stand.

Nearly every fatal manure gas incident follows the same shape. Someone goes in for a minute during or right after agitation. A second person goes in after them. Read OSHA's material on hydrogen sulfide and NIOSH's occupational safety guidance if you have not lately. It is worth the twenty minutes.

Agitation day safety, written plainly

None of the following is optional on a foaming pit.

  1. Pull the animals if you can, and pull the people always. Nobody in the barn during agitation. Not for a minute, not to check a fan.
  2. Ventilate at maximum. All fans on, curtains open where design allows, before agitation starts and through the entire pump-out. Do not agitate on minimum ventilation because it is cold.
  3. Kill every ignition source before you start. Shut off LP heaters at the tank, not just the thermostat. No welding, no grinding, no pressure washing, no power tools. Post someone at the door.
  4. Carry a gas monitor. A four-gas meter reading H2S, methane as percent LEL, oxygen, and CO. Bump test it. A monitor sitting in a truck helps nobody.
  5. Never enter a pit. Ever. Not to unplug a pump, not to retrieve a tool, not to help someone who went in first. Pit entry is a permit-required confined space and it needs supplied air and a trained rescue setup, not good intentions.
  6. Have a second person outside with a phone and a plan. Most manure gas deaths are would-be rescuers.
  7. Ventilate before anyone re-enters. Then verify with the monitor. Your nose is not a gas detector.
  8. Do not agitate a foaming pit any harder than you have to. Aggressive high-pressure agitation into a heavy foam layer is the worst case.

Can you treat foam instead of just living with it?

Some producers manage foam mechanically. Knocking it down with water, adding physical antifoams before agitation, keeping a foam log so they know what they are walking into. Those are worth doing, but they treat the symptom on the day, not the condition of the pit.

The other approach is biological, and it works on the material that lets bubbles hold.

Deep pits get into trouble when the bacterial population that digests cellulose fiber collapses. Undigested feed fiber and bedding stop breaking down. That fiber accumulates as a floating crust on top and a hardpan on the bottom, and gas gets trapped in between. The same suspended fine fiber that builds crust is part of what stabilizes bubble films. If you have a crust problem and a foam problem in the same pit, they are not two coincidences. Our article on what causes crusting in manure pits and lagoons walks through that mechanism in more detail.

Foam is not one problem, and it should not be treated like one. Methane foam can form a thick blanket over the pit, sometimes several feet deep, trapping large amounts of gas. Mechanical foam can develop during agitation, stirring, or pumping. Other thick or slimy foams form for different reasons and may not respond to the same treatment. Each type of foam requires a different treatment protocol, and if you have spent money on foam control without results, the foam may have been misidentified or treated with the wrong product. PitCharger, on the market since 1998, can help determine what type of foam you are dealing with and recommend the right treatment. More on the foam page and how PitCharger works.

How we approach foam is laid out on the foam page, and Manure Digester covers the ongoing treatment of the pit underneath it. Foam-specific reduction figures for a given barn depend on pit condition, diet, and bedding, so we quote them per operation rather than in an article.

Foam treatment is matched to the type of foam, so call before treating active foam. For ongoing pit treatment, hog operations commonly start around one gallon per month per 1,000 head, about four gallons a month for a 4,000-head finishing barn. Cattle and dairy commonly start around one gallon per 75 animals. Lagoon rates may be adjusted based on the manure already in the lagoon and the amount expected to be added each month. The dosing calculator will get you close, and a treatment plan will get you exact.

One caution worth stating clearly: no additive makes agitation day safe. A treated pit that no longer foams is a lower-risk pit, but you still ventilate at maximum, still kill ignition sources, still keep people out, and still carry a monitor. Treat every agitation as if the pit is full of gas, because it is.

Frequently asked questions

Does foam mean my pit is more dangerous than a pit without foam?

Yes. Foam concentrates methane in a layer instead of letting it release steadily. A pit with a heavy foam cap has stored energy under the slats that a normally releasing pit does not. It is also unpredictable, because the release comes all at once when the foam is disturbed rather than gradually.

How much foam is too much?

There is no safe depth, but the industry rule of thought has been that anything over about a foot of foam under the slats deserves serious caution, and foam pushing up through the slats means you should not have an open flame in that barn. If you can see foam from the alley, treat the room as a hazard area and get a gas monitor in there before you plan any work.

Can I just knock the foam down with water and be fine?

Water knockdown can reduce the foam layer temporarily and is used before agitation for that reason. It does not change why the pit foams. If the underlying fiber load and the stalled bacterial population are the cause, the foam comes back. Use knockdown as a same-day risk reduction, not as the fix.

Is hydrogen sulfide or methane the bigger risk?

They hurt you differently. Methane is the fire and explosion risk and it needs an ignition source. Hydrogen sulfide is the acute health risk and needs nothing but a breath. In practice H2S kills more people on farms and methane destroys more buildings. During agitation you are exposed to both at the same time, which is why nobody should be in the barn.

Is the product safe around animals and people?

PitCharger products are described as safe around cattle, horses, pets, children, and vegetation. PitCharger ships by UPS, Spee-Dee Delivery, and LTL freight, depending on the size and destination of the order, and Auto-Ship is available for scheduled monthly delivery. If you have questions about handling around a specific setup, call 833-258-7631 and ask before you order.