Compost is decomposition managed by microorganisms and time
Compost works because billions of microorganisms—bacteria, fungi, and other decomposers—consume the organic material you add and break it down into simpler compounds. As they feed, they generate heat, which speeds up the process. The result is a dark, crumbly, nutrient-rich material that looks nothing like the food scraps and leaves you started with. This happens in any pile left alone long enough, but you can control the speed and quality by managing moisture, air, and the mix of materials.
The process is not mysterious or difficult. It follows the same decomposition that happens on a forest floor or in a landfill—you are straightforward creating conditions that make it happen faster and in a smaller space.
Key Takeaways
- Microorganisms break down organic matter by consuming it as food, and their activity generates the heat that drives decomposition.
- A compost pile needs the right balance of nitrogen-rich materials (food scraps, grass clippings) and carbon-rich materials (leaves, wood chips) to decompose efficiently.
- Moisture and air are as important as the materials themselves—too wet and the pile becomes anaerobic; too dry and decomposition slows to a halt.
- A well-managed hot compost pile can produce finished compost in two to three months, while a passive pile takes six months to a year or longer.
- Finished compost is ready to use when it is dark brown, crumbly, and smells earthy rather than like rotting food.
The role of microorganisms in breaking down material
Bacteria are the primary workers in a compost pile. They colonize the organic material almost when ready and begin secreting enzymes that break down complex molecules—cellulose in plant fiber, proteins in food scraps, fats in oils—into simpler compounds they can absorb and use for energy. As bacteria reproduce and consume material, they generate heat as a byproduct of metabolism. A hot compost pile can reach 130 to 150 degrees Fahrenheit in the center within days.
Fungi arrive later and work on tougher materials like wood chips and lignin that bacteria struggle with. They also help break down complex carbon compounds. Actinomycetes, a type of bacterium that forms thread-like filaments, appear in the later stages and give finished compost its earthy smell. Protozoa and nematodes feed on bacteria and fungi, which keeps the microbial population in balance and releases nutrients that plants can use.
You never need to add microorganisms to a compost pile. They arrive on the materials themselves—in soil clinging to roots, on the surface of leaves, in the air. Your job is to create an environment where they thrive.
Why carbon and nitrogen matter
Carbon-rich materials (called "browns") include dry leaves, straw, wood chips, shredded paper, and cardboard. They are high in cellulose and lignin, which decompose slowly but provide the energy microorganisms need. Nitrogen-rich materials (called "greens") include fresh grass clippings, food scraps, coffee grounds, and manure. They decompose quickly and provide the protein microorganisms need to build new cells and reproduce.
The ideal ratio is roughly 25 to 30 parts carbon to 1 part nitrogen by weight, though compost works with ratios anywhere from 20:1 to 40:1. If your pile has too much nitrogen, it will smell like ammonia and decompose into a slimy mass. If it has too much carbon, decomposition will be slow and the pile may not heat up. Most home gardeners do not measure precisely—they layer browns and greens and adjust by feel. A pile that smells like fresh earth and feels warm to the touch is usually in balance.
The reason the ratio matters is that microorganisms use carbon for energy and nitrogen to build proteins. If nitrogen runs out, they stop reproducing and decomposition slows. If carbon runs out, they have nothing to burn for energy and the pile stalls.
How moisture and air keep decomposition moving
Microorganisms need water to survive and to transport nutrients through the pile. Compost should feel like a wrung-out sponge—moist enough that water drips if you squeeze a handful, but not so wet that water runs out. If the pile is too dry, decomposition nearly stops. If it is too wet, air cannot reach the center and the pile becomes anaerobic, meaning decomposition happens without oxygen. Anaerobic decomposition is slow, produces methane and hydrogen sulfide (which smell like rotten eggs), and creates a slimy, airless mass.
Air is equally critical. Aerobic decomposition—the kind that happens with oxygen present—is much faster and hotter than anaerobic decomposition. Turning the pile with a fork or shovel every week or two breaks up compacted material, lets air in, and redistributes the hottest material from the center to the edges so everything decomposes evenly. A pile that is turned regularly can finish in two to three months. A pile left alone (passive composting) takes six months to a year because decomposition happens more slowly without regular aeration.
In practice, this means checking the pile every week or two. If it smells sour or like ammonia, add dry material and turn it. If it feels dry, add water or fresh green material. If it feels cold and is not decomposing, it probably needs more nitrogen or better aeration.
The stages of decomposition from start to finish
Stage one (days 1 to 7): Mesophilic bacteria colonize the pile and begin breaking down easily digestible material like sugars and proteins. The pile warms up gradually. You may see steam rising on cool mornings.
Stage two (days 7 to 21): The pile reaches its hottest temperature as thermophilic bacteria take over. These heat-loving microorganisms work fastest at 130 to 150 degrees Fahrenheit and break down tougher materials. Pathogens and weed seeds are killed by the heat. The pile shrinks noticeably as material is consumed.
Stage three (weeks 3 to 8): The pile cools as easily decomposable material runs out. Fungi and actinomycetes become more active. The material begins to look dark and crumbly rather than like recognizable scraps and leaves.
Stage four (weeks 8 onward): Decomposition continues slowly at ambient temperature. Protozoa and nematodes feed on microorganisms, and the material stabilizes into a form that plants can use. This stage can take weeks or months depending on how much woody material is in the pile.
How to tell when compost is finished and ready to use
Finished compost is dark brown or black, crumbly, and smells earthy—like soil after rain. You should not be able to identify the original materials. If you can still see recognizable food scraps, leaves, or wood chips, the compost is not finished. It will continue to decompose in the soil or in a garden bed, but it may tie up nitrogen as it does, which can slow plant growth temporarily.
A straightforward test is to squeeze a handful. Finished compost holds together loosely but falls apart easily. Partially finished compost may feel dense or slimy. If you are unsure, let it sit for another few weeks. There is no harm in waiting—compost does not go bad once it is finished.
You can use partially finished compost in garden beds or as mulch, but fully finished compost is better for potting mixes and for mixing into soil before planting. The difference is that finished compost has stable nutrients and will not continue to heat up or tie up nitrogen as it decomposes further.
Common problems and what causes them
Pile smells like ammonia or rotten eggs: The pile is too wet, too dense, or has too much nitrogen. Turn it, add dry material like leaves or shredded paper, and break up compacted areas. If it smells like rotten eggs specifically, it is anaerobic—turn it more aggressively to introduce air.
Pile is not heating up: It probably does not have enough nitrogen, is too dry, or is too small. Add fresh grass clippings or food scraps, water it, and turn it. A pile needs to be at least 3 feet by 3 feet by 3 feet to generate significant heat. Smaller piles decompose, but more slowly.
Pile is attracting rodents or insects: You are likely adding meat, dairy, oils, or other foods that decompose slowly and smell attractive to pests. Bury food scraps deep in the center of the pile, avoid animal products, and make sure the pile is covered or enclosed. Finished compost should not attract pests.
Compost is still wet and slimy after weeks: The pile is anaerobic or has too much moisture. Turn it thoroughly, add dry material, and let it dry out for a few days before turning again. If it continues to be slimy, you may need to add more carbon-rich material and reduce watering.
Frequently Asked Questions
How long does it really take to make compost?
A hot compost pile that is turned regularly can produce finished compost in two to three months. A passive pile left alone takes six months to a year or longer. The difference is aeration and temperature. Turning the pile every week or two speeds decomposition dramatically because it introduces air and redistributes heat.
Can I compost meat, dairy, or oils?
Technically yes, but it is not recommended for home compost piles. These materials decompose slowly, smell strongly, and attract rodents and insects. If you want to compost them, bury them deep in the center of a hot pile and turn it frequently. Finished compost from a pile that included meat or dairy should cure for several months before use.
What happens if I do not turn my compost pile?
It will still decompose—just much more slowly. Without turning, the pile remains cooler and decomposition is driven mainly by fungi and bacteria that work without oxygen. You can expect finished compost in six months to a year instead of two to three months. Passive composting works fine if you have time and space.
Can I use compost that still has chunks in it?
Yes. Partially finished compost works in garden beds and will continue to decompose in the soil. It is best for established gardens rather than potting mixes, where you want uniform texture. If you want to use it in pots, screen out the chunks and return them to the pile to finish decomposing.
Does compost temperature matter for killing weed seeds and pathogens?
Yes. A hot pile that reaches 130 to 150 degrees Fahrenheit for at least a week will kill most weed seeds and pathogens. A cool pile will not. If you want to be sure your compost is pathogen-free, use hot composting with regular turning, or let finished compost cure for several months before use.