Composting for beginners is one of those topics that sounds more complicated than it actually is, and that reputation for complexity stops a lot of people from ever starting. The basic idea is almost embarrassingly simple: you collect organic material, pile it up in a reasonable way, and over time it breaks down into dark, crumbly, nutrient-rich material that makes your garden soil dramatically better. The science behind it involves billions of microscopic organisms doing exactly what they were built to do. Your job is mostly to give them a good environment and stay out of their way.
That said, there is a real difference between a pile that produces finished compost in two to three months and one that just sits there looking unpleasant for two years. Understanding why compost works, what feeds the process, and what throws it off is what separates gardeners who swear by their compost bins from those who abandoned theirs by midsummer. This guide covers all of it: what goes in, what absolutely does not, how to balance your pile, why it might be going wrong, and how to push the whole process along significantly faster.
According to the U.S. Environmental Protection Agency’s guidance on home composting, food scraps and yard waste together make up more than 28 percent of what Americans throw away, all of which could be composted instead of going to a landfill. Beyond the environmental upside, the finished product, called humus or finished compost, is genuinely one of the best things you can put in a vegetable bed or planting area. It improves drainage in clay soils, improves water retention in sandy ones, adds nutrients, and feeds the microbial ecosystem that plants depend on. If you are already interested in growing your own food and understanding what good soil actually means, composting is the logical next step.
In This Article

How Composting Actually Works
Composting is fundamentally a biological process. A healthy compost pile is home to an enormous community of microorganisms, bacteria and fungi primarily, that consume organic material and break it down into simpler compounds. As they work, they generate heat, which is why an active compost pile can reach temperatures between 130 and 160 degrees Fahrenheit in its core. That heat is both a sign that things are working and a functional part of the process, because it kills weed seeds, pathogens, and insect eggs that might otherwise survive.
Beyond bacteria and fungi, a compost pile hosts a whole secondary community: protozoa that eat bacteria, nematodes that eat fungi and bacteria, beetles, mites, millipedes, and earthworms all participate in breaking down larger chunks of material into progressively smaller pieces. The earthworms, which tend to move into the outer cooler layers of a pile rather than the hot center, are particularly efficient at processing half-decomposed organic matter into fine, nutrient-dense castings.
The whole system requires four inputs to work well: carbon-rich material, nitrogen-rich material, moisture, and oxygen. Get those four things reasonably balanced and the microbial community will do the rest on its own. Let any one of them fall too far out of range and the pile either stalls, smells, or both. That is really the whole game at the conceptual level, and everything else in composting knowledge flows from understanding those four inputs.
Aerobic vs. Anaerobic Decomposition
Decomposition happens in two very different ways depending on whether oxygen is present. Aerobic decomposition, the kind that happens in a well-managed compost pile with good airflow, is fast, produces heat, and does not generate significant odors. The byproducts are carbon dioxide, water vapor, and heat, all of which dissipate harmlessly.
Anaerobic decomposition happens when a pile is compacted, waterlogged, or too densely packed for air to penetrate. It is much slower and produces hydrogen sulfide and other volatile compounds that smell like sewage or rotten eggs. If your compost pile smells bad, it is almost always because it has gone anaerobic in some section. The fix is almost always the same: add dry, coarse material and turn the pile to reintroduce oxygen.
Greens and Browns: The Carbon-to-Nitrogen Ratio Explained
The single most important concept in composting is the carbon-to-nitrogen ratio, usually written as C:N. The bacteria that power composting need both carbon for energy and nitrogen to build proteins and reproduce. If the ratio is off in either direction, the process slows down dramatically.
In practice, composters divide materials into two informal categories: greens and browns. Greens are nitrogen-rich materials: fresh grass clippings, vegetable scraps, coffee grounds, fruit peels, fresh garden trimmings. Despite the name, greens do not have to be green in color. Coffee grounds are brown and coffee-colored but are nitrogen-rich and function as a green in compost terms. Browns are carbon-rich materials: dried leaves, straw, cardboard, paper, wood chips, sawdust. Again, the color is not always literal. What matters is the C:N ratio of the material.
The ideal ratio for fast, hot composting is roughly 25 to 30 parts carbon to 1 part nitrogen by weight. In practical layering terms, most experienced composters aim for roughly two to three parts browns by volume for every one part greens. This is not a precise formula, and you will find slightly different ratios recommended in different sources. The key point is that browns should substantially outnumber greens in your pile, because almost every beginner makes the opposite mistake and ends up with a wet, slimy, ammonia-smelling mass that is too nitrogen-heavy.
| Material | Category | Approx. C:N Ratio | Notes |
|---|---|---|---|
| Fresh grass clippings | Green (N-rich) | 15:1 to 20:1 | Add in thin layers; clumps go anaerobic fast |
| Vegetable scraps | Green (N-rich) | 15:1 to 20:1 | Bury under browns to deter pests |
| Coffee grounds | Green (N-rich) | 20:1 | Filters count as browns; grounds are greens |
| Fresh manure (chicken) | Green (N-rich) | 7:1 to 10:1 | Very hot activator; balance with heavy browns |
| Dry autumn leaves | Brown (C-rich) | 40:1 to 80:1 | Best all-purpose brown; shred for faster breakdown |
| Cardboard (plain) | Brown (C-rich) | 350:1 to 500:1 | Shred or tear; whole sheets repel water |
| Straw (not hay) | Brown (C-rich) | 75:1 to 110:1 | Good structural material; hay contains weed seeds |
| Wood chips | Brown (C-rich) | 400:1 to 500:1 | Breaks down slowly; best for structure and air pockets |
| Newspaper (plain print) | Brown (C-rich) | 170:1 | Shred; soy-based inks are fine, glossy inserts are not |

