From the YummyYucky team, founded by Nancy Nash
Can Babies Eat Cookie Dough? Safety and Risks
Raw cookie dough and cake batter are not safe for babies. They contain raw egg (a salmonella risk) and raw flour (an E. coli risk), and neither is a ready-to-eat food. Only fully baked cookies and cakes are safe, so no licking the bowl or the beaters.
β Never raw; raw egg (salmonella) and raw flour (E. coli). Bake fully.
Raw cookie dough and cake batter contain two hazards at once: raw egg, which can carry salmonella, and raw flour, which can carry E. coli, because flour is a raw ingredient that has not been heat-treated. Cooking and baking are what kill the bacteria in raw flour and raw egg,1 and young children, especially babies, are more likely to become seriously ill from E. coli and Salmonella.23 For that reason, do not give a baby raw cookie dough or cake batter, and do not let them lick the bowl, spoon, or beaters. There is no safe way to serve raw dough or batter to a baby. Only fully baked cookies and cakes, cooked all the way through, are safe.
Some foods have rules. YummyYucky remembers them for you. Track what your baby eats and the app flags foods like raw cookie dough and batter the moment they come up, watches every new allergen for three days after the first taste, and keeps the whole record dated and pediatrician-ready.
Start tracking for free β- When to introduce
- Never raw at any age. Fully baked cookies: not before age 2 (added sugar), then only now and then
- Common allergen?
- Yes (wheat, egg, and milk from the butter)
- Texture
- Never raw; baked goods broken into small soft pieces
- Key nutrients
- Mostly refined carbohydrate and sugar
Raw cookie dough and cake batter carry two food-safety risks that make them unsafe for babies. The raw egg in the mix can carry salmonella, and the raw flour can carry E. coli, since flour is a raw agricultural product, not a ready-to-eat food. Cooking or baking is what kills both bacteria. That means the dough and the bowl are off limits, no matter how tempting the lick of the spoon is. The only safe version of these treats is the fully baked one, and even then baked cookies and cake are added-sugar foods, so they wait until age 2.
Prep School: raw cookie dough and batter by age, and what to offer instead
π΄ Baby-led weaning
π₯ PurΓ©es
Is raw cookie dough and batter safe? Choking & prep
The core safety issue with cookie dough and cake batter is that they are raw. Raw egg can carry salmonella, and raw flour can carry E. coli, and young children, especially babies, are more likely to become seriously ill from these bacteria.23 Baking to the finished, cooked-through state is what makes the food safe, so never offer the raw mix and never let your baby taste the bowl, spoon, or beaters. Store-bought edible cookie dough is a separate product made with pasteurized egg (or none) and heat-treated flour, but it is still an added-sugar food and not something to give a baby. If your toddler does get a fully baked cookie or piece of cake, watch for choking, since cookies are on the CDC's choking hazard list:5 break it into small soft pieces, avoid anything with whole nuts, hard chunks, or chewy dried fruit, and stay close while your baby eats. Baked goods also commonly contain wheat, egg, and milk (from the butter), three of the top-9 allergens, so if these have not been introduced yet, offer them first on their own in a plain form before serving a mixed baked treat.
Nutrition
Cookie dough and cake batter are made largely of flour, sugar, butter, and egg, so they offer mostly refined carbohydrate and sugar with little that a growing baby needs. Even fully baked, cookies and cakes are added-sugar foods: the CDC names cookies as a food with added sugars, which children younger than 24 months should not have,4 and the 2025 to 2030 Dietary Guidelines for Americans say to avoid added sugars through age 4.6 There is no nutritional reason to introduce these foods early.
Goes well with
Whole milk yogurt Β· Sliced banana Β· Soft berries, halved or quartered
Storage & freezing
Do not keep raw dough or batter around for a baby to taste; the safest handling is to bake it fully and refrigerate or freeze only the finished baked goods. Store baked cookies or cake in a sealed container at room temperature for a couple of days, or freeze baked portions for up to 3 months. If older family members eat store-bought edible cookie dough, follow the package instructions, and remember it is still an added-sugar food.
More foods to explore
Introducing this allergen
- How to introduce egg safely β
- Introducing the big 9 allergens β
- Signs of a food allergy in babies β
Related reading
- How to introduce egg to babies β
- What to feed your baby first β
- How to cut food to prevent choking β
- Signs your baby is ready for solids β
- Baby-led weaning vs. purΓ©es β
Common questions
Can babies eat raw cookie dough?
No. Raw cookie dough contains raw egg, which can carry salmonella, and raw flour, which can carry E. coli. Cooking or baking is what kills both, so raw dough is not safe for a baby at any age.
Is it okay to let my baby lick the bowl or the beaters?
No. The leftover batter on the bowl, spoon, and beaters is still raw and carries the same salmonella and E. coli risks as the dough itself. Keep the raw mix away from your baby.
Why is raw flour a problem if there is no egg?
Flour is a raw agricultural product that has not been heat-treated, so it can carry E. coli even with no egg in the recipe. Cooking or baking is what kills the bacteria, which is why raw flour is not a ready-to-eat food.
Is store-bought edible cookie dough safe for babies?
Edible cookie dough is made with heat-treated flour and pasteurized or no egg, so it avoids the raw-ingredient risk. It is still an added-sugar food, though, and not something to serve a baby.
When can my baby have a fully baked cookie?
Not before age 2. Baked cookies are an added-sugar food, which the CDC says children younger than 24 months should not have,4 and the Dietary Guidelines say to avoid added sugars through age 4,6 so after age 2 keep them occasional. Cookies are also on the CDC's choking hazard list.5 When your child does have a piece, make sure it is fully baked, break it into small soft pieces, skip anything with whole nuts or hard chunks, and stay close.
Sources
Further reading
- American Academy of Pediatrics (HealthyChildren.org): Starting Solid Foods
- CDC: Infant and Toddler Nutrition
- NIAID: Addendum Guidelines for the Prevention of Peanut Allergy (2017)
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 freeLast 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.