Environmental

Composting for beginners: how to start composting at home (even in an apartment)

A simple beginner's guide to composting at home, including what to compost, the greens and browns balance, backyard bins, apartment options like worm bins and bokashi, how to fix a smelly compost pile and how composting helps the planet and your garden.

Updated October 23, 2026 · 8 min read

Wooden compost boxes filled with soil
Photo: @fthiemonge on Unsplash

Banana peels, coffee grounds, that sad bag of spinach that turned to slime in the crisper drawer, eggshells, onion skins. Most of us toss a surprising pile of food scraps in the trash every week. It feels wasteful, but what else are you supposed to do with them?

Composting turns all of it into rich, dark soil that plants go nuts for. I think it's one of the simplest, most satisfying ways to shrink your footprint, and it's a lot easier than most people expect. You don't need a big yard, fancy gear or a degree in soil science. You need a container, a little patience and a basic sense of what goes in.

Why compost?

It keeps food out of landfills

By the EPA's count, food scraps and yard trimmings make up somewhere between a quarter and a third of the trash Americans generate, depending on the year. When food rots in a landfill, packed in tight without much oxygen, it gives off methane, a powerful greenhouse gas. Composting breaks food down with oxygen, which cuts way down on methane.

It makes amazing soil

Finished compost improves soil structure, helps it hold water and adds nutrients. That means healthier plants, less need for chemical fertilizer and a garden that can ride out a dry spell.

It's good for you as well

Composting can be a calm, grounding habit that ties you to nature, a lot like gardening. Our guide to gardening and wellbeing gets into why getting your hands dirty is so good for your head.

It saves money

Less trash can mean fewer garbage bags, and homemade compost stands in for the bags of soil amendment you'd otherwise haul home from the garden center.

How composting works

Composting is basically managed rot. Tiny critters like bacteria, fungi, worms and bugs break down organic material into humus, a dark, crumbly stuff loaded with nutrients. To do their job they need four things.

They need greens, which are the nitrogen-rich materials. They need browns, the carbon-rich materials. They need water, enough to keep things damp like a wrung-out sponge. And they need air, which you add by turning the pile.

What can you compost?

Greens (nitrogen-rich)

Fruit and vegetable scraps, coffee grounds and paper filters, tea leaves and plastic-free tea bags, fresh grass clippings and plant trimmings all count as greens. Eggshells technically aren't either, but they break down fine.

Browns (carbon-rich)

Dry leaves, shredded newspaper and plain cardboard, paper towels and napkins (with no cleaning chemicals on them), straw and hay, sawdust from untreated wood, small twigs and paper egg cartons are your browns.

What not to compost at home

Keep meat, fish and bones out, since they smell and draw pests, and the same goes for dairy. Skip oils and greasy food. Pet waste can carry nasty germs, diseased plants can spread trouble and weeds gone to seed will sprout all over your garden.

Leave out glossy or coated paper and coal or charcoal ash. And "compostable" plastics usually need an industrial facility to break down, so they don't belong in a backyard bin.

Some city composting programs take a wider range of stuff, including meat and dairy, so check the local rules if you use one.

The greens and browns balance

Here's a simple rule of thumb. Aim for roughly two to three parts browns to one part greens by volume, and don't stress about being exact. Too many greens and the pile turns wet, slimy and stinky. Too many browns and it sits there dry, barely breaking down.

Every time you dump a bucket of kitchen scraps on the pile, cover it with a layer of browns like leaves or shredded cardboard. That keeps the balance right and keeps smells and critters down.

How to start composting in your backyard

1. Pick a spot

Choose a level, well-drained spot, ideally in partial shade and an easy walk from the kitchen door.

2. Choose a bin

You've got options. An open pile is free and simple but can look messy. A homemade bin from old pallets or wire mesh works well. A plastic compost bin is tidy and helps keep pests out, and a tumbler is a rotating drum that makes turning a breeze.

3. Start with a layer of browns

Lay down a few inches of twigs or dry leaves at the bottom so air can circulate.

4. Add greens and browns in layers

Toss in kitchen scraps and garden waste, and cover each layer with browns.

5. Keep it moist

The pile should feel like a wrung-out sponge. Add water if it's dry, or more browns if it's soggy.

6. Turn it

Turn or mix the pile every week or two with a garden fork. That adds oxygen and speeds things up.

7. Harvest your compost