What to Put in Your Compost Pile
The list of what you can compost is significantly longer than most people realize. Almost any organic material will eventually break down, and the question is really about whether a given material will contribute positively to the process or cause problems in the meantime.
Kitchen Scraps That Work Well
Vegetable trimmings and peels are the backbone of most kitchen compost collections: carrot tops, onion skins, lettuce that has gone past its prime, pepper cores, corn cobs, the woody ends of asparagus. Fruit scraps work equally well, including citrus peels, apple cores, melon rinds, and overripe berries. There is an old myth that citrus peels and onions are harmful to compost because they can slow down or deter earthworms in very high concentrations, but in reasonable amounts mixed into a balanced pile they break down fine and cause no problems.
Coffee grounds are one of the most valuable kitchen additions. They are genuinely nitrogen-rich, have a slightly acidic pH that most garden plants tolerate well, and break down quickly. The paper filters can go straight in with them and count as a brown material. Used tea leaves and bags work similarly, though you should check that tea bags are not made of nylon mesh, which does not decompose.
Eggshells break down slowly and do not contribute meaningful nitrogen, but they are not harmful, and over time they add a small amount of calcium to finished compost. Crush them before adding to speed things up. Plain bread, cooked grains, and cooked vegetables without dairy or meat sauces can go in a well-managed covered bin, though they can attract pests if the pile is open and not properly buried under browns. Some composters skip cooked food entirely for simplicity, which is a perfectly reasonable approach when you are just getting started.
Yard and Garden Material
Dry autumn leaves are the gold standard of brown material. They are free, available in large quantities in most climates, and have an ideal carbon ratio. The only catch is that whole, intact leaves can mat together and create impermeable layers that repel water. Running a lawn mower over a pile of leaves before adding them, or shredding them in a bag with a string trimmer, dramatically speeds their decomposition and prevents matting.
Fresh grass clippings are a potent nitrogen source but come with a significant caveat: add them in thin layers, no more than two to three inches at a time, always topped with browns. A thick layer of fresh clippings will compact almost immediately into a dense, slimy, anaerobic mat that smells strongly of ammonia. Spread them out and cover them and they are excellent. Pile them in a thick clump and you will regret it.
Garden trimmings, spent plants, deadheaded flowers, and weeds that have not set seed all go in without issue. If you are putting in weeds that have gone to seed, the question is whether your pile gets hot enough to kill the seeds. A passively-managed pile that never heats up significantly should not get diseased or seedy plant material, because those will survive and end up back in your garden. An actively managed hot pile that reaches 130 to 160 degrees for several days handles this material safely.
Paper and Cardboard
Plain corrugated cardboard, torn into pieces and dampened, is an excellent brown material. It provides carbon, creates air pockets, and breaks down within a season in a well-managed pile. Remove tape and staples before adding. Glossy, coated cardboard from cereal boxes and similar packaging contains clay coatings and potentially problematic inks and should stay out. Plain newspaper printed with soy-based inks is fine shredded. Paper towels and plain paper bags work well. Heavily printed or glossy paper does not.

