To grow compost in containers, you layer browns and greens in a bin with drainage and air holes, keep it as damp as a wrung-out sponge, and turn it every few days to get finished compost in 6-12 weeks. This method fits small yards, balconies, or anyone who wants to control the pile without a big open heap.
What You Need Before You Start
Gather a container with a lid and drainage holes—a 10- to 20-gallon plastic bin, a wooden box, or a store-bought compost tumbler all work. You also need a drill (if making holes), a tray to catch liquid, brown materials (dry leaves, shredded cardboard, paper, straw), green materials (fruit and vegetable scraps, coffee grounds, grass clippings), water, and a garden fork or small shovel for turning.
Choose a spot that is convenient but not in full blazing sun all day; partial shade keeps the pile from drying out too fast. The container should sit on soil or a tray so excess liquid can drain without staining a deck or patio.
Layer the Browns and Greens in the Right Ratio
Start with a 4-inch layer of coarse browns like twigs or straw at the bottom to let air move up through the pile. Then add alternating layers: about 2 parts browns to 1 part greens by volume. Browns are dry, woody, and carbon-rich; greens are wet, fresh, and nitrogen-rich. Too many greens makes a slimy, smelly mess; too many browns makes it dry and slow.
For a 20-gallon bin, a good first fill is 6 gallons of shredded leaves, 3 gallons of kitchen scraps, and 1 gallon of finished compost or garden soil to introduce microbes. Moisten each brown layer as you add it—about 1 cup of water per gallon of browns—until the whole mix feels like a damp sponge.
Keep the Pile Moist but Not Soaked
Check moisture every time you add scraps. Squeeze a handful: it should hold together and release a drop or two of water, not a stream. If it drips, add more browns and turn. If it crumbles dry, sprinkle water over the top and mix. In hot, dry weather, check every other day; in rainy weather, keep the lid on to prevent flooding.
Add kitchen scraps in small pieces—chop melon rinds, corn cobs, and thick stems into 1-inch chunks—so they break down faster and don’t attract pests. Bury each new green layer under a few inches of browns to keep flies away and reduce odors.
Turn the Compost Every 3 to 5 Days
Turning mixes air into the pile, which feeds the aerobic bacteria that do the decomposing. Use a garden fork to lift and flip the material from the bottom to the top, breaking up clumps. For a 20-gallon bin, turning takes about 5 minutes. If you have a tumbler, give it 5-10 rotations every few days instead.
Skip turning for the first week if the pile is just starting; let the center warm up. After that, turn whenever the pile drops below warm—you should feel heat in the middle within 3-5 days. If it never heats up, add more greens and water.
Worked Example: A 20-Gallon Bin Over 8 Weeks
Week 1: Fill the bin with 6 gallons shredded cardboard, 3 gallons coffee grounds and vegetable peels, and 1 gallon garden soil. Water each layer until damp. Leave the lid slightly ajar. By day 4, the center should be warm to the touch.
Weeks 2-5: Add kitchen scraps every few days, about 1 quart at a time, and cover with a handful of browns. Turn every 4 days. The pile will shrink to about half its original volume as materials break down.
Weeks 6-8: Stop adding new scraps. Turn every 3 days and keep moisture steady. The material should turn dark brown and crumbly, with an earthy smell and no recognizable food pieces. Sift out any large chunks and return them to a new batch.
Three Mistakes That Slow or Ruin Container Compost
Adding too many greens at once causes a sour, ammonia smell and slimy texture. The fix is to add browns immediately—shredded paper or dry leaves—and turn thoroughly to absorb the excess moisture.
Letting the pile dry out stops decomposition completely. If it’s dusty and crumbly, add water a cup at a time while turning until it feels like a damp sponge again. A dry pile can take months to restart.
Forgetting drainage holes drowns the microbes. Without holes, the bottom turns anaerobic and smells like rotten eggs. Drill 8-10 quarter-inch holes in the bottom and sides, and always keep the tray emptied.
When Is the Compost Finished and Ready to Use?
Finished compost is dark, crumbly, and smells like forest soil. It should no longer heat up after turning, and most original materials should be unrecognizable. This typically takes 6-12 weeks in a warm climate or during summer; cooler weather can double that.
To test, put a handful in a sealed plastic bag for 3 days. If it smells sour or ammonia when you open it, it needs more time or more browns. If it smells earthy, it’s ready to mix into garden beds at a ratio of 1 part compost to 3 parts soil, or use as a 1-inch top dressing around plants.
Cleaning and Storing Your Container Compost
Once you harvest the compost, rinse the bin with water and a stiff brush—no soap needed, as it can leave residues. Let it air dry in the sun before starting the next batch. Store finished compost in a covered bucket or burlap sack in a dry, shaded spot until you’re ready to use it; it will keep for months if kept slightly moist.
If you’re between batches, keep the bin with a few inches of dry leaves in the bottom to maintain airflow and prevent odors. Always keep the lid on to deter rodents and flies, and never add meat, dairy, or oily foods to a small container pile—they rot slowly and attract pests.
Spotted a mistake? Tell us and we will correct it. How we write and check articles.