How to compost and what happens as microbes break down waste
Composting household waste involves combining carbon-rich and nitrogen-rich materials with enough moisture and air for naturally occurring microorganisms to break down the organic matter. The microbial population changes as decomposition advances, and the remaining organic material becomes a soil amendment whose quality depends on its composition and maturity.
The biology of composting connects the composition of kitchen scraps and garden debris with the heat produced inside a heap and the properties of the eventual product. Molecular studies of microbial communities, comparisons between composting systems and university extension publications explain why different batches of waste follow different paths towards maturity.
How to compost household waste and what composting involves
A compost heap brings decomposable materials together in a place where naturally occurring organisms have access to their food. A commercial microbial starter is unnecessary for the initial colonisation of plant residues, since the organisms responsible for decay already inhabit the material (Colorado State University, 2022).
Green and brown materials
A leaf that has dried on the ground and a piece of fruit discarded from the kitchen represent different resources for microbes. University of Connecticut Extension (2026) classifies dry foliage, straw and shredded cardboard as browns and fruit scraps, vegetable remains and spent coffee grounds as greens. The terms describe their roles in a compost mixture rather than their appearance alone.
Carbon serves as a source of energy. Nitrogen enters microbial proteins, so a heap consisting almost entirely of plant material deficient in nitrogen presents a different nutritional environment from one containing plenty of fresh vegetable residues (University of Maryland, 2024). The organisms must obtain both elements from their surroundings as they multiply.
Suitable and unsuitable organic waste
Biodegradability alone does not establish suitability. Decomposers occur naturally on plant residues (Colorado State University, 2022). A home system containing diseased plants or seeded weeds presents a separate problem of survival during processing, since backyard compost does not necessarily maintain the temperatures required to destroy them (University of Connecticut, 2026).
Bins, piles and aeration
An enclosure is optional. Rutgers Cooperative Extension (2003) describes compost production in open heaps as well as bins, where the container holds organic matter together during the period of decay. Decomposition occurs inside the waste.
Air moves through gaps between pieces of waste. According to Colorado State University (2022), excess moisture, compaction and small particles are among the conditions linked to rotten odours. Small particles and compaction restrict the oxygen available to aerobic microbes (Colorado State University, 2022).
How microbes decompose organic matter in a compost pile
A heap changes chemically as its inhabitants feed. Microbes initially consume compounds that are accessible to them, but as those substrates disappear, the organic material remaining in the pile consists increasingly of substances that require other forms of biological processing (Briški and Vuković Domanovac, 2017; Antunes et al., 2016).
Bacteria, fungi and actinomycetes
The organisms associated with decomposition occupy different niches. In a study of green waste, Zhang and colleagues (2022) detected abundant Streptomyces, Myceliophthora and Aspergillus during the successive stages of composting. Streptomyces belongs to the filamentous bacteria known as actinomycetes, whereas the latter genera are fungi.
Their relative abundance can change. In the predominantly thermophilic compost studied by Antunes and colleagues (2016), temperatures of 50–75 °C appeared to exclude fungal activity. Fungal activity in the heated zoo material and fungal abundance in the green waste are distinct measurements (Antunes et al., 2016; Zhang et al., 2022).
Enzymatic breakdown of sugars, cellulose and lignin
Organic molecules differ in structure. Soluble substances become available during the early, moderate temperature stage, when mesophilic organisms rapidly metabolise readily degradable material (Briški and Vuković Domanovac, 2017). Sugars in damaged fruit tissue are an example of an accessible food source, whereas plant cell walls contain structural polymers that need to be dismantled.
Hemicellulose, cellulose and lignin persist at different rates. In the thermophilic system examined by Antunes et al. (2016), the researchers found preferential degradation of hemicellulose relative to cellulose and lignin. The dismantling of lignocellulosic tissue consequently proceeds through changes in its constituent polymers rather than through uniform disappearance of the whole structure.
Enzymes catalyse the reactions through which microbes obtain substrates from organic molecules. The degradation of structural carbohydrates depends on the chemical bonds within those polymers, and the succession of available carbon compounds alters the resources accessible to the decomposer community. The work by Zhang et al. (2022) also identifies lignin-derived structures among the precursors of humus during maturation.
Microbial respiration and heat production
A compost pile can heat itself. Metabolic reactions in microorganisms release energy, part of which appears as heat and raises the temperature of the surrounding waste (Briški and Vuković Domanovac, 2017). The increase originates in biological activity inside the pile, even though the temperature of the surrounding air also influences its thermal environment.
Aerobic respiration changes the mass of the waste. Carbon from the organic feedstock leaves in gaseous form, with carbon dioxide accounting for the principal carbon loss from microbial aerobic decomposition described by Li and colleagues (2023). Some carbon remains in the heap.
Heating, cooling and curing phases
Early colonisation takes place under moderate temperature conditions. As heat accumulates, the environment favours organisms adapted to high temperatures, and the microbial community shifts with the supply of degradable organic substrates (Briški and Vuković Domanovac, 2017).
Cooling signals another change in the habitat. Mesophilic microorganisms become active again during the final maturation period (Briški and Vuković Domanovac, 2017). Curing continues after active heating.
Hot composting, cold composting and vermicomposting
Different composting systems vary in the degree to which they accumulate heat and the animals involved in the breakdown of residues. Rutgers (2003) distinguishes fast and slow harvest methods.
Temperature and decomposition rates
Hot composting involves a concentrated period of microbial metabolism. In the comparison of green waste feedstocks by Haynes and Zhou (2016), municipal green waste composted without additions reached 37 °C.
This was below the thermophilic range. Adding garden waste or cattle manure raised the peak temperatures to 47 °C and 52 °C, respectively (Haynes and Zhou, 2016). Neither treatment reached the upper temperatures reported in the zoo study (Antunes et al., 2016).
Passive decomposition occurs over an extended period at moderate temperatures. The University of Maryland (2024) describes a cool composting method that takes about a year. In such a system, the continuing supply of garden residues can leave recently deposited material beside waste that has already undergone considerable biological processing.
Earthworms and microbial activity
Vermicomposting incorporates earthworms into the processing of organic material. The worms fragment their food and interact with the microbial community; decomposition consequently takes place in an environment modified by animal activity. Haynes and Zhou (2016) found differences in the physical characteristics of products generated by conventional composting and vermicomposting using matched feedstocks.
In their comparison, the vermicomposts had greater total pore space and macroporosity, with lower bulk density than the conventionally composted products (Haynes and Zhou, 2016). The properties of worm-processed material therefore depend partly on its mode of production. The response of flowering plants to the product is a separate experimental question, examined in research on vermicompost and Liatris spicata.
How finished compost changes garden soil
The finished product enters a second biological system when it is added to soil. Its physical structure and the organic compounds available to soil microbes affect its behaviour, while its stage of maturity influences the likelihood that it will interfere with the growth of plants (Bernal, 2026).
Organic matter and soil structure
Pore spaces are part of soil structure, whereas soil texture refers to the relative proportions of sand, silt and clay. University of Maryland Extension (2024) describes compost as a material that improves the physical condition and aeration of soil. Aeration is a physical property.
A compost's structure is itself a consequence of the previous processing environment. Haynes and Zhou (2016) measured differences in the pore characteristics and density of worm-processed and conventionally decomposed products. The researchers measured the amendments themselves.
Nutrient availability and soil organisms
Nitrogen contained in an amendment can become unavailable to plant roots when soil microorganisms incorporate it into their biomass. Bernal (2026) identifies nitrogen immobilisation as a risk of adding immature compost. The timing and form of nutrient release also distinguish compost from other amendments, a subject addressed in research comparing fertiliser types and soil properties under rice cultivation.
Compost also changes the resources encountered by resident organisms. In a survey of Swiss agricultural fields, Walder et al. (2026) reported a 50% increase in fungal network complexity associated with compost application. The researchers could not determine whether the organisms responding to compost originated in the material or were already present in the soil and stimulated by the amendment. The survey concerned agricultural fields, rather than gardens.
What experiments reveal about microbial succession during decomposition
Genetic analyses can track microbial succession. Studies of compost from a zoo and of green waste have used sequencing to characterise populations that would be difficult to follow by examining the physical appearance of the material alone (Antunes et al., 2016; Zhang et al., 2022).
Temperature and microbial diversity
Antunes and colleagues (2016) used DNA and RNA sequencing to investigate compost at São Paulo Zoo Park. They sampled two composting cells over 99 days, focusing mainly on ZC4. The predominantly thermophilic profile of 50–75 °C appeared to suppress fungal activity, although the mean temperature in ZC4 was 47.8 °C on day 99. Their findings concern an unusually hot operation and cannot be extended to compost heaps in which the material cools between additions.
In green waste compost, Zhang et al. (2022) identified microorganisms from bacterial and fungal genera throughout the successive phases. Detection and metabolic activity are different measurements. The substrate and the thermal history of the material are part of the description of a microbial community.
Carbon and nitrogen transformations
Some carbon leaves as gas. The review by Li et al. (2023) identifies carbon dioxide generated by aerobic decomposition as the principal route of carbon loss in compost. Other carbon remains in the compost matrix, where its molecular form changes during the course of decomposition and maturation.
During the maturation stage of the green waste experiment, Zhang et al. (2022) described the formation of humus from precursors including fulvic acid, amino acids and structures derived from lignin. Microbial processing thus involves both the degradation of original material and the assembly of new organic compounds.
Nitrogen follows a different route through the living community. Its incorporation into proteins supports the development of microbial biomass (University of Maryland, 2024). When nitrogen is present in excess relative to the carbon supply, the mixture may develop an ammonia odour (Colorado State University, 2022).
A 2026 review by Ali and colleagues describes how the heat profile and variations in oxygen supply select different populations of microbes involved in ammonification, ammonia oxidation and denitrification. Nitrogen can escape through volatilisation and incomplete denitrification (Ali et al., 2026). These microbial transformations are explained further in the nitrogen cycle.
Selected composting studies
Chen and colleagues (2023) compared treatments of Chinese medicine residues with and without added thermophilic microbial agents over 15 days. The seed germination index of the treated compost reached 98.7% on day 15 (Chen et al., 2023). The control endpoint is reported inconsistently in the publication. The difference concerns those materials and treatment conditions; it does not establish that an inoculum is necessary for home composting.
Study | Material and design | Measurement | Reported finding |
Antunes et al., 2016 | Two São Paulo Zoo Park composting cells, sequencing | Temperature and fungal activity | Predominantly 50–75 °C; fungal activity apparently excluded. |
Zhang et al., 2022 | Green waste, microbial analysis | Microbial genera | Streptomyces, Myceliophthora and Aspergillus remained abundant through the phases. |
Chen et al., 2023 | Chinese medicine residues, 15 days | Seed germination index | 98.7% with microbial agents. |
Haynes and Zhou, 2016 | Matched green waste feedstocks | Product pore characteristics | Greater total porosity and macroporosity in vermicomposts. |
Why decomposition slows down or produces unpleasant smells
A heap can contain ample biodegradable material but still offer unfavourable conditions for aerobic microorganisms. Water occupying the spaces in a compacted pile restricts the passage of air, and the resulting oxygen shortage is associated with foul odours (Colorado State University, 2022).
Moisture, oxygen and compaction
Moisture is necessary for metabolism within microbial cells. Too much water changes the physical environment outside them, especially when waste particles lie close together and restrict the spaces through which gases can move (Colorado State University, 2022). Oxygen limitation may consequently develop even in a heap exposed to air at its outer surface.
Carbon-to-nitrogen balance and particle size
The nitrogen content of a feedstock matters in relation to its carbon content. Colorado State University (2022) links ammonia odour with an excess of nitrogen relative to carbon, while the University of Maryland (2024) identifies nitrogen as a resource required for microbial protein synthesis.
Particle size has a separate physical effect. Very fine or compressed material restricts air supply, a condition identified in the Colorado State University (2022) description of oxygen deficiency in compost heaps. A mixture rich in nitrogen can therefore present both a nutrient imbalance and a structural constraint if its particles form a dense mass.
Anaerobic breakdown and methane
Anaerobic niches support organisms that produce methane. Li et al. (2023) describe the proliferation of methanogens during composting when conditions favour these organisms. The gas is a product of a different metabolic pathway from the aerobic respiration responsible for much of the carbon dioxide released by an active compost heap.
Ermolaev et al. (2014) sampled 18 household-managed composts on 13 occasions over a 1-year period. In the regression analysis, moisture content, mixing frequency and quantity of added waste were positively associated with methane emissions (Ermolaev et al., 2014). The study reflects actual household management and does not isolate mixing as an experimental treatment.
Pathogens and surviving weed seeds
Heat also affects sanitation. University of Connecticut Extension (2026) notes that domestic systems frequently fail to sustain heat for sufficient time to destroy every weed seed or plant pathogen. A heat measurement at a particular point in the heap therefore cannot establish the condition of every piece of material in the batch.
What is established about compost maturity and what remains uncertain
A mature compost is compatible with plant growth, and a stable compost has reached a stage of biological processing at which the remaining organic compounds support relatively limited decomposition activity (Bernal, 2026). Biological stability is necessary for maturity but is not sufficient on its own: mature compost must also be free of phytotoxic effects and plant pathogens (Bernal, 2026).
Compost maturity requires biological stability and suitability for plant growth; stability alone concerns the residual organic matter and microbial activity.
Stability and maturity indicators
Respiration is a measurable property of compost. Md Huzir and colleagues (2026) identify declining carbon dioxide release as an indicator of stability in respirometric assessments. Under comparable measurement conditions, this reflects the decline in the microbial processing of available organic matter.
A plant bioassay addresses a different aspect of quality. The absence of adverse effects on germination or subsequent growth is part of the definition of a mature compost in Bernal's 2026 review. The salinity of the material is also relevant because excessive concentrations of soluble salts can interfere with germination and growth (Md Huzir et al., 2026).
Variability between composting systems
Thresholds vary between indicators. In their review of quality assessment, Md Huzir et al. (2026) identify a lack of universal standards for moisture and electrical conductivity. Feedstocks vary chemically, and tests based on microbial respiration address a different property of the final material from tests based on salt content.
Research on individual systems can explain their own microbial changes without establishing the same progression for every garden heap. For example, fungal activity appeared restricted in the sustained high-temperature compost studied by Antunes et al. (2016), but abundant fungal genera were detected throughout green waste composting by Zhang et al. (2022). Comparisons of household systems that measure temperature history alongside respiration and plant responses are needed to establish how consistently the physical changes in a pile correspond to biological maturity.
Frequently asked questions
How long does it take to make compost?
The interval varies. Rutgers Cooperative Extension (2003) describes a slow method with a harvest after 12–18 months and a fast method with a harvest after 5–15 weeks. Those periods apply to the methods described, and a different mixture of organic materials may take a different length of time.
Can I compost in the winter?
Yes. The activity of microbes depends on the temperature within the heap, and the heat generated by metabolism can raise its internal temperature above that of its surroundings (Briški and Vuković Domanovac, 2017). A cold season may therefore slow the process, especially where a heap retains little of the heat produced inside it.
Do I need to add worms to a compost bin?
No. Conventional composting relies on microorganisms already present on plant residues (Colorado State University, 2022). Vermicomposting is a distinct method involving earthworms. In a comparison of matched feedstocks, the worm-processed products differed in pore structure and density from conventional composts (Haynes and Zhou, 2016).
Are coffee grounds suitable for backyard compost?
Yes. University of Connecticut Extension (2026) includes used coffee grounds among the nitrogen-rich green ingredients, in the same category as fruit and vegetable scraps. Dried leaves, straw and shredded cardboard belong to the contrasting category of brown materials because of their carbon content (University of Connecticut, 2026).
Does a compost pile need to be turned?
Turning is a way of modifying the physical conditions within the waste. Colorado State University (2022) identifies compaction, excess moisture and fine particles as factors that can lead to oxygen deficiency. Open heaps are also possible (Rutgers, 2003). The aeration requirement depends on the condition of the material.
Sources
- Antunes LP, Martins LF, Pereira RV, et al. Microbial community structure and dynamics in thermophilic composting viewed through metagenomics and metatranscriptomics. Scientific Reports. 2016;6:38915. DOI 10.1038/srep38915.
- Zhang Y, Chen M, Guo J, et al. Study on dynamic changes of microbial community and lignocellulose transformation mechanism during green waste composting. Engineering in Life Sciences. 2022;22(5):376–390. DOI 10.1002/elsc.202100102.
- Chen X, Zou Y, Li Q, et al. Effect of Thermophilic Microbial Agents on Crude Fiber Content, Carbohydrate-Active Enzyme Genes, and Microbial Communities during Chinese Medicine Residue Composting. ACS Omega. 2023;8(42):39570–39582. DOI 10.1021/acsomega.3c05442.
- University of Connecticut Extension. How to Get Started with Composting at Home: A Practical Guide. April 2026. https://extension.uconn.edu/publication/composting-at-home-guide/
- Colorado State University Extension. Making Compost. Reviewed October 2022. https://extension.colostate.edu/resource/making-compost/
- Haynes RJ, Zhou YF. Comparison of the chemical, physical and microbial properties of composts produced by conventional composting or vermicomposting using the same feedstocks. Environmental Science and Pollution Research International. 2016;23(11):10763–10772. DOI 10.1007/s11356-016-6197-0.
- Li M, Li S, Chen S, et al. Measures for Controlling Gaseous Emissions during Composting: A Review. International Journal of Environmental Research and Public Health. 2023;20(4):3587. DOI 10.3390/ijerph20043587.
- Ermolaev E, Sundberg C, Pell M, Jönsson H. Greenhouse gas emissions from home composting in practice. Bioresource Technology. 2014;151:174–182. DOI 10.1016/j.biortech.2013.10.049.
- Bernal MP. An overview of conventional and emerging aspects of compost: quality indicators for agricultural uses, emerging contaminants and technological innovations. Frontiers in Sustainable Food Systems. 2026;10:1785912. DOI 10.3389/fsufs.2026.1785912.
- Md Huzir N, Ahmad Asmadi A, Rosly MB, Tamunaidu P, Amin ANR. Composting as a pathway for organic waste valorization: substrate performance, process strategies, and quality benchmarks. Journal of Material Cycles and Waste Management. 2026;28:815–833. DOI 10.1007/s10163-025-02460-9.
- Walder F, Hartman K, Edlinger A, et al. Compost application more strongly shapes soil fungal than bacterial communities across arable fields. ISME Communications. 2026;6(1):ycag259. DOI 10.1093/ismeco/ycag259.
- Briški F, Vuković Domanovac M. Environmental microbiology. Physical Sciences Reviews. 2017;2(11):20160118. DOI 10.1515/psr-2016-0118.
- University of Maryland Extension. How to Make Compost at Home. July 12, 2024. https://extension.umd.edu/resource/how-make-compost-home
- Rutgers Cooperative Extension. Home Composting. August 2003. https://extension.rutgers.edu/fs811
- Ali B, Hafeez A, Imin N, Arshad A, Jerca IO, Cela F. Same Nodes, Different Flux: A Unified Microbial Framework for Nitrogen in Composting and Anaerobic Digestion. Nitrogen. 2026;7(3):94. DOI 10.3390/nitrogen7030094.
Related
How vermicompost affects growth and flowering in Liatris spicata
How fertiliser types affect rice yield and soil under SRI
The nitrogen cycle and how microbes move nitrogen through soil
Companion planting and what garden research says actually works
New Zealand Ferns and Allied Plants: A 1989 Field Guide
How to Grow Hydnophytum and Myrmecodia Ant-Plants
The plant cell and what makes it different from an animal cell