From the YummyYucky team, founded by Nancy Nash

🌿

Can Babies Eat Pesto? Yes, From About 9 Months

Pesto works from about 9 months, and the thing to know before you stir it through anything is that classic pesto contains pine nuts and parmesan. That makes it a tree nut food and a milk food, which surprises a lot of parents. Introduce each of those on its own first, keep the salt low, and make sure the nuts are fully ground.

Log pesto today β†’

Free, no account needed. Takes about 10 seconds.

When to introduce
From about 9 months, once tree nut and milk have each been introduced on their own
Common allergen?
Contains tree nut from the pine nuts and milk from the parmesan; some jars use cashews or walnuts instead
Texture
A smooth, oily paste; check that no whole or chopped nut pieces are left in it and thin it before tossing it through food
Key nutrients
Mostly fat from olive oil and pine nuts, with calcium and protein from the parmesan, plus a fair amount of salt

Yes, babies can eat pesto, and from about 9 months a teaspoon stirred through soft pasta is a lovely way to widen a baby's flavors. Here is the part that catches people out: classic basil pesto contains pine nuts and parmesan. FDA's allergen guidance lists pine nut among the tree nuts it treats as major food allergens, and parmesan is milk, so a spoon of pesto is quietly two of the nine major allergens at once.13 Plenty of parents have handed over pesto pasta without knowing that, which is exactly why it is worth saying plainly. Nothing here is dangerous. It just means you want tree nut and milk each introduced on their own first, the nuts fully ground rather than left in pieces, and an eye on the salt, because parmesan and jarred pesto both bring plenty.

Prep School: how to prepare pesto for baby-led weaning (BLW) and purΓ©es

Around 9 monthsMake your own with no added salt. Blend basil, olive oil, a small amount of grated parmesan and finely ground pine nuts until the paste is completely smooth with no visible nut pieces, then thin it with a little water or extra oil. Stir about a teaspoon through very soft, well-cooked pasta cut into short pieces, or through mashed potato or soft vegetables. Offer pine nuts and parmesan separately in a plainer food first, so that if a reaction happens you know which one caused it.
12 to 18 monthsA teaspoon or two stirred through short pasta pieces, soft roasted vegetables or flaked white fish. A jarred pesto is fine occasionally: choose the lowest salt one you can find, check the label for cashews, walnuts, almonds or wheat, and look at the jar to be sure the nuts are ground rather than left whole. Thin it before serving so it coats rather than clumps.
18 months and upUse it as a proper sauce or as a thin spread on soft bread strips. Keep an eye on the total salt across the day, since parmesan and jarred pesto both run high. Whole pine nuts still stay off the menu: NHS advises that whole nuts are not given to children under 5 because they can choke on them, so keep them ground into the sauce.

πŸͺ A green pasta without the nuts and salt β†’

Is pesto safe? Choking & prep

The allergens are the headline. FDA's allergen guidance lists pine nut among the tree nuts it treats as major food allergens, which makes pesto a tree nut food, and parmesan makes it a milk food, so one spoonful carries two of the nine major allergens.13 Current guidance is to introduce common allergens deliberately rather than delay them, one new food at a time with a day or so in between, so meet tree nut and milk each on their own in a simpler food first and a reaction points at one ingredient.2 Labels matter here more than usual: plenty of jars use cashews, walnuts or almonds in place of pine nuts, some use wheat-based ingredients, and a jar labeled nut-free often swaps in sunflower or pumpkin seeds. Read it every time, especially if someone in your family has a nut allergy. The second thing is texture. Whole pine nuts are small, smooth and slippery, which makes them an easy choking risk, and NHS advises that whole nuts are not given to children under 5.4 Blending them into a smooth paste makes them far easier to swallow, though it does not make them risk-free, so check that the pesto has no visible nut pieces, keep your child seated upright, and stay with them while they eat.6 Third is salt. Parmesan is naturally salty and most jarred pestos add more, and CDC advises against feeding foods high in salt to young children.5 Serve it by the teaspoon tossed through food rather than as a dip, and make your own without added salt while your baby is small.

Trying pesto 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 pesto today β†’

Free, no account needed. Takes about 10 seconds.

Nutrition