Depending on conditions, compost can be ready anywhere from a few months to a year. It's done when it's dark, crumbly and smells like a forest floor, and you can't pick out the original scraps anymore.

Sliced vegetables on a wooden chopping board
Photo: @thlt_lcx on Unsplash

How to compost in an apartment

No yard? No problem. You've still got options.

A worm bin

Red wiggler worms munch through food scraps and turn out worm castings, about the richest compost there is. A worm bin can live under the sink or in a closet and, when it's managed well, doesn't smell. Just keep it away from extreme heat and cold.

Bokashi

Bokashi is a Japanese method that ferments food waste in an airtight bucket with a special bran. It can handle small amounts of meat and dairy. The fermented scraps then need to be buried in soil or added to a compost pile to finish breaking down.

Countertop electric "composters"

These gadgets dry and grind food scraps into a smaller, drier pile of stuff. They're handy, but they use electricity, and what comes out usually isn't true finished compost. It may still need to go into soil or a compost pile.

Community and city composting

Lots of cities offer curbside compost pickup or drop-off spots at farmers markets and community gardens. Keep scraps in a container in the freezer until drop-off day and you'll never smell a thing.

Troubleshooting common compost problems

ProblemLikely causeFix
Smells rottenToo wet or too many greensAdd browns and turn it
Smells like ammoniaToo much nitrogenAdd browns
Not breaking downToo dry or too many brownsAdd water and greens, then turn
Fruit fliesExposed food scrapsBury scraps under browns
RodentsMeat, dairy or exposed foodRemove those items and use a closed bin

How to use finished compost

Mix it into garden beds before planting, or spread it as a top layer around your plants. Stir it into potting soil for containers and houseplants, sprinkle it over the lawn or toss a few shovelfuls into the hole when you plant a tree or shrub.

If you're growing your own food, compost gives edible gardens a real boost. Our Bluecrop blueberry growing guide shows just how much the right soil matters.

Hands planting seedlings in garden soil
Photo: @honeypoppet on Unsplash

Composting and cutting food waste

Composting is great, but not wasting food in the first place is even better for the planet and your wallet. Plan your meals, store food the right way and get creative with leftovers. Our guide to cutting food waste has plenty of practical ideas. Then compost whatever's left.

How to store food scraps without the smell

One of the biggest worries for new composters is the kitchen. Who wants a stinky bucket on the counter? Use a small lidded container and empty it every few days. Line it with newspaper or a compostable bag your system accepts.

Better yet, keep scraps in the freezer in a reusable container or bag until you're ready to take them out, which stops smells and fruit flies cold. Rinse the container every time you empty it, and toss in a handful of browns like shredded paper to soak up moisture.

Make it a family habit

Nothing gets kids curious about nature and where food comes from quite like a compost pile. Let them sort scraps into greens and browns, feel the middle of the pile with their hand (it can feel warm when it's working well), hunt for worms and help spread the finished compost in the garden. Kids often turn into the strictest compost cops in the house.

Don't aim for perfect

If you take one thing from this guide, let it be this. Compost is forgiving. Everything organic breaks down eventually, and if your pile is a bit too wet, too dry or too slow, it's easy to adjust.

Start with fruit and vegetable scraps plus some dry leaves or cardboard, and learn as you go. The point is keeping good stuff out of the trash and giving something back to the soil.

Frequently asked questions about composting

How long does it take to make compost?

It depends on the method and the conditions. A well-managed pile that gets turned regularly can make compost in a few months, while a pile you leave alone might take a year or more.

Does composting smell bad?

A healthy pile should smell earthy. Bad smells usually mean it's too wet or has too many greens, and adding browns and turning it usually fixes things.

Can I compost in an apartment?

Yes. Worm bins, bokashi buckets and community drop-off programs all work well in apartments.

Can you compost citrus and onions?

Yes, in moderation in an outdoor pile. Worm bins do better with only small amounts of citrus and onion.

Will a compost pile attract rats?

It can if you add meat, dairy or greasy food, or leave scraps out in the open. Use a closed bin and bury food scraps under browns.

Small green habits add up. See how your environmental wellness is doing with the free wellness wheel quiz.

Sources

  1. US EPA (archive). Municipal Solid Waste in the United States: 2010 Facts and Figures fact sheet (2011).

We check facts against these sources when we write or update a guide (see our editorial policy). Spotted something out of date? Email info@8dofwellness.com.