Indoor composting: apartment options without the smell or flies
Compost indoors with a worm bin or bokashi bucket, or hold scraps for drop-off; electric units make a dried mix, not compost. Plus smell and fruit-fly fixes.

Indoor composting comes down to two containers: a worm bin, which can be kept indoors, or a bokashi bucket. Two other routes don’t compost at home: an electric kitchen appliance, and a lidded pail or the freezer holding scraps for a local drop-off or curbside program.
Indoor composting options for an apartment
If you also have a yard, the outdoor choices are in which composting method fits you. Composting through the cold months? See indoors in winter below the table.
Before you buy anything, ask your city. Washington’s Department of Ecology suggests contacting your municipal solid waste department before buying any composting tools, since it may have free or subsidized options.
Composting indoors in winter
A worm bin lets you compost food scraps indoors year-round. The temperatures worms need are in worm composting. To keep an outdoor pile going instead, see composting through winter.
Collecting scraps: a lidded bucket or the freezer
Every route starts with a container in the kitchen. How you keep it is also the main fix for smells and fruit flies around scraps waiting to go out.
- Use a closed, tight-lidded container. Keep scraps in a closed container on the counter, under the sink, or in the fridge or freezer, with a tight-fitting lid to keep pests out. If the lid has vent holes, cover them with a charcoal filter that fits, and check the filter often for maggots or pupae.
- Empty it often, even before it’s full. That can make the bin less attractive to pests and keep flies from developing inside. Rinse it, wash it with soap and water, and scrape off any maggots or pupae stuck to the sides. A small pail with a removable lid and a smooth inside, such as the OXO Good Grips 1.75-gallon compost binad, is quick to empty and wash.
- Or freeze the scraps. In the freezer, food waste doesn’t break down or smell, and the cold can kill insects in it.
- For a curbside organics bin, wrap scraps in a paper bag, newspaper or a compostable bag, not a regular plastic one. That can keep the collection bin cleaner and drier, and excess moisture can make it smell.
Keeping indoor compost from smelling
What fixes a smell depends on the container.
- Worm bin: too much food at once can make it smell. Bury food completely and, ideally, wait until the last feeding is eaten before adding more. Other causes and fixes are in worm bin problems.
- Bokashi bucket: routinely drain the liquid every few days. It should smell sour and pickled, not of sulfur, rot or ammonia. If it smells rotten, the ferment has failed: add a generous layer of bran, press the contents down firmly to push out air, drain the liquid daily, check that the lid seals, and chop future scraps smaller.
- Scrap pail: see collecting scraps.
For a smelly outdoor pile, see why your compost smells.
Fruit flies in an indoor compost bin
The first fix for each container keeps food out of the flies’ reach: buried under bedding, covered with bran, or behind a sealed lid.
- Worm bin: cover the scraps completely with bedding each time you feed. More fixes are in worm bin problems.
- Bokashi bucket: flies inside mean air is getting in and they’ve found a way in. Add bran right after each addition, keep the food covered, open the bucket briefly and rarely, and clean the lid and rim so it seals.
- Scrap pail: see collecting scraps.
For fruit flies around an outdoor pile, see pests in the compost bin.
What not to add indoors
Our advice: keep pet waste out of both indoor composters. Worm bins shouldn’t get it, and bokashi is meant for food waste. The full list is in what not to put in a compost pile; for meat and dairy, see the table.
Using what comes out
For vermicompost in pots and houseplants, see harvesting and using worm castings. For beds, mulch or a lawn, how to use compost covers each. Bokashi output isn’t ready for that yet: it’s acidic, so don’t spread it like mulch; bury it or finish it in a compost system first.