What to Leave Out (and Why)
The exclusion list for composting is shorter than the inclusion list, but the reasons behind each exclusion are worth understanding, because some of them are absolute and others are more situational than most guides suggest.
Meat, Fish, and Dairy
Meat, fish, bones, and dairy products should not go into a standard home compost pile. They decompose through a different process than plant matter, they attract significant pest activity including rats and raccoons, and they generate extremely unpleasant odors during decomposition. This is not a matter of whether they will eventually break down (they will) but whether the process creates problems you do not want to manage in a residential backyard setting.
The exception to this rule is a specific composting method called bokashi, which uses fermentation with specific inoculants to pre-digest meat and dairy before they go into a traditional pile or buried directly into soil. Bokashi is a genuinely useful system for households that produce a lot of food waste including cooked and animal-based scraps, but it operates on different principles and should be understood as a separate technique.
Diseased Plant Material and Invasive Weeds
Plants affected by fungal diseases like powdery mildew, blight, or black spot should not go into a passively managed compost pile. The disease spores can survive composting if the pile does not get hot enough, and you risk spreading the pathogen back into your garden with the finished compost. The same logic applies to plants affected by bacterial wilts or viruses. When in doubt, bag diseased plant material and dispose of it separately.
Weeds that have already gone to seed are another category requiring judgment. Weed seeds can survive cool composting and germinate enthusiastically when you spread the finished product. Either avoid seedy weeds entirely or commit to a hot composting method that consistently reaches temperatures above 131 degrees Fahrenheit, which is the threshold at which most weed seeds are killed according to university extension research.
Pet Waste and Human Waste
Dog and cat feces should not go into a standard home compost pile intended for use in vegetable gardens. They can contain pathogens including E. coli, Salmonella, and parasites that require very high sustained temperatures to be safely eliminated. Some municipalities run large-scale hot composting operations that handle pet waste safely, but this is not something to attempt in a home bin. Rabbit, guinea pig, hamster, and other small herbivore droppings are a different matter: they are safe to compost and are nitrogen-rich additions.
Treated Wood and Certain Papers
Pressure-treated lumber scraps, painted or stained wood, and plywood or particleboard all contain chemical preservatives, resins, or adhesives that do not belong in compost. Plain untreated wood chips and sawdust from natural, untreated wood are fine in moderate quantities as carbon sources. Glossy paper, receipts printed on thermal paper, and heavily colored paper products should stay out due to coatings and inks.
| Material | Safe to Compost? | Notes |
|---|---|---|
| Vegetable and fruit scraps | Yes | Core green material; bury under browns |
| Coffee grounds and filters | Yes | Grounds are greens; paper filters are browns |
| Eggshells | Yes | Crush first; adds calcium slowly |
| Dry autumn leaves | Yes | Best all-purpose brown; shred to prevent matting |
| Plain cardboard (torn, dampened) | Yes | Remove tape and staples first |
| Fresh grass clippings | Yes | In thin layers only; thick clumps go anaerobic |
| Herbivore droppings (rabbit, guinea pig) | Yes | Excellent activator; safe for food gardens |
| Plain bread and cooked grains (no sauce) | Maybe | Use covered bin; bury deep under browns |
| Diseased plant material | Maybe | Only in actively hot piles (130+ F consistently) |
| Meat, fish, bones | No | Attracts pests; odor problems in residential piles |
| Dairy products | No | Same pest and odor issues as meat |
| Dog and cat waste | No | Pathogen risk; not safe for home vegetable garden use |
| Treated or painted wood | No | Chemical preservatives and resins contaminate compost |
| Glossy paper and thermal receipts | No | Coatings and inks do not break down safely |
How to Speed Up Composting
A passively managed compost pile, one that you simply add to occasionally without active management, will produce finished compost. It will just take a long time, anywhere from one to three years depending on your climate and materials. If you want finished compost in two to three months, you need to actively manage the pile, and the interventions that make the biggest difference are not complicated.
Particle Size
The microorganisms doing the work of decomposition operate on the surface area of the materials they consume. Smaller pieces mean more surface area exposed, which means faster breakdown. A whole cabbage leaf might take months to fully decompose. The same leaf shredded or torn into rough two-inch pieces will be gone in weeks. This principle applies to everything in the pile: shred cardboard instead of laying in whole pieces, run a mower over dried leaves, chop large vegetable scraps rather than tossing them in whole, and chip or shred woody branches if you want them to break down in a single season rather than several years.
Woody material is the exception where many beginners give up speed for convenience. A pile of wood chips will take years to break down and is better used as a mulch layer around trees and shrubs than as a primary compost ingredient. If you are adding woody garden prunings, chipping them first is the difference between a seasonal batch of compost and a pile that is still sitting there unchanged two years later.
Moisture Management
The ideal moisture level for a compost pile is often described as a wrung-out sponge: damp throughout, but not dripping or waterlogged when you squeeze a handful. Too dry and microbial activity slows to almost nothing. Too wet and you get anaerobic conditions. In most climates with moderate rainfall, a covered or partially covered pile stays at a reasonable moisture level without intervention. In very dry climates or during drought, you may need to water the pile occasionally. In very wet climates or during rainy seasons, covering the pile to prevent waterlogging makes a meaningful difference.
The materials you add affect moisture balance as well. Fresh kitchen scraps and green garden material bring in moisture. Dry leaves and cardboard absorb it. When the pile seems too wet and compacted, adding dry browns and turning the pile to aerate it almost always resolves the problem within a few days.
Turning and Aeration
Turning the pile is the single most impactful thing you can do to speed up composting. When you turn a pile, you move material from the outer, cooler edges into the center where temperatures are highest, you break up compacted areas, and you reintroduce oxygen throughout. A pile that is turned every week or two can produce finished compost in as little as four to six weeks under good conditions. A pile that is never turned takes one to three years.
You do not need a fancy system to turn a compost pile. A pitchfork or digging fork works perfectly. The key is to move material from the outside to the inside and vice versa, not just stir the top. If you are using a single bin, turning means temporarily piling the material outside the bin, then forking it back in. A two-bin or three-bin system makes turning much easier: you fork the contents from one bin into the adjacent empty one, which automatically moves outer material to a new center position. If you are considering setting up a dedicated composting area, a look at reviewed options for compost bins at different price points and yard sizes will help you match the system to how actively you plan to manage your pile.
Using Activators
Compost activators are materials that introduce a high concentration of nitrogen or beneficial microorganisms to give the pile a head start. Commercial activators in powder or liquid form are available, but the most effective activators are usually things you already have access to. A few shovels of finished compost or healthy garden soil stirred into a new pile introduces the existing microbial community. Fresh manure from chickens, rabbits, or horses is an extremely potent nitrogen source. Comfrey leaves, urine (seriously), and alfalfa meal are other traditional activators used by gardeners who want to move the pile faster without purchasing products.
The temperature of your pile is the best indicator of whether it is working correctly. A pile that is actively composting will feel noticeably warm when you push your hand into the center, and a thermometer pushed into the core should read between 130 and 160 degrees Fahrenheit during peak activity. If the pile is at ambient temperature, something is off: it is too dry, too carbon-heavy, too densely compacted, or simply not large enough to retain heat. A pile needs to be at least three feet by three feet by three feet to generate and hold meaningful heat. Smaller volumes lose heat to the surrounding air too quickly.

