When people picture a digester, they usually picture two ends: food scraps going in, energy coming out. The middle gets skipped. But the gas that comes off an anaerobic digester isn’t a finished fuel. It’s a raw mixture that needs to be understood, cleaned, and conditioned before it does useful work. That in-between step doesn’t get much attention, and it’s one of the main reasons some biogas systems run reliably for decades while others spend their lives in the repair shop.

Raw Biogas Is a Blend, Not a Product

The microbes inside a digester don’t make pure methane. They make a mix. Typically 50 to 70 percent of raw biogas is methane, the part that carries the energy. Most of the rest is carbon dioxide, which takes up volume but doesn’t burn. The gas leaves the digester saturated with water vapor, and it carries small amounts of other compounds, mainly hydrogen sulfide and sometimes trace ammonia. How much of each depends heavily on what the digester was fed. Protein-rich food waste tends to produce more hydrogen sulfide. A balanced, consistent feedstock tends to produce steadier, more predictable gas. In a real sense, gas quality starts at the bin.

The Troublemakers: Sulfur and Water

Hydrogen sulfide is the compound operators worry about most. It’s corrosive in its raw form. When it burns, it forms sulfur oxides that attack engines, boilers, and heat exchangers from the inside. Water vapor makes this worse: it condenses in cool pipes, collects in low points, and combines with sulfur compounds to make acidic conditions that eat through equipment far faster than anyone budgeted for. So nearly every well-run system includes at least a basic conditioning train: a way to pull moisture out (often by cooling the gas so the water condenses) and a way to strip out sulfur. That might be an iron-based media bed, activated carbon, or biological desulfurization, where a different set of microbes converts the sulfur into a manageable form. None of this is glamorous. But it’s often the difference between an engine that lasts years and one that needs a rebuild in months.

How Clean Is Clean Enough? It Depends on the Job

The right level of treatment depends on where the gas is going. Gas for a boiler or a direct thermal application, like heating a building or a greenhouse, can often run on biogas that has simply been dried and desulfurized. Combined heat and power engines usually need tighter limits to protect their internals. At the far end is upgrading, where the carbon dioxide is also separated out using methods like membrane separation, pressure swing adsorption, or water scrubbing. The result is biomethane, also called renewable natural gas, clean enough to stand in for conventional natural gas. Each step up adds equipment, energy use, and cost. That’s why matching the treatment level to the actual end use is one of the most important design choices a project makes. Over-engineering wastes money. Under-engineering wastes equipment.

Why Scale Changes the Calculation

Large centralized facilities can justify full upgrading systems because they spread the cost across enormous volumes of gas. Smaller, distributed systems work under different economics, and that often favors simpler, more robust paths: using the gas close to where it’s made, for heat or on-site power, with conditioning matched to that use. That isn’t a compromise. Sending biogas a short distance to a nearby boiler or generator avoids the energy losses and infrastructure costs of polishing it to pipeline standards and moving it across a region. For community-scale digestion, the smartest gas strategy is often the shortest trip.

The Middle of the Process Is Where Reliability Lives

The point of all this isn’t the plumbing for its own sake. A digester exists to keep organic material from rotting in a landfill, where it would generate methane for decades with no one capturing it. Instead, that same material produces methane on purpose, inside a sealed system, where it can be used. That climate benefit only holds if the system keeps running, and a system only keeps running if the gas is treated properly. Gas conditioning is the unglamorous engineering that turns diverted food waste into steady, usable energy. It’s also what makes a system dependable for years after the ribbon-cutting photos are taken.