From the YummyYucky team, founded by Nancy Nash

🧅

Can Babies Eat Onion? Cook It Soft First

Onion is a foundational flavor that babies can have from around 6 months once it is cooked soft and sweet. It is one of the easiest ways to make baby food taste like real food without reaching for the salt.

Log onion today →

Free, no account needed. Takes about 10 seconds.

When to introduce
Around 6 months, cooked
Common allergen?
No, not a common allergen
Texture
Cook until very soft, then dice small, blend, or stir into dishes
Key nutrients
Prebiotic fiber, vitamin C, and natural flavor compounds

Onion almost never gets served on its own, and that is exactly the point. It lives quietly in the background of your soups, sauces, stir-fries, and roasted veg, doing the heavy lifting that makes everything taste like something. When you start cooking for a baby, you do not have to strip all of that out. Cooked onion is fine from around 6 months, and it is one of the simplest tools you have for making bland puree taste like an actual meal. The only real rule is to cook it. Raw onion is sharp, biting, and unpleasant for a baby's palate, but heat transforms it completely. A slow saute or a stint in the oven turns onion soft, golden, and genuinely sweet. Stir it into whatever you are already making and you have added flavor, a little fiber, and zero salt.

Prep School: how to prepare onion for baby-led weaning (BLW) and purées

🍴 Baby-led weaning

6 monthsCook onion until fully soft and sweet by roasting or simmering it. Think of it as seasoning that happens to be a vegetable, so it does not need to be a standalone food. Fold soft cooked onion into other foods rather than serving it on its own.
9 monthsKeep it soft and folded into meals: onion melted into scrambled eggs, roasted alongside other vegetables, or simmered into a pasta sauce. Soft, cooked pieces mixed into food are easy to manage.
12 months+Continue building family meals around gently cooked onion. Toddlers can handle soft roasted or caramelized onion in most dishes. Still hold off on raw onion in salads or salsas until they clearly enjoy the sharpness, which is usually well beyond the toddler years.

🥄 Purées

6 monthsCook onion until fully soft and sweet by sauteing, roasting, or simmering it. Blend or finely chop it into purees, mashes, soups, and sauces. Think of it as seasoning that happens to be a vegetable, so it does not need to be a standalone food.
9 monthsKeep it soft and folded into meals: onion melted into scrambled eggs, stirred through lentils or rice, or simmered into a pasta sauce. Soft, cooked pieces mixed into food are easy to manage.
12 months+Continue building family meals around gently cooked onion. Toddlers can handle soft roasted or caramelized onion in most dishes. Still hold off on raw onion in salads or salsas until they clearly enjoy the sharpness, which is usually well beyond the toddler years.

Is onion safe? Choking & prep

Onion is not one of the common allergen foods, and it is not considered a choking-risk food when it is cooked soft and mixed into meals, which is how it is almost always eaten. Standard infant feeding guidance from groups like the AAP and NHS supports offering a wide variety of vegetables and flavors from around 6 months, and aromatics like onion and garlic fall comfortably into that. The one thing worth naming is texture and heat, not danger. Raw onion is firm and intensely sharp, so it is not a good fit for babies, but cooked onion softens completely and mellows into sweetness. Cook it until a fork slides through easily, then chop small, mash, or blend it into whatever you are serving. As with any new food, offer it as part of a dish and watch as you would with anything else. If your family has a history of a specific food reaction, mention it to your pediatrician, but onion is a low-worry, everyday ingredient for the vast majority of babies.

Trying onion today? Log the first taste and whether it was a hit, a hard maybe, or launched across the room, dated and ready for the pediatrician.

Log onion today →

Free, no account needed. Takes about 10 seconds.

Nutrition

Onion brings more to the table than flavor. It contains vitamin C and a type of prebiotic fiber (including inulin and fructans) that feeds the beneficial bacteria in your baby's gut. It is not a food you serve for calories or iron, so think of it as a flavor and gut-health helper rather than a main event. Its real nutritional value is indirect but meaningful: because cooked onion adds so much natural savory sweetness, it lets you season baby food without salt. Building your baby's palate around herbs, spices, and aromatics instead of added salt and sugar is one of the better long-term habits you can start early, and onion is a cornerstone of that.

Goes well with

Lentils or beans simmered with onion for an iron-rich, flavorful mash · Scrambled or soft-cooked eggs with finely diced sauteed onion · Roasted sweet potato and onion blended into a smooth puree · Chicken or beef stews where onion has simmered until soft · Tomato-based pasta sauces with onion cooked down as the base · Rice or grains stirred with soft onion and a little garlic

