No, hamsters should not eat onions. Onions and the rest of the onion family, including garlic, leeks, chives, shallots and spring onions (scallions), contain compounds that can damage red blood cells and cause anaemia. Cooking does not make them safe. If your hamster has eaten some, remove the rest, ring your vet for advice and watch closely for the next few days.
| Safe? | No |
| How much | None |
| How often | Never |
| Best served | Not at all: offer a little bell pepper or celery instead |
| Watch out for | Pale gums or ears, weakness, fast breathing, not eating, upset stomach |
Why are onions bad for hamsters?
Onions contain sulphur compounds that turn into disulphides in the body, and these can destroy red blood cells. The result is haemolytic anaemia, where the blood cannot carry enough oxygen. A vet-reviewed guide from The Vet Desk says onions "should never be fed to hamsters because they can make them very unwell". The ASPCA warns that the onion family can cause stomach irritation and red blood cell damage in pets.
Woodgreen, the UK animal charity, puts onions on its list of unsafe foods for hamsters, alongside garlic, leeks and chives. A hamster is a tiny animal, so even a little onion is a big dose for its body.
The PDSA's hamster diet page lists onion as a suitable vegetable, which surprised us. Every other source we read says no, and the harm onion does to blood cells is well known in pets, so we follow the careful side. A wrong "yes" here could hurt your hamster.
Cooked, powdered and other onion-family foods
- Raw and cooked onion: no. Cooking does not remove the harmful compounds.
- Garlic, leeks, shallots, chives, spring onions: no. Same family, same risk.
- Onion or garlic powder, stock cubes, gravy, soups, crisps (chips): no. These are easy to miss in leftovers and snacks.
- Food that touched onion, such as salad leaves from a mixed salad or a vegetable from a stir-fry: no. Give fresh, plain pieces only.
What to do if your hamster ate onion
Take away any onion you can find, including in their food stash and cheek pouches if they will let you look. Ring your vet for advice straight away and say what was eaten, roughly how much and when. Over the next few days watch for pale gums, ears or feet, weakness, wobbliness, fast breathing, not eating, diarrhoea or dark urine. Any of these means see a vet the same day.
Damage to red blood cells can take a day or more to show, so a hamster that seems fine at first still needs watching. Keep their usual food and fresh water within easy reach.
What to offer instead
For a crunchy vegetable, try a small slice of bell pepper, a sliver of celery cut into short pieces, or a floret of broccoli. Fresh herbs such as parsley and basil are safe green extras too. Our list of what hamsters can eat has every safe food in one place, our hamster diet guide explains portions, our hamster health guide covers signs of illness, and our hamster care guide covers everything else.
Onion questions
Can hamsters eat cooked onions?
No. Cooking does not make onion safe for pets. The compounds that harm red blood cells survive frying, boiling and roasting, which is why leftovers such as stews, gravy and stir-fries are risky. Keep every dish that contains onion, garlic or leek away from your hamster, along with onion powder and stock.
Can hamsters eat spring onions or chives?
No. Spring onions (scallions), chives, shallots, leeks and garlic all belong to the same onion family and carry the same risk. Woodgreen lists chives, garlic, leeks and onions together as unsafe for hamsters. For something green and fresh, offer a little parsley or basil instead.
Why does the PDSA list onion as safe?
The PDSA hamster diet page does include onion in its list of suitable vegetables. Woodgreen, the ASPCA and a vet-reviewed guide from The Vet Desk all say onions and their relatives harm small animals and pets. When good sources disagree on a food that can hurt, we take the careful side: no onion.
My hamster ate a tiny bit of onion. Is it an emergency?
A crumb is unlikely to cause trouble, but ring your vet for advice, tell them how much was eaten and when, and watch closely for two to three days. Pale gums or ears, weakness, fast breathing, not eating or dark urine all mean see a vet the same day.
