How to Compost Kitchen Scraps for Beginners: The Pile That Feeds Your Garden
What composting actually is — and what it is not. Composting is the managed, aerobic decomposition of organic material by microorganisms — the EPA's definition, and every word of it is doing work. "Managed" means you control the mix; "aerobic" means the microbes doing the work need oxygen, which is why a smothered, airless pile rots and stinks instead of composting. Done right, your kitchen scraps and dry leaves become a dark, crumbly soil amendment that improves soil structure, helps soil hold both water and air, adds fertility, and encourages healthy root growth — the benefits the EPA lists for finished compost. It is not magic, and it is not a trash can: the pile is a small ecosystem, and like any ecosystem it has rules. Feed it the right balance, keep it damp and breathing, and it quietly turns a real share of your household waste — food scraps and yard waste are 20 to 30 percent of the waste stream, according to the EPA — into something your garden will pay you back for. Feed it wrong, and you get a smelly, pest-attracting mess. The rules are simple, and this guide covers them in order.
Pick a spot and a bin (or no bin at all)
Choose a dry spot with good drainage, within easy reach of the garden and the kitchen door — close enough that carrying scraps out in the rain does not become a chore you quit. A little shade helps the pile keep moisture in summer, and a spot a few feet from a wooden fence is better than right against one, since a damp pile can stain and rot fence boards. Size matters more than the container: the EPA notes that a compost area should be at least 3 feet wide by 3 feet deep by 3 feet tall — about one cubic yard — because a pile smaller than that cannot hold enough heat to work quickly. A simple open pile works fine and costs nothing, but a bin keeps it tidy and helps with pests: a wire-mesh cylinder, a three-bin setup built from pallets, or a store-bought tumbler all work. Tumblers are the easiest to turn, but most hold less than a cubic yard, so they run cooler and slower than a full-size pile. Whichever you choose, leave the bottom open to the soil so worms and microbes can move in on their own. Check your local rules before you build — some towns and homeowner associations have setback or enclosure requirements for compost piles.
The recipe: two to three parts browns to one part greens
Everything that goes in the pile is either a "brown" or a "green," and getting the balance right is the whole job. Browns are carbon-rich: dry leaves, shredded cardboard and newspaper (no wax coating, tape, or glue), straw, sawdust, and untreated wood chips. Greens are nitrogen-rich: fruit and vegetable scraps, coffee grounds and paper filters, paper tea bags with the staple removed, crushed eggshells, and fresh grass clippings. The EPA's rule is to add two to three parts browns to one part greens by volume, which lands near the carbon-to-nitrogen ratio of about 30 to 1 that University of Florida extension research calls the optimum for rapid composting. Too many greens and the pile turns slimy, dense, and smelly; too many browns and it just sits there, decomposing at a crawl. Chop or shred everything smaller before it goes in — a whole cabbage core or a sheet of cardboard takes months longer than the same material torn into pieces, because microbes work only on the surfaces they can reach. A countertop caddy with a lid, or a bag in the freezer, is the usual way to collect scraps through the week; empty it into the pile every few days so nothing ferments in the kitchen.
Building the pile: layers, water, and the first week
Start with a loose layer of coarse browns — twigs or straw — on the ground, so air can move underneath. Then build in alternating layers: a few inches of browns, a thinner layer of greens, and repeat, watering lightly as you go. The EPA's guidance is to bury food scraps under a thick layer of browns — about 10 inches of cover material — so they are never sitting exposed on top, where they attract flies and animals. Aim for moisture like a wrung-out sponge: damp all the way through, but not dripping when you squeeze a handful. University of Florida extension notes a new pile typically heats within 4 to 7 days, then begins to cool and should be turned to mix the materials and let it heat again. Composting works best at about 122 to 131 degrees Fahrenheit; 131 to 140 degrees helps destroy weed seeds and plant pathogens, and a long-stemmed compost thermometer is the way to check. Above about 149 degrees, many of the organisms doing the work become inactive or die, so turn the pile if it climbs that high. Turn it every week or two with a pitchfork, moving the outside material into the center. An actively managed pile finishes in roughly 2 to 6 months; one you never turn still finishes, just much slower. Finished compost is dark, crumbly, and earthy-smelling, the original scraps unrecognizable — spread it 1 to 2 inches over beds and work it into the top few inches of soil. Our raised bed guide uses exactly this mix as its fill, and our first-season vegetable garden guide covers what to plant in it once it is ready.
What never goes in the pile
The "never" list is shorter than most people think, but it is absolute for a backyard pile. The EPA says to keep out meat, fish, and bones; cheese and dairy products; fats, oils, and grease; and cooked food (small amounts are fine, but no more). The reason is practical, not moral: a backyard pile generally does not reach high enough temperatures to fully decompose these materials, and they attract animals while they sit there half-rotted. The same goes for pet waste and cat litter, which can carry pathogens, and for diseased plants and herbicide-treated grass, which can survive a cool pile and spread the problem to the next bed. Treated or painted wood is out, as are glossy paper, produce stickers, dryer lint, and aggressive weeds or weeds gone to seed. A few of these — meat, dairy, and compostable food-service ware — can be composted at commercial facilities that run much hotter than a backyard pile, so check whether your local facility accepts them before throwing them in the trash. When in doubt, the rule is simple: if it came from a plant and it was not sprayed or treated, it is probably fine; if it came from an animal or a chemical process, leave it out.
Troubleshooting smells, pests, and a pile that will not heat
Most compost problems announce themselves by smell, and each smell has a fix. A rotten-egg smell means too little air or too much moisture — turn the pile and mix in coarse browns like sawdust or dry leaves. An ammonia smell means too much nitrogen — add more browns and turn. A pile that never heats usually has one of three causes: it is too small to hold heat (build it up to at least 3 feet on a side), it is too dry (water it until it feels like a wrung-out sponge), or it is short on greens (mix in fresh grass clippings or kitchen scraps). Rats and raccoons are almost always a sign that scraps are exposed or that meat, dairy, or grease went in — bury new scraps under browns, keep the forbidden foods out, and use a lidded bin or wire-mesh base if animals persist. Fruit flies around the kitchen caddy mean scraps are sitting too long; empty the caddy every day or two, or keep it in the freezer between trips. Finally, know when to stop adding: once the pile is full, let it finish undisturbed while you start a second pile — one that keeps getting fresh scraps never finishes. Screen finished compost through half-inch hardware cloth if you want it fine; the woody chunks that do not pass go back into the next pile — they are not waste, they are the starter culture for the next batch.
• US EPA — Composting at home (browns and greens, what to avoid, pile steps)
• UF/IFAS Extension — Compost Tips for the Home Gardener (C/N ratio, temperatures, turning)
• USDA NIFA — Cooperative Extension directory (find your local extension office)
Frequently asked questions
Can I compost eggshells and coffee grounds?
Yes — both are welcome. Crushed eggshells are a green that adds calcium, though they break down slowly, so crush them fine. Coffee grounds are nitrogen-rich greens, and the paper filter can go in with them.
How long until kitchen scraps become finished compost?
About 2 to 6 months for an actively managed hot pile that you turn every week or two. A cold pile you never turn still finishes, but it can take a year or more.
Why does my compost pile smell bad?
Usually it is too wet and airless, or it has too many greens. Turn the pile to let air in and mix in dry, coarse browns like leaves or sawdust; the smell should fade within a day or two.
Read next
How to Build a Raised Garden Bed: Size, Safe Wood, and the Right Soil Mix
A raised bed is the fastest route to good garden soil — and a one-afternoon build. Size it 4 by 8 feet, choose lumber that is safe for food, and fill it with the topsoil-and-compost mix extension services recommend.
How to Start a Vegetable Garden: A Beginner's First-Season Guide
Start small, plant what you eat, and get the sun and soil right. A first-season vegetable garden guide built on extension-service basics: site, soil, timing, and easy crops.
How to Tile a Backsplash for Beginners: From Layout to Grout
A kitchen backsplash is the friendliest first tile job: small area, drywall substrate, and a weekend of work. Learn layout, mastic vs. thinset, trowel choice, and the grouting and caulking finish.