Start with a container and the right materials
Home composting works by layering brown materials (dry leaves, shredded paper, cardboard) with green materials (food scraps, grass clippings, plant trimmings) in a container that lets air and moisture move through. You do not need special equipment—a wooden bin, plastic storage container with holes drilled in the sides, or even a pile in the corner of your yard will work. The container just needs to be at least 3 feet by 3 feet to hold enough material for the decomposition process to generate heat.
The easiest starting point is a 20-gallon plastic bin from a hardware store. Drill or cut roughly 20 holes (each about the size of a pencil) into the bottom, sides, and lid so air can flow through. Place it on soil or grass, not concrete—the bin needs contact with ground organisms that help break down material. If you live in an apartment or have no yard space, a small countertop bin or bokashi bucket (which ferments scraps before you compost them) works as an alternative.
Key Takeaways
- Layer brown materials (leaves, paper) and green materials (food scraps, grass) in a roughly 3-to-1 ratio by volume to keep decomposition moving without odor.
- Drill holes in any container so air reaches the material—oxygen is what makes compost break down instead of rot.
- Turn or mix the pile every one to two weeks to speed decomposition; finished compost takes two to six months depending on how often you turn it.
- Avoid meat, dairy, oils, and diseased plants, which either attract pests or spread plant diseases to your garden.
- Finished compost looks like dark, crumbly soil and has an earthy smell; use it to improve garden beds or potted plants.
Get the brown-to-green ratio right
The balance between brown and green materials controls whether your compost smells bad and attracts pests. Aim for roughly three parts brown to one part green by volume. Brown materials are carbon-rich and decompose slowly; green materials are nitrogen-rich and decompose fast. When you have too much green, the pile becomes wet and airless, which creates a sour smell and draws flies. Too much brown and the pile sits dormant for months.
Start by adding a 4-inch layer of brown material to the bottom of your bin—shredded leaves, torn cardboard, or straw work well. Then add a 1- to 2-inch layer of green material: vegetable scraps, coffee grounds, grass clippings, or plant trimmings. Repeat this pattern as you add material. If you notice the pile smelling like ammonia or rotting eggs, add more brown material and mix it in. If it is not breaking down after several weeks, add more green material or turn the pile more often.
Turn the pile to speed decomposition
Turning means mixing the material from the outside of the pile into the center, where decomposition happens fastest. You can use a garden fork, shovel, or even a stick to stir a small bin. Turn the pile every one to two weeks if you want finished compost in two to three months. If you turn it less often—once a month or less—decomposition takes four to six months. You do not have to turn at all; the pile will eventually break down on its own, but it takes much longer.
The best time to turn is when the center of the pile feels warm to the touch—that warmth means microorganisms are actively breaking down material. After you turn, the pile will cool down over the next few days as oxygen is used up, then heat up again as decomposition resumes. If the pile never gets warm, it usually means either too much brown material or not enough moisture. Add green material or sprinkle water on the pile until it feels like a wrung-out sponge.
What to add and what to avoid
Safe to add: vegetable and fruit scraps (including peels and cores), coffee grounds and tea bags, crushed eggshells, grass clippings, leaves, shredded paper and cardboard, straw, wood chips, and plant trimmings. Chop large pieces into smaller chunks so they break down faster. Avoid adding meat, fish, bones, dairy, oils, fats, pet waste, diseased plants, or weeds with seeds—these either attract rats and flies or introduce problems into your finished compost.
Citrus peels, onion skins, and garlic take longer to break down but are safe to add. Glossy or colored paper should be avoided because the inks may not be compost-safe; plain cardboard and newspaper are fine. If you have a lot of one material (like grass clippings after mowing), spread it out to dry for a day before adding it, or mix it thoroughly with brown material so it does not mat down and block air flow.
Know when your compost is finished
Finished compost looks like dark brown or black crumbly soil and smells earthy, like forest floor. You should not be able to identify the original materials—if you can still see leaves or food scraps, it is not ready. Pick up a handful and squeeze it; finished compost holds together slightly but crumbles apart easily. If it is still wet and clumpy, it needs more time or more brown material mixed in.
Use finished compost to improve garden beds (mix it into the top 4 to 6 inches of soil), fill raised beds, or blend it into potting soil for containers. You can also use it as a mulch around plants, though it will continue to break down slowly and settle over time. Store finished compost in a covered bin or bag to keep it from drying out or getting waterlogged by rain.
Troubleshoot common problems
If your pile smells like ammonia or rotten eggs, it is too wet and airless. Turn it when ready and add brown material (shredded leaves or cardboard). If it smells like that again within a few days, turn it more often or drill more holes for air flow. If the pile attracts flies or has a fruity smell, you likely added meat, dairy, or too much fruit. Stop adding those materials and bury food scraps deeper in the pile under brown material.
If the pile is not heating up or breaking down after a month, it is probably too dry or has too much brown material. Sprinkle water on it until it feels like a wrung-out sponge, add more green material, and turn it. If you live somewhere very cold, composting slows dramatically in winter; move the bin to a sunny spot or wait until spring. Rodents are attracted to meat and dairy, so never add those. If you see rodent activity, cover food scraps with at least 6 inches of brown material and turn the pile more often.
Frequently Asked Questions
Can I compost in an apartment or small space?
Yes. A 5- to 20-gallon plastic bin on a balcony or in a closet works if you drill holes and turn it regularly. Bokashi buckets, which ferment scraps in an airtight container using special bran, are even more compact and produce finished material in two weeks that you can bury in a garden or potted plant. Worm bins (vermicomposting) also work indoors and take up minimal space.
How long does it really take to get finished compost?
Two to three months if you turn the pile every one to two weeks and keep the brown-to-green ratio balanced. Four to six months if you turn it once a month. Six to twelve months if you do not turn it at all. Temperature, moisture, and material size all affect speed; warmer weather and smaller pieces decompose faster.
Do I need to add compost starter or special bacteria?
No. Soil, finished compost, or leaves already contain the microorganisms that break down material. Commercial starters are not necessary. If you want to speed things up, add a shovel of finished compost or garden soil to your new pile to introduce active microorganisms.
What if I do not have a yard to put the bin?
Bokashi buckets work in kitchens and ferment scraps in two weeks. Worm bins fit under a sink or in a closet. Both produce material you can add to potted plants or bury in a community garden plot. Some cities also have drop-off sites where you can bring food scraps to be composted at a larger facility.
Can I compost in winter?
Yes, but decomposition slows significantly in cold weather. Move the bin to a sunny spot to capture warmth, insulate it with straw or leaves, and turn it less often since the pile will not heat up as quickly. In spring, decomposition will speed up again. Alternatively, collect scraps in a sealed container over winter and add them to the pile when temperatures rise.