Compost is decomposed organic material that turns food scraps and yard waste into dark, crumbly soil
Compost is what you get when bacteria, fungi, and other microorganisms break down dead plant material, food waste, and other organic matter over time. The result looks like rich, dark soil and smells earthy—not like garbage. You can make it in a bin in your kitchen, in a pile in your yard, or buy it finished from a garden center.
The process works because microorganisms need three things to do their job: organic material to eat, oxygen, and moisture. When you have all three, decomposition happens naturally. A well-managed compost pile can turn kitchen scraps and leaves into usable compost in anywhere from a few weeks to several months, depending on how you manage it.
Key Takeaways
- Compost forms when microorganisms break down dead plant material and food scraps in the presence of oxygen and moisture.
- You can compost fruit and vegetable scraps, coffee grounds, eggshells, grass clippings, and leaves, but not meat, dairy, or oils.
- A compost pile needs the right balance of "brown" materials (carbon-rich, like dry leaves) and "green" materials (nitrogen-rich, like food scraps) to decompose efficiently.
- Finished compost is ready to use when it is dark, crumbly, and no longer smells like rotting food.
What goes into compost and what does not
Green materials are nitrogen-rich and include fresh grass clippings, fruit and vegetable scraps, coffee grounds, tea bags, and plant trimmings. Brown materials are carbon-rich and include dry leaves, shredded paper, cardboard, straw, and wood chips. You need both types for compost to work well—roughly three parts brown to one part green by volume, though the exact ratio is not critical for home composting.
Do not add meat, fish, bones, dairy products, oils, fats, or pet waste to a home compost pile. These materials either attract rodents and insects, create foul odors, or introduce harmful pathogens. Diseased plants and weeds that have gone to seed are also best left out, since home compost piles do not always get hot enough to kill seeds or disease spores.
How decomposition actually happens
Decomposition is a two-stage process. In the first stage, bacteria and fungi break down the easiest materials—sugars, starches, and soft plant tissue. This stage is fast and generates heat, which is why an active compost pile can feel warm to the touch. The pile shrinks noticeably as material breaks down.
In the second stage, slower-acting microorganisms break down tougher materials like cellulose and lignin (the stuff that makes wood stiff). This stage takes longer and generates less heat. The pile cools down, and the material becomes darker and more uniform in texture. When you can no longer see the original materials and the pile smells like soil rather than rotting food, it is finished.
The difference between hot and cold composting
Hot composting is faster and requires more work. You build the pile all at once with the right mix of materials, turn it regularly (usually every week or two), and keep it moist. A well-managed hot pile can produce finished compost in four to eight weeks. The internal temperature reaches 130 to 150 degrees Fahrenheit, which kills most weed seeds and pathogens.
Cold composting is slower and requires almost no work. You add materials as you have them, do not turn the pile, and let time do the work. This method can take six months to two years, depending on the climate and materials. The pile never gets as hot, so weed seeds and pathogens may survive, but the end result is the same.
Signs your compost is ready to use
Finished compost is dark brown or black, crumbly, and uniform in texture. You should not be able to identify the original materials—no visible food scraps, leaves, or paper. It smells earthy and pleasant, like soil after rain, not like rotting food or ammonia.
If your pile still has recognizable chunks or smells sour, it needs more time. You can use partially finished compost in the bottom of a planting hole or mix it into soil, but fully finished compost is easier to work with and less likely to tie up nitrogen as it continues to break down in the soil.
Where to use finished compost
Mix finished compost into garden beds and vegetable plots to improve soil structure and add nutrients. Spread it on top of lawn as a thin layer to feed grass without smothering it. Use it as mulch around trees and shrubs, or blend it into potting soil for container plants. You can also add it to houseplant soil to give indoor plants a nutrient boost.
Start with a thin layer—one to two inches worked into the top few inches of soil—and see how your plants respond. You can always add more next season. Compost is gentle enough that you cannot really overdo it, though very thick layers can prevent water from reaching the soil below.
Common mistakes that slow down or stop decomposition
The most common mistake is adding too much green material at once. A pile that is mostly food scraps or fresh grass becomes wet, smelly, and anaerobic (lacking oxygen), which slows decomposition and attracts flies. Add greens gradually and mix them with brown materials as you go.
The second mistake is not turning the pile if you are doing hot composting. Turning introduces oxygen, which bacteria need to work fast. If you do not turn, decomposition still happens, but it takes much longer. The third mistake is letting the pile dry out. Compost needs moisture like a wrung-out sponge—damp but not soggy. If it dries out completely, microorganisms go dormant and decomposition stops.
Frequently Asked Questions
Can I compost in an apartment or small space?
Yes. A small countertop bin or a sealed bucket under the sink works for storing scraps until you can take them to a community garden or drop-off site. Some cities have municipal composting programs that collect food scraps from apartments. If you have a balcony or patio, a compact tumbler bin or worm bin takes up minimal space and produces finished compost in weeks to months.
Why does my compost smell bad?
A rotten or ammonia smell means the pile is too wet, has too much green material, or lacks oxygen. Turn the pile to add air, add brown materials like dry leaves or shredded paper, and reduce watering. A healthy pile smells earthy or like forest floor. If the smell is overwhelming, you may have added meat or dairy by mistake—remove it if you can identify it.
How long does compost actually take?
Cold composting takes six months to two years. Hot composting with regular turning takes four to eight weeks. The speed depends on pile size, material mix, moisture, temperature, and how often you turn it. Smaller piles decompose slower because they do not retain heat as well. In cold climates, winter slows everything down.
Can I use compost right away or does it need to cure?
Finished compost is ready to use when ready. Some gardeners let it sit for a few weeks after it stops heating up, but this is optional. If you use partially finished compost, it will continue to decompose in the soil, which can temporarily tie up nitrogen. Fully finished compost does not have this problem.
What if I do not have space for a compost pile?
You can buy finished compost from a garden center, nursery, or landscape supply company. Many municipalities also give away free compost made from collected yard waste. Check your city or county website for drop-off locations. Finished compost is the same whether you made it or bought it—it improves soil structure and adds organic matter either way.