Pesto is mostly fat, and for a baby that is a feature rather than a problem, since babies get a much larger share of their energy from fat than adults do. Olive oil is largely monounsaturated fat, pine nuts add more fat along with magnesium, zinc, iron and vitamin E, and parmesan brings calcium and protein in a small volume.7 Basil is there for flavor rather than nutrition, and garlic adds a little bite that plenty of babies genuinely enjoy. Because it is calorie-dense and full of flavor, pesto is useful for making plainer foods more appealing, which is handy for a baby who is bored of steamed vegetables. The one thing to watch is sodium, which comes from the parmesan and from whatever the jar adds. A homemade batch with no added salt gives you all of the upside and very little of that.

Goes well with

Pasta Β· Parmesan Β· Zucchini Β· Green beans Β· Potato Β· Cod Β· Pine nuts (ground)

Storage & freezing

Homemade pesto keeps in the fridge in a small airtight jar with a thin film of olive oil poured over the surface to stop it browning. Cooked food is best eaten within two days, so make small batches or freeze it.[8] An ice cube tray is the easiest route: freeze the pesto in cubes, pop them into a bag, and drop one into hot pasta whenever you need it. Opened jarred pesto goes in the fridge and follows the date on the label. Always spoon out what you need with a clean spoon rather than dipping back in, and throw out any portion your baby has already been eating from.

More foods to explore

Introducing this allergen

Related reading

Common questions

Does pesto contain nuts?

Classic basil pesto contains pine nuts, which FDA lists among the tree nuts it treats as major food allergens, so yes. Many jarred versions use cashews, walnuts or almonds instead, and some nut-free versions swap in sunflower or pumpkin seeds. Read the label every time, especially if there is a nut allergy in the family.

Can babies eat pesto?

Yes, from about 9 months. Introduce tree nut and milk on their own in a plainer food first, then stir about a teaspoon of a smooth, low-salt pesto through well-cooked pasta or soft vegetables.

At what age can a baby have pesto?

Around 9 months, which lines up with when ground pine nuts are usually introduced. The limiting factors are the two allergens and the salt rather than anything about basil or olive oil.

Is pesto too salty for babies?

Jarred pesto usually is, because parmesan is naturally salty and most jars add more. CDC advises against feeding foods high in salt to young children, so make your own without added salt while your baby is small, or pick the lowest sodium jar and use a teaspoon rather than a dollop.

Can a baby with a milk allergy eat pesto?

Not the classic version, since parmesan is milk. Dairy-free pesto is easy to make at home by leaving the cheese out and adding a little extra olive oil and a squeeze of lemon, and some shop versions are dairy-free. Check the label, and talk to your pediatrician or allergist about what is right for your child.

Is pesto a choking hazard for babies?

Only if the nuts are not fully ground. Whole pine nuts are small, smooth and slippery, and NHS advises that whole nuts are not given to children under 5. A smooth blended paste is much easier to swallow, so check for visible nut pieces and keep your child seated and supervised.

Is jarred pesto safe for babies?

Occasionally, from about 12 months, once you have read the label. Check which nut it uses, check for wheat, check the sodium, and look at the jar to be sure the paste is smooth rather than studded with nut pieces. Thin it before serving.

Can babies eat pesto pasta?

Yes, and it is the easiest way to serve it. Cook the pasta very soft, cut it into short pieces your baby can pick up, and toss through about a teaspoon of thinned pesto. Remember that the pasta adds wheat on top of the tree nut and milk already in the sauce.

How do I make a nut-free pesto for a baby?

Blend basil with olive oil and toasted sunflower or pumpkin seeds instead of pine nuts, then add parmesan or leave it out if you also need it dairy-free. It tastes close to the original and drops the tree nut entirely. Grind the seeds completely smooth, since whole seeds are a choking risk of their own.

Sources

  1. FDA: Questions and Answers Regarding Food Allergens, Edition 5 (Table 1 lists pine nut as a tree nut)
  2. AAP HealthyChildren: When to Introduce Common Food Allergens
  3. FDA: Food Allergies (the nine major food allergens)
  4. NHS: Foods to avoid giving babies and young children
  5. CDC: Foods and Drinks to Avoid or Limit
  6. AAP HealthyChildren: Choking Prevention
  7. USDA FoodData Central: pine nut and parmesan nutrient data
  8. NHS: Children's food safety and hygiene

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.