Biogas production relies on anaerobic digestion, a biological process in which microorganisms break down organic matter in the absence of oxygen and release a gas mixture dominated by methane and carbon dioxide. The process unfolds in four sequential microbial stages inside sealed vessels called digesters, and the resulting gas can be burned directly for heat, converted to electricity, or upgraded to a near-pure methane stream suitable for injection into natural gas grids. What makes it especially appealing as a renewable energy source is that it can run on materials most people consider waste, from livestock manure and food scraps to sewage sludge and crop residues.
The Four Stages Inside the Digester
Anaerobic digestion is not a single reaction but a chain of four interdependent microbial steps: hydrolysis, acidogenesis, acetogenesis, and methanogenesis. Each stage is carried out by a different group of microorganisms, and the output of one stage becomes the input for the next. When any one stage falters, the whole chain can stall.1PubMed. Dissimilatory manganese reduction facilitates synergistic cooperation of hydrolysis, acidogenesis, acetogenesis and methanogenesis via promoting microbial interaction during anaerobic digestion of waste activated sludge
In hydrolysis, complex organic solids like carbohydrates, proteins, and fats are too large to pass through microbial cell walls. Microorganisms solve this by secreting enzymes (amylases, cellulases, proteases, lipases) that chop those large molecules into smaller, soluble pieces: simple sugars, amino acids, glycerol, and long-chain fatty acids.2Water Research. Extracellular enzyme activities during regulated hydrolysis of high-solid organic wastes For feedstocks with a lot of solid material, hydrolysis tends to be the slowest step and the one that limits how fast the whole process can run.
During acidogenesis, fast-growing bacteria ferment those soluble molecules into volatile fatty acids such as butyric, propionic, and acetic acid, along with alcohols, hydrogen, and carbon dioxide.3PubMed Central. Bioengineering of anaerobic digestion for volatile fatty acids, hydrogen or methane production: A critical review Acetogenesis then converts the longer-chain fatty acids and alcohols into acetic acid, hydrogen, and more carbon dioxide. These two stages happen quickly relative to hydrolysis and can produce acids faster than the final stage can consume them, which is why pH management matters so much in practice.
Methanogenesis is where the actual methane is made. Two main pathways operate here. Acetoclastic methanogens split acetic acid directly into methane and carbon dioxide. Hydrogenotrophic methanogens combine hydrogen with carbon dioxide to form methane. The balance between these two pathways shifts depending on conditions like pH, alkalinity, and ammonia concentration.4PubMed Central. Acetoclastic versus hydrogenotrophic methanogenesis: defining how pH and alkalinity shape acetate metabolism in a haloalkaliphilic methanogenic community for biomethane production The methanogens are the most sensitive organisms in the whole chain. They grow slowly, dislike sudden changes, and are easily poisoned by things like high ammonia or oxygen intrusion.
Feedstocks and Why Mixing Them Helps
Nearly any organic material can serve as a feedstock for anaerobic digestion: animal manure, crop residues, food waste, sewage sludge, slaughterhouse waste, and purpose-grown energy crops like maize silage. The methane yield varies enormously depending on what you feed the digester. Livestock manure is widely available and commonly used, but on its own it tends to produce relatively modest yields.
A meta-analysis covering numerous studies found that co-digesting animal manure with other feedstocks boosted methane output significantly, from roughly 171 liters per kilogram of volatile solids for manure alone to about 249 liters per kilogram when a second feedstock was mixed in.5Science of The Total Environment. Methane yields during anaerobic co-digestion of animal manure with other feedstocks: A meta-analysis The gains came from improved nutrient balance, particularly the ratio of carbon to nitrogen, and from the complementary breakdown properties of different materials. Swine, poultry, and cattle manure all showed similar absolute increases when a co-substrate was added.
Some combinations perform dramatically better than the sum of their parts. One study testing blends of food waste, poultry dung, and jatropha cake found that the optimal mix produced about 425 milliliters of methane per gram of volatile solids, with a synergistic effect index of over 73 percent, meaning the blend produced far more gas than you would predict by adding up each feedstock’s individual contribution.6Waste and Biomass Valorization. Synergistic Effects of Co-Digestion on Biomethane Yield: Insights from Jatropha Cake, Poultry Dung, and Food Waste The practical takeaway is that biogas plant operators almost always benefit from blending feedstocks rather than relying on a single input.
Pretreatment for Stubborn Feedstocks
Not all organic matter breaks down easily. Lignocellulosic materials like straw, wood chips, and certain crop residues have a rigid structure built from cellulose, hemicellulose, and lignin that resists microbial attack. The enzymes involved in hydrolysis struggle to access the energy-rich cellulose locked behind lignin. Pretreatment, whether mechanical (grinding, chopping), thermal (steam explosion, hot water), chemical (dilute acid or alkali soaking), or biological (fungal treatment), aims to crack open that structure so the enzymes can get to work.7PubMed Central. Optimization of biogas yield from lignocellulosic materials with different pretreatment methods: a review
The right pretreatment method depends on the feedstock. Alkali pretreatment works well on straw because it dissolves lignin. Steam explosion is effective for woody material. For food waste, pretreatment is often unnecessary because it is already soft and easily hydrolyzed. Adding a pretreatment step costs energy and money, so it only makes sense when the feedstock would otherwise digest poorly enough to justify the extra investment.
Temperature, Ammonia, and Other Operating Parameters
Digesters typically run in one of two temperature ranges. Mesophilic systems operate around 35–37 °C, and thermophilic systems run hotter, usually 50–55 °C. Thermophilic digestion is faster and kills more pathogens, but it is also more fragile. One study comparing the two approaches with chicken manure found that the thermophilic reactor could tolerate lower ammonia concentrations before failing, and once it crashed, it could not be recovered, while the mesophilic reactor bounced back after dilution.8PubMed. Comparing mesophilic and thermophilic anaerobic digestion of chicken manure: Microbial community dynamics and process resilience Steady-state methane production in that study was about 0.29 liters per gram of volatile solids fed before ammonia levels rose and started suppressing the microbes.
Ammonia is one of the most common inhibitors in biogas production, and it is especially troublesome with nitrogen-rich feedstocks like poultry manure and slaughterhouse waste. The effect is not uniform across the microbial community. Research has shown that rising ammonia levels hit acetic acid and propionic acid degradation hardest, while butyric acid degradation and hydrogenotrophic methane production remain relatively unaffected. The acetoclastic methanogen Methanosaeta was completely replaced by the more ammonia-tolerant Methanosarcina, and similar shifts occurred among the bacteria responsible for breaking down propionic acid.9PubMed Central. Ammonia Inhibition of Anaerobic Volatile Fatty Acid Degrading Microbial Communities The practical message is that the damage ammonia does depends on which microbial species happen to dominate a given digester. Two digesters running on the same feedstock might respond differently to the same ammonia spike.
Reactor Designs
The simplest and most common digester type is the continuously stirred tank reactor, where the contents are mixed mechanically and feedstock flows in while digested material flows out at a steady rate. It is versatile, handles a range of feedstocks, and is straightforward to operate.
An alternative is the upflow anaerobic sludge blanket reactor, where liquid feedstock flows upward through a dense bed of granular sludge. This design is better suited to liquid wastes with lower solids content and can handle higher loading rates because the microbial biomass stays in the reactor rather than washing out with the effluent. A comparison using wheat straw hydrolysate showed that both designs could produce methane, but the sludge blanket reactor’s performance was more sensitive to loading rate and substrate concentration. The stirred tank peaked at about 297 milliliters of methane per gram of chemical oxygen demand removed, while the sludge blanket reached 267 milliliters per gram under different operating conditions.10PubMed. Effect of reactor configuration on biogas production from wheat straw hydrolysate
Other configurations include plug-flow digesters (common in farm-scale installations with thick slurry), covered lagoons (low-cost but slow), and two-stage systems that separate the acid-forming and methane-forming steps into distinct vessels to optimize each independently. The right choice depends on feedstock type, available budget, and the operator’s tolerance for complexity.
What Raw Biogas Actually Contains
Raw biogas leaving a digester is roughly 50–70 percent methane and 30–50 percent carbon dioxide, but it also carries a cocktail of minor impurities including hydrogen sulfide, ammonia, water vapor, siloxanes, and trace amounts of nitrogen and oxygen.11PubMed Central. Biogas impurities: environmental and health implications, removal technologies and future perspectives These impurities matter. Hydrogen sulfide is corrosive and damages engines, fuel cells, and pipework. Siloxanes, which come mainly from sewage sludge, form abrasive silica deposits when biogas is combusted. Ammonia can poison catalytic converters.12IOP Conference Series: Earth and Environmental Science. Hydrogen sulphide removal from raw biogas using novel coconut husk and sugarcane bagasse composite biochar adsorbent
If the biogas is only being burned in an on-site boiler for heat, removing hydrogen sulfide and drying the gas may be sufficient. But if it will power an engine or be upgraded for grid injection, the cleaning requirements become stricter.
Upgrading Biogas to Biomethane
Upgrading is the process of stripping out carbon dioxide and residual impurities to raise the methane content to 95 percent or higher. Grid injection in many countries requires 97 percent methane purity. Four main upgrading technologies are deployed at industrial scale: absorption-based systems (typically using water or chemical solvents), adsorption-based systems (pressure swing adsorption), membrane separation, and cryogenic processes. All of them primarily target carbon dioxide removal, so a pretreatment step to remove hydrogen sulfide and moisture usually comes first.13Energy Conversion and Management. An overview of biogas upgrading via pressure swing adsorption: Navigating through bibliometric insights towards a conceptual framework and future research pathways
Each technology has trade-offs. Water scrubbing is simple and does not require chemicals, but it uses large volumes of water. Amine scrubbing achieves high methane recovery rates but consumes energy for solvent regeneration. Pressure swing adsorption is compact and modular but loses some methane in the off-gas. Membrane systems have a small footprint and scale easily but may need multiple stages to hit the required purity. Plant operators choose based on gas volume, local energy costs, and whether a use exists for the separated carbon dioxide.
Using the Energy
The most common way to convert biogas into usable energy is with a combined heat and power engine. These gas engines burn the biogas to produce electricity while capturing the waste heat from the engine block and exhaust for space heating, drying, or industrial processes.14IET Renewable Power Generation. Testing the energy efficiency of CHP engines and cost‐effectiveness of biogas plant operation Total efficiencies (electrical plus thermal) can reach 80–90 percent, making them considerably more efficient than generating electricity alone. The electrical efficiency stays relatively stable even when the engine operates at partial load, which is useful for plants that vary their output.
Where natural gas grids exist, upgrading biogas to biomethane and injecting it is an alternative pathway. The biomethane becomes indistinguishable from fossil natural gas once it enters the pipeline, meaning it can serve any end use that natural gas does: heating, cooking, vehicle fuel, or feedstock for chemical production. Some countries also support the use of compressed or liquefied biomethane as a transport fuel for trucks and buses, where it offers a lower-carbon substitute for diesel.
Digestate as Fertilizer and Its Complications
Anaerobic digestion does not make organic matter vanish. It converts a fraction of the carbon into biogas and leaves behind a nutrient-rich residue called digestate, which retains most of the nitrogen, phosphorus, and potassium from the original feedstock. Digestate can serve as a soil amendment and reduce the need for synthetic fertilizers. Advanced biological treatment technologies, including anaerobic digestion, have been shown to achieve nutrient recovery efficiencies of 60–95 percent across diverse waste streams, while reducing environmental impacts by an estimated 15–45 percent compared to synthetic alternatives.15PubMed Central. Bio-Based Fertilizers from Waste: Nutrient Recovery, Soil Health, and Circular Economy Impacts
The picture is not entirely rosy, though. When feedstocks include animal manure from farms that use antibiotics, the digestate can carry antibiotic residues, heavy metals, and antibiotic resistance genes. Research on agricultural biogas plant digestate found resistance gene concentrations ranging widely, and concluded that applying this digestate to farmland creates a real risk of transferring antimicrobial resistance into the soil environment.16PubMed Central. Digestate from Agricultural Biogas Plants as a Reservoir of Antimicrobials and Antibiotic Resistance Genes-Implications for the Environment Thermophilic digestion reduces pathogen loads more effectively than mesophilic digestion, but neither fully eliminates resistant genes. This is an area where regulation is still catching up to practice in many countries.
Methane Leakage and Climate Accounting
Biogas energy is often framed as carbon-neutral because the carbon in the methane originally came from atmospheric carbon dioxide fixed by plants. That framing is correct in principle but incomplete, because methane leaking from the biogas supply chain is a potent greenhouse gas. A study of UK biogas plants measured methane losses ranging from 0.02 to 8.1 percent of total production, with an average of about 3.7 percent.17Waste Management. Quantification of methane emissions from UK biogas plants Globally, modeled estimates of supply-chain methane emissions from biogas and biomethane production may be more than twice as high as what the International Energy Agency has assumed, though still significantly lower than emissions from the oil and natural gas supply chain.18One Earth. How Biogas Energy Production Works: A Detailed Process
Where the feedstock comes from matters enormously for the lifecycle footprint. An analysis of European biogas plants found that methane emissions accounted for roughly 47 percent of total greenhouse gas impact on a 100-year warming basis when only positive emissions were counted. But plants running on waste-based feedstocks had much lower lifecycle emissions overall because they earn credit for diverting waste from other disposal methods, essentially treating energy as a valuable byproduct of waste management. In contrast, plants growing dedicated energy crops to feed their digesters carry the full emissions burden of cultivation, harvesting, and transport. The authors concluded that biogas can only truly qualify as a low-carbon energy source when it is produced from waste-based feedstocks and methane leakage is actively minimized.19Communications Sustainability. Majority of methane emissions from European biogas plant supply chains could be eliminated at no net cost
Biological Upgrading With Hydrogen
Conventional upgrading technologies remove carbon dioxide from biogas and vent or store it. An emerging alternative flips that approach: instead of discarding the carbon dioxide, hydrogenotrophic methanogens can convert it into additional methane by combining it with externally supplied hydrogen. This biological upgrading method essentially recycles the carbon dioxide fraction of the biogas into more fuel.20PubMed Central. Hydrogenotrophs-Based Biological Biogas Upgrading Technologies
The hydrogen can come from electrolysis powered by surplus renewable electricity, which creates an appealing link between biogas plants and the broader energy grid. When wind or solar generation exceeds demand, the excess electricity produces hydrogen, which the biogas plant converts to storable methane. The concept is still largely at the research and pilot stage, and the economics depend heavily on the cost of green hydrogen, which remains high. But it offers a potential route to higher methane yields from existing digesters without changing feedstocks or building entirely new infrastructure.
What Drives the Economics
Biogas plant profitability depends on a tangle of factors: feedstock cost and availability, gate fees for accepting waste, energy sale prices, equipment and maintenance costs, and policy incentives like feed-in tariffs or renewable energy certificates. Economic evaluations of manure-based biogas systems have shown profitability across a wide range of farm sizes, partly because the feedstock arrives for free or even generates a tipping fee.21Journal of Sustainable Development of Energy, Water and Environment Systems. Techno-economic Aspects of Electricity Generation from a Farm Based Biogas Plant
Upgrading biogas to biomethane or converting it into higher-value products like methanol adds revenue potential but also capital cost and complexity. An analysis of biogas-to-methanol routes found that at current methanol market prices, these conversion plants were economically unviable across all 27 EU countries studied, with electricity cost identified as the dominant variable. Breakeven methanol prices ranged from about 1,270 to 2,680 euros per tonne depending on the country and the electrolysis technology used, far above the baseline market price of around 884 euros per tonne.22PubMed Central. Techno-Economic Analysis of Biogas-to-Methanol via Integrated Oxy-Combustion and Electrolytic Routes Advanced conversion pathways remain a future prospect rather than a present business case for most operators. For now, the economics of biogas favor straightforward routes: burn the gas for heat and power on site, or upgrade and sell it as biomethane where grid-injection premiums exist.