Storage & freezing

Store whole onions in a cool, dry, well-ventilated spot, not the fridge, and use within a few weeks. Once cut, wrap onion tightly and refrigerate it, using it within a few days. Cooked onion keeps in the fridge for about 3 to 4 days in a sealed container and freezes well, so it is worth sauteing or roasting a big batch and freezing it in small portions to stir into meals as you go.

More vegetables to explore

🌿
OracheAround 6 months
🍄
Oyster mushroomAround 9 months
🌶️
Padrón PepperAround 6 months
🥕
Parsley rootAround 6 months
🥕
ParsnipAround 6 months
🥒
ParwalAround 6 months

Related reading

Common questions

Can a 6 month old have onion?

Yes. Cooked onion is fine from around 6 months. Saute, roast, or simmer it until it is soft and sweet, then blend or stir it into your baby's food. It is one of the easiest ways to add real flavor to early meals. Just keep it cooked rather than raw, since raw onion is too sharp for a baby.

How do I serve onion to a baby?

Cook it first, always. Slowly saute chopped onion in a little oil until soft and golden, roast it, or simmer it into a soup or sauce. Then blend it smooth for a young baby, or finely chop and fold it into mashes, eggs, lentils, and stews. Onion is meant to disappear into a dish rather than be served on its own, so treat it like a flavor base rather than a standalone food.

Is onion a choking hazard for babies?

Cooked onion softened into food is not considered a choking-risk food, since it is soft and mixed into meals rather than eaten in firm pieces. The thing to avoid is raw onion, which is firm and sharp. As long as you cook onion until a fork slides through it easily and serve it chopped small or blended, it is low risk.

Can babies eat raw onion?

It is best to skip raw onion in the baby and early toddler years. Raw onion is both firm and intensely pungent, which most babies dislike and which can be harsh on a small tummy. Cooking transforms it into something soft and sweet, so stick with sauteed, roasted, or simmered onion and save raw onion in salsas and salads for much later.

Does onion cause gas in babies?

Onion contains fermentable fibers that some people find gassy, and a few babies may be a little more windy after aromatic foods. This is normal and not harmful. Cooking onion thoroughly makes it gentler, and most babies handle small cooked amounts stirred into meals without any issue. If your baby seems uncomfortable, ease back and reintroduce a smaller amount later.

Is cooked onion good for babies?

Yes, in the sense that it is a healthy, flavorful addition to meals. It offers vitamin C and prebiotic fiber that supports gut bacteria, but its biggest value is that it makes baby food taste good without salt. Building flavor with onion, garlic, and herbs instead of salt is a great habit to start early.

Can I put onion in baby food to add flavor?

Absolutely, and it is one of the best ways to do it. Cooking onion into purees, soups, lentils, and sauces adds natural savory sweetness that makes food more appealing to your baby. Along with garlic and gentle herbs, onion lets you season baby food generously while keeping added salt out of the picture.

What kind of onion is best for babies?

Any onion works once it is cooked. Sweet onions and yellow onions caramelize into a mild, sweet flavor that babies tend to like, while red and white onions are perfectly fine too. Green onion tops and leeks, cooked soft, are also gentle options. The variety matters far less than cooking it down until soft and sweet.

Can babies have onion and garlic together?

Yes. Onion and garlic are a classic pairing and both are fine cooked from around 6 months. Together they build the savory base of countless dishes and help you flavor food without salt. Cook both until soft and mellow, then blend or stir them into your baby's meal.

How much onion can a baby eat?

There is no strict limit, since onion is used as a flavoring rather than a portion of its own. A small amount cooked into a meal is plenty to add flavor. Let taste and comfort guide you: enough to make food taste good, and a bit less if your baby seems gassy or uninterested. It fits naturally into everyday cooking without needing to be measured.

Further reading

😋 🤢

Track it in YummyYucky

Log first tries and reactions, with an automatic allergen tracker when a food needs one, all in one place you can share with your pediatrician.

Start tracking for free

Last updated September 2026. Next review December 2026. How we write these: built from current published guidance from the AAP, CDC, FDA/EPA, NIAID, WHO, and other pediatric and public-health authorities, with sources cited on the page. See our editorial and medical policy for how we research, source, and update these, and how we double-check the food advice.

This is general information, not medical advice, and is not individualized for your baby. Always talk to your pediatrician about your baby's diet, introducing allergens, and any reaction. In an emergency, contact emergency services.

Some links in our guides are affiliate links: if you buy through them we may earn a small commission, at no extra cost to you. We only suggest things we'd actually use, and it never changes our guidance.