This article is free to read. Creating a lesson uses your daily or stored credits; review the language and settings before starting.
How does composting work?
Quick answer
Composting is the aerobic decomposition of organic matter by microorganisms. Bacteria and fungi consume plant scraps, using oxygen and releasing heat, carbon dioxide, and water. This process breaks down materials into humus, a dark, nutrient-rich substance that improves soil health and supports plant growth.
Composting works when bacteria, fungi, and other decomposers break down organic matter into simpler substances, using oxygen and releasing heat, carbon dioxide, and water. The result is humus, a dark, nutrient-rich material that improves soil structure and feeds plants.
Step by step
- Collect a mix of 'greens' (nitrogen-rich materials like food scraps and grass) and 'browns' (carbon-rich materials like leaves and cardboard).
- Chop or shred materials into smaller pieces to increase surface area for microbes to attack.
- Layer greens and browns in a pile or bin, keeping it as moist as a wrung-out sponge and turning it regularly to supply oxygen.
- Microbes multiply and heat the pile to 55–65°C (131–149°F), speeding decomposition and killing pathogens.
- As easy food runs out, fungi break down tougher compounds, and the pile cools and matures.
- After weeks to months, the compost becomes dark, crumbly humus, ready to use in gardens.
Key things to understand
- Composting starts when microorganisms like bacteria and fungi begin consuming easily degradable compounds such as sugars and starches.
- As they feed, microbes multiply rapidly, and their metabolism releases heat, raising the pile's temperature to 55–65°C (131–149°F).
- High temperatures speed up decomposition and kill many pathogens and weed seeds, while oxygen keeps the process aerobic and odor-free.
- Once the easy food is gone, fungi and actinomycetes break down tougher materials like cellulose and lignin, and the pile cools.
- The finished compost, called humus, is a stable, dark, crumbly material rich in nutrients and beneficial microbes.
Labelled diagram
- Organic waste
Greens and browns are mixed; greens provide nitrogen, browns provide carbon.
- Microbial activity
Bacteria and fungi consume easy compounds, multiplying and releasing heat.
- Hot phase
Temperatures reach 55–65°C, speeding decomposition and killing pathogens.
- Cooling and maturing
Fungi break down tough materials like cellulose and lignin as the pile cools.
- Finished compost
Dark, crumbly humus is ready to enrich soil and feed plants.
Real-world examples
- A backyard compost bin in a temperate climate turns kitchen scraps and yard waste into compost in about 2–3 months during summer.
- San Francisco's mandatory composting program collects food scraps from residents and businesses, turning them into compost for local farms.
- Vermicomposting with red wigglers in a worm bin is popular for apartment dwellers to compost food scraps indoors without odors.
- Large-scale windrow composting at farms uses mechanical turners to aerate long piles of manure and crop residues, producing compost for fields.
Common mistake
✗ Myth: Composting is just letting food rot.
✓ Fact: Composting is a controlled aerobic process that requires a balance of materials, oxygen, and moisture to work efficiently. Unmanaged rotting heaps often turn anaerobic and smell foul, while proper composting stays aerobic and smells earthy.
People also ask
What causes compost to heat up?
Why is my compost not breaking down?
Can you compost in winter?
What can I compost?
Why does my compost pile smell bad?
How long does composting take?
Do I need to add worms to compost?
Part of the guide: Everyday Science: Light, Heat & Matter →

