Start with a container and the right materials

You need a place to hold food scraps while they break down. This can be a plastic bin with a lid, a wooden box, a metal tumbler, or even a hole dug in your yard — the container itself matters less than keeping it accessible and covered. A lid keeps out pests and rain; drainage holes or a solid bottom (if you're on soil) lets excess moisture escape or soak in.

Food waste alone will not compost well. You need to layer it with brown materials — dry leaves, shredded paper, cardboard, straw, or wood chips. The ratio that works for most home systems is roughly three parts brown to one part food waste by volume. Brown materials add carbon and air pockets; food waste adds nitrogen and moisture. Without both, you get a wet, smelly pile instead of compost.

Start your pile or bin by putting down a layer of brown material about 4 inches deep, then add food scraps, then brown material again. Keep alternating. This layering is the core of the process — it is what makes decomposition happen at a reasonable speed instead of months of waiting.

Key Takeaways

  • Food scraps must be layered with brown materials like leaves or shredded paper in a ratio of roughly one part food to three parts brown by volume.
  • A covered container with drainage prevents pests and keeps the pile from becoming waterlogged or drying out completely.
  • Chop or break food scraps into smaller pieces so they decompose faster than whole items would.
  • Turn the pile every one to two weeks if you want finished compost in two to three months, or leave it undisturbed for six months to a year for slower decomposition.
  • Finished compost looks like dark, crumbly soil and has no smell of rot — only an earthy smell.

What food scraps you can and cannot compost

Most fruit and vegetable scraps work: apple cores, banana peels, carrot tops, lettuce leaves, onion skins, coffee grounds, tea bags (remove the staple if it has one), eggshells, and nut shells. Cooked vegetables are fine too. Grains like rice, oats, and bread can go in, though they attract pests more readily than raw produce, so bury them under brown material.

Avoid meat, fish, dairy, oils, and fats — these decompose slowly, smell terrible while breaking down, and draw rats and raccoons. Do not add diseased plants or weeds with seeds; the pile may not get hot enough to kill them. Pet waste should never go in, because it can harbor pathogens that survive the composting process.

Citrus peels, onions, and garlic can slow down decomposition slightly because they repel some of the organisms that drive the process, but small amounts are fine. If you have a lot of one type of scrap, spread it out over several weeks rather than dumping it all at once.

How to speed up decomposition

The fastest way to compost is to chop food scraps into pieces smaller than a quarter-inch across. Smaller pieces have more surface area for microbes to work on, so they break down in weeks instead of months. A food processor or even a knife does this; you do not need special equipment.

Turning the pile every one to two weeks also speeds things up. When you turn it, you mix the materials, add oxygen, and move cooler material from the outside to the hot center where decomposition happens fastest. A pile that is turned regularly can produce finished compost in two to three months. A pile left alone takes six months to a year.

Moisture matters too. The pile should feel like a wrung-out sponge — damp but not dripping. If it is too dry, decomposition slows; if it is too wet, it smells and attracts pests. If your pile is soggy, add more brown material and turn it. If it is dry, add water or more food scraps.

Managing smell and pests

Smell comes from anaerobic decomposition — breakdown that happens without oxygen. This occurs when the pile is too wet or too densely packed. The fix is to add brown material, turn the pile, and make sure your container has drainage. A well-managed pile should smell earthy, not rotten.

Pests arrive because they smell food. A covered bin stops most insects and rodents. If you are composting in an open pile, bury food scraps under at least 6 inches of brown material so the smell does not travel. Avoid meat, dairy, and oils entirely — these are the biggest pest attractants. If you already have pests, stop adding food for a week or two, turn the pile, and add more brown material.

Fruit flies can breed in the top layer of a pile. Keep the surface covered with brown material, and if flies appear, turn the pile so the top layer gets buried. They will die as the temperature rises.

Knowing when compost is ready to use

Finished compost is dark brown or black, crumbly, and smells like soil — earthy and pleasant, not like rot. You should not be able to see the original food scraps or leaves; they have broken down completely. If you can still see chunks, it is not ready yet.

A straightforward test is to grab a handful and squeeze it. Finished compost holds together briefly but crumbles apart when you open your hand. Unfinished compost either stays in a tight ball or falls apart when ready.

If you are not sure, wait another month. Compost that is slightly too young will not hurt your plants, but compost that is too young may still be hot (actively decomposing) and can burn plant roots or tie up nitrogen as it finishes breaking down in the soil.

Using your finished compost

Mix finished compost into garden soil at a ratio of one part compost to three parts existing soil, or use it as a top dressing around plants and trees. You can also use it to fill containers for houseplants or outdoor pots. A little goes a long way — compost is nutrient-dense, so you do not need much to improve soil structure and add nutrients.

If you have more compost than you can use, offer it to neighbors, local gardens, or schools. Many communities have compost-sharing groups or will take finished compost off your hands.

Choosing between active and passive composting

Active composting means turning the pile regularly and managing moisture and brown-to-food ratios closely. It produces finished compost in two to three months but requires work every week or two. This method works well if you have a small yard and want compost fast, or if you generate a lot of food scraps.

Passive composting means building the pile, covering it, and leaving it alone for six months to a year. You do not turn it or monitor it closely. This works if you have space and patience, or if you do not generate many scraps. The finished product is the same; only the timeline changes.

Some people use both: a passive pile that sits while they build an active pile, so they always have compost coming. Others use a tumbler, which is a sealed bin on a stand that you rotate by hand — it sits between the two methods in terms of speed and effort.

Frequently Asked Questions

Can I compost cooked food?

Cooked vegetables, grains, and legumes can go in compost. Avoid cooked meat, fish, dairy, and oils — these attract pests and decompose slowly. Cooked food breaks down faster than raw because heat has already started breaking down the cell structure.

How do I know if my pile is too wet?

If water drips out when you squeeze a handful, it is too wet. Add dry brown material like leaves or shredded paper, and turn the pile to mix it in. If the pile smells like ammonia or rotten eggs, it is definitely too wet and needs turning and more brown material right away.

Can I compost in winter?

Yes, but decomposition slows dramatically in cold weather. A pile will still break down, just over a longer timeline — six months to a year instead of two to three. In very cold climates, many people stop adding scraps in winter and restart in spring, or they keep a small indoor bin and add the scraps to the outdoor pile when it thaws.

What if I do not have a yard?

You can compost in a small bin on a balcony or under a sink using a bokashi bucket (which ferments scraps before they go to a larger pile) or a worm bin. Both take up minimal space and handle food scraps without the smell or pest issues of a traditional pile. The finished product can go to a community garden or a friend's yard.

Do I need to add anything to speed up composting?

No. Compost happens naturally with the right ratio of brown to food, moisture, and oxygen. Commercial compost accelerators exist but are not necessary — turning the pile and chopping scraps small will get you to finished compost just as fast and cost nothing.