Troubleshooting Common Compost Problems
Most problems with compost piles are variations of the same few underlying issues: wrong C:N balance, wrong moisture level, inadequate aeration, or pile too small to maintain heat. Knowing which symptom points to which cause makes diagnosis fast.
| Symptom | Most Likely Cause | Fix |
|---|---|---|
| Pile smells like ammonia | Too much nitrogen (greens) | Add dry browns and turn to aerate |
| Pile smells like rotten eggs or sewage | Anaerobic conditions (too wet, no oxygen) | Add coarse dry material and turn thoroughly |
| Pile is not heating up | Too dry, too small, or too carbon-heavy | Water lightly, add nitrogen-rich greens, build pile larger |
| Pile is not breaking down after months | Too dry or too carbon-heavy | Add greens, water, and turn to restart activity |
| Pests (flies, rodents) in the pile | Food scraps exposed or meat/dairy added | Bury scraps under browns; use covered bin; remove any meat/dairy |
| Pile looks the same after heating then cooling | Center is done but outer layers are not | Turn to move outer material to center and reheat |
| Compost is slimy and matted | Layered grass clippings or wet material | Break up mats with a fork and mix in dry coarse material |
Fruit flies around a compost bin are a common complaint, especially in warm months. They are not a sign the pile is unhealthy, but they are annoying and can be reduced significantly by always burying fresh kitchen scraps under a layer of browns rather than leaving them on the surface. In a closed bin with a lid, fruit fly populations are usually minimal. If you are using an open bin or pile, a thin layer of finished compost or dry soil over fresh additions also helps.
Ants in a compost pile indicate that the pile is too dry. Ants colonize dry areas and avoid the moist, active core of a healthy pile. Adding water and turning to restore moisture will send them along. A few earthworms in the outer cooler sections of the pile are a positive sign. Large populations of earthworms throughout indicate you likely have mature, cool compost rather than an actively hot pile, which is fine if you are not in a hurry.
How to Know When It’s Done and How to Use It
Finished compost looks, smells, and feels completely different from the materials that went into it. It is dark brown to black, crumbly, uniformly textured, and smells like rich, pleasant earth: the same smell you notice when you dig into a healthy forest floor or a well-tended garden bed. There should be no visible chunks of food scraps or identifiable plant material, and it should not smell like anything unpleasant. If you can still identify what went in, it is not done yet.
Temperature is the other reliable indicator. Finished compost no longer heats up when you turn it. A pile that has been maintaining 140-degree temperatures for several weeks and then drops to ambient temperature after a turning has likely consumed its available feedstock and is ready to cure. Curing is a final rest period of two to four weeks during which remaining microbial activity stabilizes and any remaining sharp organic compounds mellow out. Applying immature compost to a vegetable garden can temporarily tie up soil nitrogen as the breakdown process continues, which can actually stunt plant growth rather than help it. Patience through the curing stage pays off.
Application Rates and Methods
For vegetable gardens and raised beds, a two to three inch layer of finished compost worked into the top six to eight inches of soil before planting is the standard application. For established perennial beds, a one to two inch top-dressing layer applied around plants (kept away from stems) each spring is sufficient. For lawn care, a thin quarter-inch layer screened to a fine texture and spread evenly across the turf works compost into the root zone without smothering the grass. For container plants, a blend of roughly twenty to thirty percent compost mixed into potting mix provides long-term nutrition and improves the structure of most commercial potting mixes, which are often primarily peat or coir with minimal nutrition of their own.
One of the most satisfying things about making your own compost is how directly it connects to everything else you are doing in the garden. The vegetable scraps from Tuesday’s dinner feed the pile that feeds the raised bed that grows next summer’s vegetables. If you are building out a vegetable growing setup and want to understand how commercial potting soils and raised bed mixes compare to homemade compost as a soil amendment, that context helps you decide how much to make, what to buy, and where homemade compost fits into the bigger picture. And for anyone who wants the full foundation of how a garden comes together from the ground up, the complete beginner’s guide to starting and managing a garden covers soil, watering, planting schedules, and tools in one place.

