HomeNestDIY logoHomeNestDIY

DIY Projects

How to Compost in a Small Apartment (No Smell, No Fruit Flies)

Published 28 November 2026 · HomeNestDIY

Composting in an apartment sounds like a recipe for a smelly kitchen and a cloud of fruit flies, but the system that works in a 600-square-foot apartment is small, sealed, and boring on purpose. A one-gallon countertop bin with a charcoal filter holds two to three days of scraps, a freezer bag holds the rest until pickup or processing day, and a bokashi bucket or a worm bin under the sink turns those scraps into something useful without ever opening a compost pile in your living room. The average household throws away about 4 to 5 pounds of food scraps a week, and most of it is fruit and vegetable peelings that compost easily. Set the system up once, empty it on a schedule, and your kitchen will smell like nothing at all — which is exactly the point.

Pick the Right System for an Apartment

There are three systems that actually work in a small apartment, and the right one depends on what happens to the scraps after you collect them. If your city runs a curbside compost pickup or your building has a drop-off bin, you only need a countertop collector: a small sealed bin you empty every two to three days. If there is no pickup, you need a processor at home, and that means either bokashi or a worm bin. Bokashi ferments scraps in a sealed bucket; a worm bin lets red wiggler worms eat them. Both fit under a sink or in a closet, and both are sealed, so neither one smells like a garden pile.

Start with the collector even if you plan to process at home, because every system needs one. A 1-gallon stainless steel or ceramic countertop bin, about 7 inches wide and 10 inches tall, is the right size for one or two people: big enough to hold a day of cooking scraps, small enough that you are forced to empty it before anything rots. It costs $20 to $35, and a pack of three replacement charcoal filters costs $8 to $12. Do not buy a 2-gallon bin for a single person — it will sit half full for five days, and that is when the smell starts. Measure the spot on your counter first, and keep the bin at least 12 inches from the stove so heat does not speed up decomposition.

The Countertop Bin That Does Not Smell

A compost bin smells for only two reasons: air is getting in and out freely, and wet scraps are sitting in a warm place for too long. Fix both and the smell disappears. Choose a bin with a tight-fitting lid and a charcoal filter set into the lid; the filter absorbs odor molecules as air passes through, and it works for two to three months before it needs replacing. Line the bin with a certified compostable bag, not a regular plastic bag, so you can lift the whole bag out and drop it in the pickup bin without scraping the container. A roll of 25 compostable bags costs $6 to $9.

Keep the inside of the bin dry. Line the bottom with a folded paper towel or a sheet of newspaper to soak up liquid from watermelon rinds and tomato ends, and replace it every time you empty the bin. Empty the bin every two to three days without exception, even if it is only half full, and rinse it with hot water and a drop of dish soap each time — a 60-second rinse prevents the slimy film that causes most odors. If the bin still smells after a rinse, sprinkle a tablespoon of baking soda in the bottom before you put a fresh bag in. Never leave the lid open while you cook, and never store the bin in a cabinet with no airflow, where trapped warm air turns it into an incubator.

What Goes In, What Stays Out

About 80 percent of kitchen scraps compost easily, and the rest causes every problem people blame on composting. In goes: fruit and vegetable peels, cores, and ends; coffee grounds and paper coffee filters; tea bags without staples; eggshells, crushed first so they break down faster; bread, rice, and pasta in small amounts; and plain paper towels and napkins that are wet or greasy. Chop large items into pieces no bigger than 2 inches across — a whole avocado pit or a corn cob will sit unchanged for months, while the same material in small pieces breaks down in weeks.

Stays out, every time: meat, fish, bones, and dairy, including cheese and butter, because they rot instead of composting and draw pests; fats, oils, and grease, which coat everything and block airflow; pet waste and cat litter; and anything labeled compostable plastic, like cups and cutlery, which needs an industrial facility hotter than any home system reaches. Cooked food with sauce, butter, or oil goes in the trash, not the bin, even if it started as vegetables. Tape this list inside a cabinet door for the first month — the rule is simple once you have seen it a few times, but the first month is when most mistakes happen.

Freeze Your Scraps First

The freezer is the secret weapon of apartment composting, and it solves the two problems that stop most people: smell and fruit flies. Keep a gallon-size freezer bag or a lidded container in the freezer, and drop scraps straight into it as you cook instead of into the countertop bin. Frozen scraps do not rot, do not smell, and do not attract a single fly, because nothing can hatch or feed at 0°F. When the bag is full — usually once a week for one person, twice a week for a household of three — tie it off and take it to the drop-off point or tip it into your bokashi bucket.

This changes the whole routine. Instead of emptying a smelly bin every two days, you empty a frozen bag once a week, and the countertop bin becomes a short-term holding spot for the scraps you produce while you cook, emptied into the freezer bag at the end of the day. Label the bag with the date, and do not keep frozen scraps longer than two weeks, because the bag will start to take over the freezer. If you use a worm bin, thaw the scraps for 30 minutes before feeding them, and never feed more than the worms can eat in three to four days — about 1 cup of scraps per day for a bin with 1 pound of worms.

