Yes, you can compost tomatoes—but the method matters

Tomatoes break down in a compost pile, but they come with a catch: they're acidic, they attract pests if buried shallow, and diseased fruit can spread problems to your garden. The safest approach is to bury them deep in the center of a hot pile, chop them into smaller pieces, or add them to a finished compost bin where they won't draw rodents or insects. If your tomatoes show signs of disease—dark spots, wilting, or mold—you're better off throwing them in the trash rather than risking your compost.

The reason tomatoes need care is that they're soft, wet, and smell like food to rats, raccoons, and flies. A shallow layer of tomatoes on top of your pile will attract them. Buried deep in an active, hot pile (one that's actively decomposing and generating heat), they'll break down before pests find them. In a cold pile or a bin that isn't actively heating, they can sit for months and become a pest magnet.

Key Takeaways

  • Bury whole or chopped tomatoes at least 8 inches deep in the center of an active compost pile to prevent pest problems.
  • Diseased tomatoes—those with spots, mold, or signs of blight—should go in the trash, not the compost, to avoid spreading disease to your garden.
  • Tomato plants themselves (stems, leaves, roots) can be composted if they're disease-free, but diseased plants should also be discarded.
  • In a finished compost bin or tumbler, tomatoes break down safely because the enclosed space keeps pests out and heat builds faster.

Why tomatoes attract pests and how to stop it

Tomatoes are soft and smell like food—exactly what draws rats, raccoons, and fruit flies to a compost pile. If you lay them on top or bury them only a few inches deep, pests will find them within days. The solution is depth and heat. In a properly managed hot pile, the center temperature reaches 130°F to 150°F, which kills fly larvae and makes the environment hostile to rodents digging through.

A hot pile needs the right mix: roughly three parts brown material (dry leaves, straw, shredded paper) to one part green material (grass clippings, food scraps, tomatoes). If your pile is mostly brown and dry, adding tomatoes won't heat it up enough. If you're not sure whether your pile is hot, the safest rule is to bury tomatoes at least 8 inches down, in the center, and cover them with at least 6 inches of brown material on top. This keeps them out of reach of most diggers.

Diseased tomatoes: when to compost and when to trash

A tomato with a few soft spots or minor blemishes is fine to compost. A tomato showing signs of disease—dark or sunken spots, fuzzy mold, yellowing leaves still attached, or the mushy rot of late blight—should go in the trash. Diseases like early blight, late blight, and fusarium wilt survive in compost piles that don't reach high enough temperatures, and you'll spread them back to your garden when you use the finished compost.

Tomato plants themselves (the stems, leaves, and roots) follow the same rule. A healthy plant can be chopped and composted. A plant that died from disease, or that shows spots or discoloration on the leaves, should be thrown away. If you're unsure whether a plant was diseased, err on the side of caution—one diseased plant in your compost can infect your whole garden the following year.

The best way to compost whole tomatoes

Chop tomatoes into quarters or eighths before adding them to the pile. Smaller pieces break down faster and are less likely to attract pests because they're less recognizable as food. Bury the pieces in the center of the pile, at least 8 inches down, and cover them when ready with brown material—dry leaves, straw, or shredded cardboard work well.

If you have a lot of tomatoes at once (from a harvest or a batch that went bad), spread them across multiple spots in the pile rather than dumping them all in one place. This prevents a pocket of rot that might draw pests. Water the pile lightly after adding tomatoes if it feels dry; the added moisture helps them break down, but don't soak it—a wet pile can become anaerobic and smell bad.

Composting tomatoes in a bin or tumbler

A closed compost bin or tumbler is the easiest and safest way to compost tomatoes. The enclosed space keeps pests out, and the smaller volume means the pile heats up faster. You can add tomatoes to the top without worrying about burying them deep, though mixing them in with other materials still speeds decomposition.

If you use a tumbler, add tomatoes along with brown material and turn the drum every few days. The regular turning speeds breakdown and keeps the pile hot. In a stationary bin with a lid, add tomatoes in layers with brown material, just as you would in an open pile, and let them sit. Most enclosed bins take 2 to 6 months to produce finished compost, depending on size, materials, and how often you turn or mix the contents.

What to do with green or unripe tomatoes

Green tomatoes that fell off the vine or didn't ripen before frost can be composted the same way as ripe ones—bury them deep, chop them if possible, and cover them with brown material. They'll break down just as readily as ripe fruit. If you want to ripen them instead, place them in a paper bag indoors with a banana or apple, which releases ethylene gas and speeds ripening.

Tomatoes that are only slightly underripe but still edible are worth saving for the kitchen rather than composting. Once they're truly past eating—soft, moldy, or diseased—they belong in the compost pile (if disease-free) or the trash (if diseased).

Common mistakes to avoid

The biggest mistake is adding tomatoes to a cold or inactive pile and expecting them to disappear quickly. They won't. They'll sit, rot, and attract pests. If your pile isn't actively heating—you can't feel warmth in the center when you push your hand into it—treat tomatoes as a pest risk and either bury them very deep or use a closed bin instead.

Another mistake is composting diseased tomato plants without thinking. A plant that wilted from disease or shows leaf spots will carry that disease into your finished compost. It's not worth the risk. Throw it away, and your garden will thank you next season.

Finally, don't assume that because tomatoes are food scraps, they belong in a kitchen scrap collection for composting. Some compost services accept them; others don't. Check your service's rules before adding a bucket of tomatoes to your collection bin.

Frequently Asked Questions

Can I compost tomato sauce or ketchup?

Tomato sauce and ketchup can be composted, but they're concentrated and may attract pests more readily than whole tomatoes. Add them sparingly, buried deep in an active pile, and mix them well with brown material. Avoid adding them to a cold pile or a bin that doesn't heat up.

What about tomato leaves and stems from a healthy plant?

Healthy tomato foliage breaks down well in compost. Chop it into smaller pieces, bury it in the pile, and it will decompose like any other green material. If the plant showed any signs of disease, discard the leaves and stems instead.

How long do tomatoes take to break down in compost?

In an active, hot pile, tomatoes typically break down within 2 to 4 weeks. In a cold pile or a bin that isn't heating, they can take 2 to 3 months or longer. Chopped tomatoes break down faster than whole ones.

Can I add tomato seeds to compost?

Yes. Tomato seeds are small and will break down in compost. They won't sprout in a hot pile because the heat kills them. In a cold pile, a few seeds might survive, but the odds of them growing into plants in your garden are low.

What if I see fruit flies in my compost after adding tomatoes?

Fruit flies mean the tomatoes are exposed or too shallow. Turn the pile to bury the tomatoes deeper, add a thick layer of brown material on top, and let the pile heat up. If you have a bin, close the lid tightly. Fruit flies can't survive in an actively heating pile, so they'll die off as the temperature rises.