You can compost food waste in a bin or pile in your yard, or in a small indoor container if space is tight
Food waste breaks down into usable compost through a mix of moisture, air, and time—usually three to six months in a backyard bin, longer in a pile. The process works because bacteria and fungi naturally present in soil and on food scraps eat the organic matter and turn it into dark, crumbly material you can mix into garden beds or potted plants. You do not need special equipment or additives; a bin, a pile, or even a sealed bucket will work.
The speed depends on how often you turn the pile, how finely you chop the scraps, and the ratio of wet material (food waste, grass clippings) to dry material (leaves, shredded paper). A well-maintained bin can produce finished compost in eight to twelve weeks. A pile left alone takes six months to a year. An indoor container takes longer but keeps the process out of sight and smell.
Key Takeaways
- Food waste needs to be mixed with dry material like leaves or shredded paper in roughly equal amounts by volume to break down properly.
- Turning the pile or bin every one to two weeks speeds decomposition; leaving it untouched takes much longer but requires no work.
- Meat, dairy, oils, and pet waste should not go in compost because they attract pests or introduce harmful bacteria.
- A finished compost pile should smell like soil, not like rotting food, and the original scraps should be unrecognizable.
- Indoor containers work best for apartment dwellers or those with limited yard space, though they produce compost more slowly than outdoor bins.
What food scraps can and cannot go into compost
Safe to compost: vegetable and fruit scraps (peels, cores, seeds), coffee grounds and tea bags (remove staples), crushed eggshells, bread and grains, pasta, rice, beans, and plant trimmings. These materials break down quickly and add nitrogen to the pile.
Do not compost: meat, fish, bones, dairy products (milk, cheese, butter), oils and fats, pet waste, diseased plants, or weeds with seeds. Meat and dairy attract rats and raccoons. Oils slow decomposition. Pet waste can harbor pathogens that survive the composting process. Diseased plants and mature weeds spread problems to your garden.
Cooked food is safe to compost as long as it contains no meat, dairy, or oil. Onions and garlic can go in but may slow the process slightly. Citrus peels decompose but take longer than other scraps.
Setting up a backyard compost bin or pile
A bin is a contained structure—plastic, wood, or wire—that holds the compost and keeps pests out. A pile is straightforward material stacked on the ground. Both work; bins are neater and take up less space, while piles are free and easier to turn.
To start a bin: place it on bare soil (not concrete) so worms and microbes can enter from below. Add a layer of dry material about 4 inches deep—shredded leaves, straw, or cardboard. Then alternate layers: 4 inches of food scraps, 4 inches of dry material, and repeat. Keep the pile as moist as a wrung-out sponge. If it smells like ammonia, add more dry material. If it is dry and not breaking down, add water or food scraps.
To start a pile: choose a spot in partial shade with good drainage. Build it the same way as a bin—alternating wet and dry layers—but without a container. Piles need to be at least 3 feet by 3 feet to heat up enough to decompose quickly. Smaller piles work but take longer.
Turning the pile versus letting it sit
Turning means mixing the pile with a shovel or pitchfork every one to two weeks. This adds oxygen, which speeds decomposition dramatically. A turned pile can produce finished compost in eight to twelve weeks. The work is real—a full-sized pile is heavy—but the payoff is fast results.
Leaving the pile untouched takes no effort but takes time: six months to a year or more. The material still decomposes because bacteria work without oxygen, just more slowly. This method works well if you have space and patience. Many people use this approach because it requires no maintenance.
A middle ground: turn the pile once a month instead of weekly. This is less work than frequent turning but faster than no turning at all, usually producing compost in four to six months.
Using an indoor container for apartments or small spaces
An indoor compost container can be as straightforward as a sealed plastic bucket with a lid and a few holes drilled in the bottom for drainage. Commercial indoor bins (often called bokashi buckets or worm bins) are available but not necessary. A 5-gallon food-grade bucket works fine.
Layer food scraps with shredded newspaper, cardboard, or dry leaves inside the bucket. Keep it in a closet, under the sink, or on a balcony. The material will not smell if you maintain the right moisture and add dry material after each layer of scraps. When the bucket is full, seal it and let it sit for two to four weeks, then transfer the contents to an outdoor pile or bin to finish decomposing, or use it directly in potted plants if it looks mostly broken down.
Worm bins (vermicomposting) are another indoor option. Red wiggler worms eat the scraps and produce castings—a finished compost—in three to six months. Worm bins are compact and odor-free if maintained correctly, but they require attention to moisture and temperature.
Knowing when compost is finished and ready to use
Finished compost looks like dark brown soil, feels crumbly in your hand, and smells earthy—not like rotting food. You should not be able to recognize the original scraps. If you can still see pieces of food or leaves, it needs more time.
Use finished compost by mixing it into garden beds (2 to 4 inches worked into the top 6 to 8 inches of soil), adding it to potted plants, or spreading it as mulch around trees and shrubs. It improves soil structure, adds nutrients, and helps soil hold water. There is no risk of over-explore compost; more is generally better.
If your pile is still producing compost but you need some now, you can use partially finished material in potted plants or around established plants. It will continue to break down in place. Do not use partially finished compost in vegetable beds or around seedlings, because it can tie up nitrogen as it decomposes.
Troubleshooting common compost problems
Smell like rotting eggs or ammonia: The pile is too wet or has too much nitrogen (food scraps). Add dry material—leaves, shredded paper, or cardboard—and turn it. Reduce the amount of food scraps you add.
Pile is not heating up or breaking down: It may be too dry, too small, or have too much dry material. Add water and food scraps, or turn it to add oxygen. Piles smaller than 3 feet by 3 feet decompose slowly no matter what you do.
Pests (rats, raccoons, flies): You are composting meat, dairy, or oils, or the food scraps are not buried under dry material. Stop adding those items. Bury all new scraps under at least 4 inches of dry material. Use a bin with a tight-fitting lid instead of an open pile.
Pile is soggy and compacted: Turn it to add air. Add dry material. Make sure water can drain from the bottom—if it is on concrete, move it to soil or drill drainage holes in the bin.
Frequently Asked Questions
How long does it really take to make compost?
Three to six months if you turn it regularly, six months to a year if you leave it alone. Indoor containers take four to six weeks to partially break down, then need to finish in an outdoor pile. The exact time depends on temperature, moisture, pile size, and how often you turn it.
Can I compost in winter?
Yes, but decomposition slows dramatically in cold weather. A pile in a cold climate may not finish until spring. You can keep adding scraps all winter; they will sit in the pile and start breaking down when temperatures rise. Indoor containers work year-round.
Do I need to buy a special bin?
No. A pile on the ground works fine. If you want a bin, you can build one from untreated wood pallets or wire fencing, or buy a plastic bin. The material does not matter; what matters is having enough volume and the right mix of wet and dry material.
What if my compost smells bad?
Bad smell means too much moisture or nitrogen. Add dry material like shredded leaves or cardboard, and turn the pile. If it smells like ammonia, you have too many food scraps relative to dry material. Reduce scraps and increase dry material by volume.
Can I use finished compost right away or does it need to cure?
Finished compost is ready to use when ready. You do not need to let it sit or cure. Mix it into soil, add it to pots, or spread it on the surface. The sooner you use it, the sooner you can start a new batch.