Food waste that breaks down safely in compost

Most fruit and vegetable scraps compost well: apple cores, banana peels, carrot tops, lettuce leaves, onion skins, potato peels, and citrus rinds all break down in a few weeks to a few months. Coffee grounds and tea bags (remove the staple if present) decompose quickly and add nitrogen. Crushed eggshells take longer but do break down and add calcium. Cooked vegetables without oil or salt are fine, though they may attract pests if your bin is outdoors.

Grains and legumes work too—rice, beans, pasta, and bread all decompose, though bread and cooked grains attract rodents and flies if your pile is not well-managed. Nuts and seeds take longer to break down but will eventually compost. Stale cereal, oats, and flour are safe additions. If you have a hot compost pile that reaches 140°F or higher, you can add small amounts of cooked meat, fish, and dairy, though most home composters should avoid these because they decompose slowly and smell.

Key Takeaways

  • Raw fruit and vegetable scraps, coffee grounds, and crushed eggshells are the easiest foods to compost and break down in weeks to months.
  • Cooked vegetables, grains, and legumes compost but may attract pests if your bin is in an open outdoor space.
  • Meat, fish, dairy, oils, and fats should not go in most home compost bins because they decompose slowly, smell, and draw rodents and insects.
  • Citrus peels and onion skins compost safely but can slow decomposition if added in large amounts all at once.

Foods that slow decomposition or create odor

Citrus peels, onions, and garlic break down eventually, but in large quantities they can slow the whole pile and repel earthworms. Add them in small batches mixed with other materials rather than in a heap. Avocado pits and shells take many months to decompose because of their density. Corn cobs and husks are tough and woody—they will compost but need a year or more in an active pile.

Cooked oils, butter, and fatty foods should not go in a home compost bin. They decompose very slowly, create a waterproof layer that blocks air and moisture, and attract rodents and flies. The same applies to salad dressing, mayonnaise, and any food prepared with oil or grease. Nuts in their shells (like walnuts) take a very long time; shelled nuts are fine.

Foods to keep out of compost entirely

Meat, poultry, and fish do not belong in most home compost bins. They decompose slowly, produce strong odors that draw rats and raccoons, and can harbor pathogens if the pile does not reach and hold 140°F. Dairy products—milk, cheese, yogurt, butter—also decompose slowly and attract pests. Eggs are borderline; the shell is fine, but the white and yolk should be avoided in outdoor bins.

Oils, grease, and fatty foods create a barrier that prevents air from reaching the pile and slows decomposition to a halt. Diseased or moldy food can introduce harmful fungi or bacteria, though a hot pile above 140°F will kill most pathogens. Pet waste and soiled pet bedding should never go in compost meant for food gardens because they carry parasites and pathogens that survive in cooler piles. Glossy or waxed paper, even if it came with food, does not compost and should be removed.

How to prepare food scraps for faster breakdown

Chop or crush food scraps into smaller pieces—diced apple breaks down faster than a whole apple, crushed eggshells faster than whole shells. Smaller pieces expose more surface area to microbes and speed decomposition by weeks. Mix wet scraps (fruit, vegetables, coffee grounds) with dry materials (leaves, shredded paper, straw) in a ratio of roughly one part wet to two parts dry. This balance prevents the pile from becoming soggy and smelly.

Layer food scraps rather than dumping them all in one spot. Alternate a few inches of food waste with a few inches of dry material, then repeat. This keeps air flowing through the pile and prevents the food from compacting into an airless, anaerobic mass. If you are adding a lot of nitrogen-rich scraps (grass clippings, coffee grounds, fresh vegetables), balance them with carbon-rich dry materials (leaves, cardboard, wood chips) to maintain the right ratio for decomposition.

Differences between hot and cold compost piles

A hot compost pile reaches 130°F to 160°F and breaks down food in weeks to a few months. Hot piles kill weed seeds and pathogens, so you can add cooked vegetables, small amounts of meat or fish, and diseased plants. To build a hot pile, layer food scraps and dry materials all at once in a bin at least 3 feet on each side, then turn it every week or two. Most home composters do not maintain hot piles because turning requires effort and space.

A cold compost pile stays at ambient temperature and takes six months to two years to fully decompose. Cold piles are easier—you add scraps whenever you have them and let time do the work. But they do not kill pathogens or weed seeds, so avoid meat, fish, dairy, diseased plants, and weeds with seeds. Cold piles also attract more pests because the food breaks down slowly. If you have an outdoor bin in a neighborhood with raccoons or rats, cold composting with meat or fish is not practical.

What to do with food scraps if you cannot compost them

If your compost bin is full or you live in an apartment without outdoor space, food scraps can go to a municipal compost program. Many cities and counties run drop-off sites or curbside collection for food waste and yard debris. Search "[your city] food waste composting" or check your local solid waste authority's website to find a program near you. Some programs accept meat, fish, and dairy because they operate hot commercial composting facilities that reach temperatures home piles cannot.

Bokashi bins are a sealed fermentation system that works indoors and accepts meat, fish, and dairy. The scraps ferment in the bin over two weeks, then the fermented material goes into a garden bed or outdoor compost pile to finish breaking down. Bokashi requires buying special bran to speed fermentation, so it costs more than traditional composting. Worm bins (vermicomposting) work indoors too, but they are slower and require careful management of moisture and temperature.

Frequently Asked Questions

Can I compost moldy or rotten food?

Yes. Mold and rot are decomposition already in progress, and the microbes doing that work will continue in your compost pile. Moldy food actually speeds up composting. The only exception is if the mold is a type that produces toxins harmful to plants—this is rare in home composting, but if you are unsure, leave it out.

Do I need to remove stickers from fruit before composting?

Yes. Stickers are plastic or vinyl and do not decompose. Remove them before adding the fruit to the pile. The fruit itself composts fine.

Can I compost bread and pasta?

Yes, but they attract rodents and flies in outdoor bins because they break down slowly and smell. If you have an indoor bokashi bin or a hot compost pile you turn regularly, bread and pasta are fine. In a cold outdoor pile, bury them deep in the center where pests are less likely to find them, or skip them if rodents are a problem in your area.

What about avocado pits and peach pits?

Avocado pits and stone fruit pits (peach, plum, cherry) will eventually compost, but they take a year or more because they are very dense. If you have space and patience, add them. If you want faster results, leave them out or crush them first to speed breakdown.

Can I compost food that has been in the freezer?

Yes. Freezing does not change whether food composts—it just slows decomposition slightly because the thawing takes time. Frozen scraps compost the same way fresh ones do.