Start with the right location and container

A compost heap works best in a spot that gets partial shade and sits on bare soil or grass, not concrete. Sunlight speeds decomposition, but too much heat dries out the pile. Choose a place where water can drain away and where you can easily add materials and turn the pile if needed.

You do not need to buy a bin. A straightforward heap works fine — just pile materials on the ground. If you want to contain it, build a frame from untreated wood, wire fencing, or cinder blocks. A 3-by-3-foot square is a practical size for a home kitchen's scraps. Leave the bottom open so soil organisms and worms can move in from below.

If you live in a wet climate or want to keep animals out, a covered bin or a bin with a lid helps. Rodents are attracted to meat, dairy, and oils, so a sealed container prevents that problem. An open heap works fine if you stick to plant scraps and avoid those materials.

Key Takeaways

  • A compost heap needs partial shade, bare soil underneath, and a spot where you can add materials regularly without disturbing neighbors.
  • Layer brown materials (dry leaves, straw, shredded paper) with green materials (grass clippings, vegetable scraps, coffee grounds) in roughly equal amounts by volume.
  • Keep the pile as moist as a wrung-out sponge — add water if it dries out, and turn it every few weeks to speed decomposition.
  • Finished compost is dark, crumbly, and smells like soil; it takes three months to two years depending on how often you turn the pile and what you add.
  • Never compost meat, dairy, oils, diseased plants, or pet waste, as these attract pests or introduce harmful organisms.

Layer browns and greens in the right ratio

Brown materials are dry and carbon-rich: fallen leaves, straw, shredded newspaper, cardboard, wood chips, and sawdust. Green materials are moist and nitrogen-rich: grass clippings, vegetable and fruit scraps, coffee grounds, tea bags, and fresh plant trimmings. Aim for roughly equal amounts by volume — about one part green to one part brown, though the exact ratio is forgiving.

Start your heap with a 4-to-6-inch layer of brown material on the bottom. This creates air pockets and prevents the pile from compacting into a wet mat. Add a layer of green material on top, then alternate. Each time you add kitchen scraps, cover them with a handful of brown material. This keeps odors down and balances the carbon-to-nitrogen ratio that microbes need to work efficiently.

Shred or chop larger materials before adding them. Leaves break down faster if you run a lawn mower over them. Cardboard should be torn into pieces. Smaller pieces expose more surface area to the microbes doing the decomposition, which speeds the whole process.

Water and turn the pile to speed decomposition

Microbes need moisture to break down materials, but too much water creates a soggy, airless mess that smells like rotten eggs. The pile should feel like a wrung-out sponge — moist but not dripping. If it dries out, add water with a hose. If it gets waterlogged after heavy rain, turn it or add dry brown material to absorb excess moisture.

Turning the pile every two to four weeks speeds decomposition significantly. Use a pitchfork or shovel to move material from the outside edges into the center, where it is hottest. Turning introduces oxygen, which the decomposing organisms need, and it mixes materials so everything breaks down evenly. A pile that is turned regularly can produce finished compost in three to six months. A pile left alone takes one to two years.

You do not have to turn the pile at all if you are patient. A static heap will eventually become compost — it just takes longer. Many home gardeners add to one end and harvest from the other, letting the pile sit undisturbed.

Recognize when compost is ready to use

Finished compost is dark brown or black, crumbly, and smells like rich soil or forest floor. You should not be able to identify the original materials — no recognizable vegetable scraps or leaves. If you squeeze a handful, it should hold together briefly, then fall apart.

The pile will heat up as decomposition happens, especially in the first few weeks. This heat kills weed seeds and pathogens. As the pile cools and the materials break down completely, you are nearing the finish line. Once the pile stops heating up and the materials have turned dark and crumbly, it is ready to use.

You can harvest finished compost from the bottom of the pile while the top is still decomposing. Sift it through a screen or your hands to remove any chunks that are not fully broken down, and return those chunks to the pile to finish decomposing.

What not to add to your compost heap

Meat, fish, bones, and grease attract rats and raccoons and can create odor problems. Dairy products like milk, cheese, and butter also attract pests and can smell bad. Oils and fats slow decomposition and create a waterproof layer that prevents air from reaching the center of the pile.

Do not add diseased plants or weeds with seeds, as home compost piles do not get hot enough to kill all pathogens and weed seeds. If you have a large pile that heats above 140°F (60°C), it will kill most seeds and diseases, but a small backyard heap usually stays cooler. Pet waste from dogs and cats contains harmful parasites and should never go in compost meant for food gardens.

Glossy or colored paper, treated wood, and synthetic materials do not break down. Sawdust from treated wood contains chemicals. Grass clippings from lawns treated with pesticides or herbicides can introduce those chemicals into your compost.

Manage common problems as they arise

If your pile smells like ammonia or rotten eggs, it is too wet or has too much green material. Turn it, add brown material, and let it dry out. If it smells like vinegar, it is anaerobic (lacking oxygen) — turn it to introduce air. If it does not heat up or decompose after several weeks, it may not have enough green material or moisture. Add grass clippings or vegetable scraps and water it.

Flies and gnats are attracted to exposed food scraps. Always cover kitchen waste with brown material. If flies are already present, turn the pile to bury the scraps deeper. Rodents mean you have meat, dairy, or oil in the pile — remove it if you can identify it, and avoid adding those materials in the future.

A pile that stays cold and wet in winter will decompose very slowly. This is normal. You can keep adding materials through winter and let the pile sit until spring, when warmer temperatures and more active microbes speed things up again.

Frequently Asked Questions

Can I compost cooked food or leftovers?

Cooked vegetables without oil or meat are fine to compost. Cooked grains, pasta, and beans break down, though they may attract pests if not buried well. Avoid anything cooked with oil, butter, or meat. Leftover food with dressing or sauce usually contains oil or salt that is better kept out of compost.

How do I know if my pile is too wet?

Squeeze a handful of material. If water drips out, it is too wet. If it feels like a wrung-out sponge and holds together but does not drip, the moisture is right. Add dry brown material or turn the pile to dry it out.

Can I use compost from a pile with diseased plants in it?

If the pile heated above 140°F (60°C) for several days, most pathogens died. If you are unsure whether it got that hot, use the compost on ornamental plants or lawns rather than on vegetables you will eat. A small backyard pile usually does not get hot enough to kill all diseases, so it is safer to avoid adding diseased plants.

What is the fastest way to make compost?

Turn the pile every two to four weeks, keep it moist like a wrung-out sponge, and maintain a balance of brown and green materials. Shred or chop everything into small pieces. A well-managed pile can produce finished compost in three to six months. A tumbling bin (a rotating container) speeds this up further by making turning easier.

Can I add sawdust to my compost?

Untreated sawdust from natural wood is fine — it is a good brown material. Sawdust from treated, stained, or painted wood contains chemicals and should not go in compost. If you are unsure whether the wood was treated, leave it out.