Bokashi vs. Worm Bin: Which One Fits Your Life

Bokashi is fermentation, not composting, and it is the better choice if you want speed and you eat meat or dairy occasionally. You layer scraps into a 5-gallon airtight bucket, sprinkle a handful of bokashi bran — wheat bran inoculated with effective microorganisms — over each 2-inch layer, press it down to remove air, and seal the lid. The microbes ferment the scraps in 10 to 14 days without oxygen, so there is no smell beyond a faint pickled scent when you open the lid. A starter kit with two buckets, a bag of bran, and a drain spigot costs $45 to $65, and a 2-pound bag of bran costs $12 to $15 and lasts about two months.

A worm bin is the better choice if you want finished compost for houseplants and you are willing to do a little weekly care. A 10- to 14-gallon plastic tote with air holes drilled in the lid holds 1 pound of red wiggler worms, about 1,000 worms, which costs $35 to $50 online. The worms eat about half their body weight a day, so 1 pound of worms handles roughly 3 to 4 pounds of scraps a week. Keep the bedding — shredded newspaper and coconut coir, damp as a wrung-out sponge — at 55 to 77°F, feed in one corner at a time, and bury each feeding under 2 inches of bedding so flies cannot reach it. Bokashi handles meat and dairy; a worm bin does not. A worm bin gives you finished worm castings in 2 to 3 months; bokashi gives you fermented scraps that still need two weeks buried in soil or a planter to finish.

Stop Fruit Flies Before They Start

Fruit flies do not appear from nowhere. They ride in on bananas, tomatoes, and onions from the store, and they lay eggs on any exposed scrap left at room temperature for more than a day. The first defense is the freezer trick above: scraps that are frozen within a few hours never give eggs time to hatch. The second is a lid that actually seals. Test yours by closing it on a piece of paper — if you can pull the paper out without resistance, the seal is loose, and flies can get in through the same gap.

If flies appear anyway, act in one day, not one week. Empty the bin, wash it with hot soapy water, and wipe the counter and the area under the bin with a vinegar solution, because eggs hide in the sticky ring where the bin sits. Set a trap beside the bin: a small jar with 2 tablespoons of apple cider vinegar, 2 tablespoons of water, and one drop of dish soap, covered with plastic wrap pierced with five small holes. The flies go in and cannot get out, and the trap catches 20 to 30 flies in 24 hours. Store new fruit in the fridge for the first two days after shopping, and never leave a banana peel or a tomato core in an open bowl on the counter — that is the single most common way an apartment gets flies.

Emptying, Cleaning, and Using Finished Compost

Set a fixed emptying day and treat it like trash day, because a system that depends on remembering will fail in week three. If you use curbside pickup, empty the countertop bin into the curbside cart every two to three days and rinse the bin each time. If you use a drop-off site, freeze scraps during the week and take one bag on Saturday morning; most drop-off sites accept scraps in compostable bags, and a full gallon bag weighs about 3 to 4 pounds. If you use bokashi, drain the liquid from the spigot every two to three days — a 5-gallon bucket produces about 1 cup of liquid a week — and dilute it 1 part liquid to 100 parts water before pouring it on plants.

Finished worm castings are ready when the bin contents look like dark, crumbly soil and you can no longer recognize what went in; that takes 2 to 3 months from the first feeding. Harvest by pushing the contents to one side of the bin, adding fresh bedding to the empty side, and feeding only the fresh side for two weeks — the worms migrate on their own, and you can scoop the finished side out without sorting worms by hand. Mix 1 part castings with 3 parts potting soil for houseplants, or top-dress a plant with a 1-inch layer. Bokashi scraps are not finished compost: bury them 8 to 12 inches deep in a planter or garden bed and wait two weeks before planting in that spot, or add them to a community compost pile if your city allows it.

Apartment Composting Checklist

  • Start with a 1-gallon countertop bin with a charcoal filter ($20–$35); replace filters every 2–3 months.
  • Line the bin with a compostable bag ($6–$9 for 25) and a paper towel at the bottom to catch liquid.
  • Empty the bin every 2–3 days and rinse it with hot soapy water; never leave the lid open while cooking.
  • Compost fruit and vegetable scraps, coffee grounds, eggshells, and plain paper; keep meat, dairy, oil, and grease out.
  • Freeze scraps in a gallon bag during the week; take one bag to drop-off once a week or tip it into bokashi.
  • Choose bokashi ($45–$65 starter kit) for speed and meat scraps, or a worm bin (1 lb worms, $35–$50) for finished castings.
  • Stop fruit flies with a sealed lid, frozen scraps, and a vinegar trap (2 tbsp vinegar, 2 tbsp water, 1 drop soap).
  • Harvest worm castings at 2–3 months and mix 1 part castings to 3 parts soil; bury bokashi scraps 8–12 inches deep for 2 weeks.

Apartment composting works when the system is smaller than your patience: a one-gallon bin, a freezer bag, an emptying day you never skip, and nothing in the bin that should not be there.

Hero image: AI-generated photographic image.

← Back to Home