Start with a location and a container, then add brown and green materials in layers

A compost pile works by letting bacteria and fungi break down organic waste into dark, crumbly soil you can use in gardens and planters. You do not need special equipment or a permit. You need a spot in your yard that gets some sun, a way to contain the pile (or just a heap on bare ground), and a mix of dry brown materials and wet green materials added in alternating layers.

The fastest way to begin is to choose a corner of your yard, gather what you already have in your kitchen and yard, and start piling. Within a few months to a year, depending on how often you turn the pile and what you add, you will have finished compost ready to dig into soil.

Key Takeaways

  • You can start a compost pile with no container at all—just a heap on bare ground in a sunny spot—or use a bin, wooden box, or wire cage to keep it tidy.
  • Layer brown materials (dry leaves, shredded paper, straw) and green materials (grass clippings, vegetable scraps, coffee grounds) in roughly equal amounts by volume.
  • Keep the pile as moist as a wrung-out sponge and turn it every week or two with a pitchfork to speed decomposition, or leave it alone for slower breakdown.
  • Finished compost is dark, crumbly, and smells like soil; it takes three months to two years depending on pile size, materials, and how often you turn it.
  • Never add meat, dairy, oils, diseased plants, or pet waste, as these attract pests or introduce harmful bacteria.

Choose a location and decide on a container

Pick a spot that gets at least a few hours of sunlight each day and is reasonably level. The pile can sit directly on bare earth—this lets worms and soil organisms move in and speed decomposition. If you want to contain it, you have several options: a wooden box built from untreated lumber (about 3 feet by 3 feet by 3 feet is a good starter size), a wire cage made from chicken wire or hardware cloth, a plastic bin with holes drilled in the bottom and sides, or a commercial compost tumbler.

The container is optional. An open heap works fine and costs nothing. A container keeps the pile neater, protects it from wind, and can deter some pests, but it is not required. If you live in a neighborhood with appearance rules, a bin or enclosed tumbler may be worth the investment.

Gather brown and green materials in roughly equal amounts

Brown materials are dry and carbon-rich: fallen leaves, shredded newspaper or cardboard, straw, wood chips, sawdust, and dried grass. Green materials are wet and nitrogen-rich: grass clippings, vegetable and fruit scraps, coffee grounds and tea bags, plant trimmings, and fresh manure from herbivores (horse, cow, rabbit).

Start by layering: put down 4 to 6 inches of brown material, then 4 to 6 inches of green material, then brown again, and so on. Aim for roughly equal amounts by volume. If your pile smells like ammonia or looks slimy, you have too much green; add more brown. If it is not heating up or breaking down, you likely need more green.

Chop or shred materials into smaller pieces if you can—smaller pieces decompose faster because bacteria have more surface area to work on. A pile made from finely shredded leaves and chopped vegetable scraps will break down in weeks; a pile of whole leaves and large branches takes much longer.

Keep moisture and air balanced

The pile should feel as moist as a wrung-out sponge. If it is too dry, decomposition slows or stops. If it is waterlogged, it becomes anaerobic (lacking oxygen) and smells like rotten eggs. Water the pile when you add materials if the weather has been dry, and check it every week or two by squeezing a handful.

Air is equally important. Bacteria that break down compost need oxygen. If you turn the pile with a pitchfork every week or two, you introduce air and speed decomposition significantly—a turned pile can finish in three to six months. If you leave the pile alone, it will still decompose, but it takes a year or longer. Turning is optional; it just makes the process faster.

Know what to add and what to avoid

Safe to add: vegetable and fruit scraps, coffee grounds and tea bags, crushed eggshells, grass clippings, leaves, straw, hay, shredded paper and cardboard, wood chips, sawdust, plant trimmings, and manure from plant-eating animals. You can also add wool, cotton, and other natural fibers.

Never add: meat, fish, bones, dairy, oils or fats, pet waste (dog or cat), diseased plants, weeds with seeds, or plants treated with pesticides. Meat and dairy attract rats and raccoons. Pet waste carries pathogens harmful to humans. Diseased plants spread illness to your garden. Weeds with mature seeds will sprout in your finished compost.

Recognize when compost is finished and 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 recognize the original materials—no visible leaves, scraps, or wood chips. If you turn the pile regularly, you can have finished compost in three to six months. If you leave it undisturbed, expect six months to two years.

You do not have to wait for the entire pile to finish. You can harvest finished compost from the bottom while the top is still breaking down. Use a pitchfork or shovel to dig out the dark material, and leave the partially decomposed material to continue working.

Troubleshoot common problems

If the pile smells bad (like ammonia or rotten eggs), it is too wet or has too much green material. Add brown material and turn it to introduce air. If it is not heating up or breaking down, it is too dry, too much brown, or the pieces are too large. Add green material, water it, and chop materials smaller next time.

If you see rats, raccoons, or other pests, you likely added meat, dairy, or oily food. Remove those materials and bury food scraps deeper in the pile under brown material. A covered bin or tumbler makes it harder for pests to access the pile. If flies are a problem, bury green materials under brown and turn the pile more often.

Frequently Asked Questions

Do I need to buy a compost bin or can I just make a pile?

You can make a pile on bare ground with no container at all. A bin or cage keeps things neater and may deter some pests, but it is not necessary. Many people start with a straightforward heap and upgrade to a bin later if they want.

How long does it take to get finished compost?

If you turn the pile every week or two and keep it moist, you can have finished compost in three to six months. If you leave it undisturbed, expect six months to two years. Smaller piles and finely chopped materials decompose faster than large piles of whole leaves and branches.

Can I add cooked food or leftover meals to compost?

Cooked vegetables and grains are fine, but avoid cooked meat, dairy, oils, and fats. These attract pests and can create odor problems. Raw vegetable and fruit scraps are always safe to add.

What if my yard is too small for a compost pile?

A small plastic bin or tumbler takes up about 2 feet by 2 feet of space and works well for a household that generates modest amounts of scraps. You can also keep a small container in a corner or against a fence. Finished compost can be used in planters and raised beds even if you have no in-ground garden.

Can I use compost from my pile right away or does it need to cure?

Finished, dark, crumbly compost is ready to use when ready in gardens and planters. If you use partially decomposed material, it will continue to break down in the soil, which is fine but may temporarily tie up nitrogen. Fully finished compost is easier to work with and blends into soil more smoothly.