Most fruit and vegetable scraps break down in your compost pile
Fruit and vegetable scraps are the easiest food waste to compost. Banana peels, apple cores, carrot tops, lettuce leaves, broccoli stems, onion skins, potato peels, and citrus rinds all decompose without problems. Coffee grounds and tea bags (remove the staple if it's a bag) also work well. These items break down relatively quickly—usually within weeks to a few months—and add nitrogen to your pile, which speeds up the whole composting process.
Cooked vegetables can go in too, though they take longer to break down than raw ones. Leftover roasted carrots, steamed broccoli, or boiled potatoes are fine. The key difference is that cooked food may attract pests if your pile isn't hot enough or well-managed, so bury it deeper in the center of the pile rather than leaving it on top.
Key Takeaways
- Raw fruit and vegetable scraps, coffee grounds, and crushed eggshells are safe to compost and break down quickly.
- Meat, fish, dairy, oils, and fats should not go in home compost piles because they attract pests and create odor problems.
- Cooked vegetables are compostable but should be buried in the center of the pile to avoid attracting rodents and insects.
- Grains, bread, and pasta can compost but decompose slowly and may draw unwanted animals if not managed carefully.
- Diseased or moldy produce should stay out of your pile to prevent spreading plant pathogens to your garden.
Eggshells, nuts, and seeds that take longer to break down
Eggshells are safe to compost and add calcium to your finished compost, but they decompose slowly. Crush them into small pieces before adding them—whole shells can take a year or more to break down. Nutshells (walnut, almond, peanut) also compost, though they're among the slowest items in your pile. Sunflower seeds, pumpkin seeds, and other seeds will eventually decompose, but some may sprout in your garden later if your compost doesn't reach high enough temperatures to kill them.
If you want faster results, skip the hardest shells or crush them very fine. If you're patient and have space, they'll eventually become part of your finished compost and won't harm anything.
Grains, bread, and pasta—compostable but with caveats
Bread, rice, oats, pasta, and cereal can all go into compost, but they decompose slowly and tend to attract mice and rats if left exposed. Bury them deep in the center of your pile, away from the edges. If you have a sealed bin or tumbler rather than an open pile, these items are safer to add because they're less likely to draw pests.
Moldy bread is actually ideal for composting—the mold breaks down quickly and helps speed decomposition. Stale crackers, old granola, and leftover oatmeal work the same way. Just remember that these items are denser than vegetable scraps, so they'll take longer to fully decompose than a pile of lettuce and carrot peels.
Never compost meat, fish, dairy, oils, or fats
Meat, poultry, and fish should not go in a home compost pile. They decompose very slowly, create strong odors that attract rats, raccoons, and other wildlife, and can harbor harmful bacteria if the pile doesn't reach high enough temperatures. The same applies to bones—they take years to break down and are a major pest attractant.
Dairy products like milk, cheese, yogurt, and butter also attract pests and create odor problems. Cooking oils, grease, lard, and fatty scraps (like chicken skin or bacon grease) slow decomposition and can create a waterlogged, anaerobic mess in your pile. If you have access to a municipal composting program that accepts food waste, those facilities use industrial-scale heat and processing that can handle these items safely. For a backyard pile, leave them out.
Diseased, moldy, or treated produce to keep out
Produce that shows signs of disease—like powdery mildew, blight, or fungal spots—should not go in your compost pile. The pathogens may survive the composting process and spread to your garden when you use the finished compost. If you're unsure whether a plant disease is present, it's safer to throw the item away.
Produce treated with pesticides or herbicides (like conventionally grown apples or non-organic lettuce) can go in compost without concern—the chemicals break down during decomposition and don't accumulate in your finished compost. However, if you know a fruit or vegetable was treated with a fungicide specifically for storage or transport, composting it won't harm your pile, but it's not necessary either.
How to manage food scraps for faster, cleaner composting
Chop or crush food scraps into smaller pieces before adding them to your pile. Smaller pieces have more surface area, so microorganisms can break them down faster. A food processor or even a knife works fine—you don't need special equipment.
Layer food scraps with brown materials like dry leaves, shredded paper, or cardboard. A rough ratio of three parts brown to one part food scraps keeps your pile balanced and prevents it from becoming too wet or attracting pests. Bury food scraps in the center of the pile rather than leaving them on top, especially if you're composting cooked food, grains, or anything that might draw animals.
If odor becomes a problem, add more brown material and turn the pile to introduce oxygen. A well-managed pile should smell earthy, not rotten.
Frequently Asked Questions
Can I compost avocado pits and peach pits?
Yes, but they take a very long time to break down—often a year or more. Avocado pits are especially slow. If you want to compost them, crush them into smaller pieces first. Otherwise, throw them away or save them for other uses.
What about onions and garlic—won't they repel worms?
Onions and garlic can go in compost without harming it. They may repel some worms temporarily, but they decompose normally and don't damage your pile. If you're worried, bury them deeper in the center rather than near the edges where worms congregate.
Can I compost moldy food?
Yes. Mold is actually helpful in compost—it's one of the organisms breaking things down. Moldy bread, moldy fruit, and moldy vegetables all compost well and decompose faster than fresh food because the mold has already started the breakdown process.
What if I accidentally put meat or dairy in my pile?
Remove it if you notice it soon. If it's already buried and you discover it later, you can leave it—it will eventually decompose, though it may attract pests in the meantime. For the future, keep a small container in your kitchen for meat and dairy scraps and throw them away separately.
Do I need to remove stickers from produce before composting?
Yes. Stickers don't compost and will end up in your finished compost or get stuck in your garden soil. Peel them off before adding the fruit or vegetable to your pile.