Can Worms Eat Onions?

can worms eat onions

Can worms eat onions? No — keep onions out of the worm bin. Worms avoid onions, and with good reason: onions are acidic, they smell strong, and they slow the whole bin down. A small piece of cooked onion buried deep will not kill the worms, but it will sit there uneaten for weeks, and a big piece can make the bin sour and smelly. The honest answer is to skip onions entirely and put them in a hot compost heap or the trash instead.

The rule is simple: if it smells strong enough to make your eyes water, the worms do not want it either. Onions, garlic, shallots, and leeks all belong on the same no-list.

Quick picks: No, do not feed onions. Worms avoid them, they make the bin acidic, and they rot slowly. A tiny piece of cooked onion will not kill the bin, but it is not worth it. Put onions in a hot compost heap instead. Garlic, shallots, and leeks are out too.

In This Guide

Can Worms Eat Onions? The Short Answer

Can worms eat onions? Technically a worm can eat a tiny piece of onion, but in practice worms will not touch it. Onions contain sulphur compounds — the same ones that make your eyes water — and those compounds irritate worms. The worms crawl away from onion pieces, and the pieces sit and rot.

Onions are also acidic. A worm bin works best near neutral, and a handful of onion can push the bin sour. A sour bin eats slowly, smells bad, and the worms may try to escape. One onion will not ruin a bin, but there is no benefit and a real downside, so the best advice is simple: do not feed onions.

Why Onions Are a Problem

Onions cause three problems at once. First, the smell: the sulphur compounds are strong, and they linger in the bin for days. Second, the acid: onion juice is acidic, and acid slows worms down and can burn them in large amounts. Third, the slow rot: onion skin and flesh break down slowly in a worm bin, so pieces sit uneaten and attract fruit flies.

The onion family is the problem, not just the one vegetable. Garlic, shallots, spring onions, and leeks all carry the same sulphur compounds, and worms avoid all of them. If you would not feed it to the bin, do not feed its cousins either.

Watch out: onion skins are the worst part. The dry papery skin barely breaks down at all, and it will still be there at harvest time, 60 to 90 days later. If an onion skin does slip into the bin by mistake, pick it out — it is not worth leaving in.

What If Onions Get In by Mistake?

Do not panic. A small piece of onion in a healthy bin is a nuisance, not a disaster. The worms will avoid it, it will rot slowly, and the bin will carry on. Pick the piece out if you can see it, add a handful of dry shredded newspaper, and carry on feeding as normal.

If you fed a whole onion or a big pile of onion scraps, act faster. Remove what you can, stop feeding for 3 days, and add dry bedding. A spoonful of powdered eggshell helps too — it adds calcium and balances the acid. The amounts are in Can Worms Eat Eggshells?.

If the bin smells sour after an onion accident, the 3-day fix is in Why Does My Worm Bin Smell?. The smell will fade once the onion is out and the bedding is dry again.

What to Feed Instead of Onions

The worms have plenty of better food. Vegetable peelings, fruit scraps, coffee grounds, and crushed eggshells are the classic diet, and the full list is in What to Feed Worms (and What Never to Feed). Feed half a cup at a time, buried deep, and wait until it is gone before feeding again.

Banana peels are a good swap for onion scraps — soft, sweet, and gone in a week. The amounts are in Can Worms Eat Banana Peels?. Coffee grounds are another good swap, and the limits are in Can Worms Eat Coffee Grounds?.

Food In the bin? Why
Onions No Acidic, strong smell, worms avoid
Garlic No Same sulphur compounds as onion
Shallots and leeks No Same family, same problem
Banana peels Yes Soft, sweet, gone in a week
Coffee grounds Yes, in moderation Worms like them, a little acidic
Vegetable peelings Yes The worms’ main food

The maths is the same for every food: 1 lb of red wigglers eats about 0.5 lb of scraps a day once settled. The Worm Bin Calculator works out the worms and bin size for your household, and How Many Worms Do I Need? has the full table.

Onions and Hot Compost

Onions are not waste — they just belong somewhere else. A hot compost heap, the kind that reaches 130°F or more, breaks onions down in weeks, smell and all. If you have a garden heap, put the onions there. If you do not, the trash can is the honest answer — better there than in the worm bin.

The same goes for citrus, which is also too acidic for worms. The details are in Can Worms Eat Citrus?. Both are good examples of a simple rule: the worm bin is for mild, soft, sweet scraps. Strong, sour, and spicy foods go elsewhere.

Watch out: do not try to “fix” onions by cooking them first. Cooking softens the onion but does not remove the sulphur compounds or the acid. A cooked onion is still an onion to a worm, and it will still sit uneaten. Save the cooking for your own dinner, and keep the scraps out of the bin.

Can Worms Eat Onions? What the Experts Say

University guidance agrees with the no-onions rule. Oregon State Extension’s worm composting guide (EM9034) lists the kitchen scraps worms can and cannot eat, and onions are on the cannot-eat list. The EPA home composting page covers the same split in a different way: mild scraps for the worm bin, and the rest for a hot compost heap. So, can worms eat onions? No — keep the whole onion family out of the worm bin.

FAQ

Can worms eat a small piece of onion?

A tiny piece will not kill the bin, but the worms will avoid it and it will rot slowly. It is not worth feeding — skip onions entirely.

Can worms eat garlic?

No. Garlic is in the onion family and carries the same sulphur compounds. Keep garlic, shallots, and leeks out of the bin too.

What happens if I feed onions by mistake?

Nothing serious. Pick the pieces out, add dry bedding, and carry on. If you fed a lot, stop feeding for 3 days and add powdered eggshell.

Can I compost onions in the garden instead?

Yes — a hot compost heap breaks onions down in weeks. A worm bin is not the right place, but a garden heap is.

Can worms eat onions if they are cooked?

Cooking softens an onion but does not remove the sulphur compounds that put worms off, so the answer to can worms eat onions stays no, cooked or raw. Chop onion scraps for the hot compost heap or the trash instead.

Author Box

Written by Ritika, a home gardener who keeps a worm bin under the sink and learned vermicomposting one mistake at a time. Read more on the About the Author page.

About the author

Ritika

Ritika is a home gardener who writes WormBin and keeps a worm bin under the sink, turning kitchen scraps into rich worm castings.