Frequently Asked Questions
How long does it take to make compost as a beginner?
A passively managed pile with no regular turning takes one to two years. An actively managed pile that is turned every one to two weeks, kept at proper moisture, and balanced between greens and browns can produce finished compost in as little as six to eight weeks. Most beginners land somewhere in the middle, with usable compost in three to six months.
Can you compost in the winter?
You can continue adding to a compost pile through winter, but decomposition slows significantly or stops in freezing temperatures. The pile essentially goes dormant and resumes activity in spring when temperatures rise. Insulating the pile with a thick layer of straw or covering it helps extend the active season. In mild climates, composting continues year-round without major adjustments.
How do you compost in a small yard or apartment?
Small yards do well with a compact tumbler or enclosed bin that contains the pile and manages moisture and pests without requiring much space. Apartment composting works via vermicomposting, which uses a contained bin of red wiggler worms to process kitchen scraps indoors with no odor when properly managed. University of Hawaii Cooperative Extension’s guide to vermicomposting is a thorough resource for anyone starting an indoor worm bin.
Why does my compost smell bad?
An ammonia smell means the pile has too much nitrogen relative to carbon. Add dry browns like leaves or shredded cardboard and turn the pile. A sewage or rotten egg smell means the pile has gone anaerobic from too much moisture or compaction. Both problems are fixed the same way: add dry, coarse material and turn the pile thoroughly to reintroduce airflow.
Is it safe to put cooked food in compost?
Plain cooked vegetables, grains, and bread without meat, dairy, or heavy sauces can go into a covered, well-managed bin if they are buried under a layer of browns. They do attract more pest interest than raw scraps, so the covering is important. Cooked foods with meat, fish, bones, or dairy should stay out of a standard home pile regardless of how they are covered.

Putting It All Together
Composting rewards the gardener who pays attention without demanding perfection. You do not need precise measurements or expensive equipment to produce excellent compost. You need organic material in a reasonable balance of carbon and nitrogen, enough moisture to support microbial life, enough oxygen to keep things aerobic, and a pile large enough to hold heat. Turn it occasionally, add browns whenever something smells off, and add water if it feels drier than a wrung-out sponge.
The finished product, dark and crumbly and smelling of good earth, is one of the most useful things you can put in a garden. It builds soil structure that no synthetic fertilizer can replicate, feeds the underground ecosystem that plants depend on, and closes the loop between kitchen and garden in a way that feels genuinely satisfying once it becomes routine.
Key Takeaways
- Composting needs four things: carbon (browns), nitrogen (greens), moisture, and oxygen.
- Aim for roughly two to three parts browns by volume for every one part greens.
- Turning the pile regularly is the single most effective way to speed up the process.
- Finished compost looks like dark, crumbly soil and smells like rich earth, not food scraps.
- Keep meat, dairy, diseased plants, and pet waste out of a standard home pile.
- Shredding or chopping materials before adding them dramatically speeds decomposition.
If you are building out your composting setup and want to match the right container to your space and management style, our roundup of the best compost bins for compact yards and larger backyard setups covers the tradeoffs clearly. For anyone who wants to keep building their soil knowledge, understanding how to test and improve existing garden soil before planting is the natural next step after composting: knowing what your soil needs and knowing how to build finished compost to address it are two skills that work very well together.



