Is Royal Icing Safe to Eat? Raw Egg Whites vs Meringue Powder

Free calculator from Baking Resources
Is My Royal Icing Safe to Eat?
Pick what the icing is made with and who will eat it.
Need more? Open the free Frosting Calculator.
More free baking tools
Want more options? Open the full Frosting Calculator.
- Royal icing made with meringue powder or pasteurized egg whites is safe to eat.
- Raw, unpasteurized egg whites can carry Salmonella; drying the icing does not kill it.
- FoodSafety.gov: use pasteurized eggs or egg products in recipes where eggs are not cooked.
- Egg whites heated with sugar to 160°F (71°C) are safe to use in royal icing.
- About 2 teaspoons of meringue powder plus 2 tablespoons of water replace 1 large egg white.
- All egg-based royal icing contains egg; aquafaba icing is the egg-free option.
Is royal icing safe to eat? For almost every batch made today, yes. Most royal icing is made with meringue powder, and the egg white in it has already been pasteurized. The only real question is old-fashioned royal icing made with raw egg whites straight from the shell.
Below you will find which kinds of royal icing are safe, what the food safety guidance says about raw egg whites, who should be extra careful, and how to make any recipe safe with one easy swap.
Can you eat royal icing?
Yes, you can eat royal icing. It is just powdered sugar, egg white protein and water, often with a little cream of tartar, flavoring or food coloring. It is made to be eaten, and it is the classic icing on decorated sugar cookies and gingerbread.
The ingredient that matters for safety is the egg white. Royal icing is never baked or cooked after mixing, so whatever is in the egg white ends up in the icing. That is why the kind of egg white you use is the whole answer:
- Meringue powder: made from dried, pasteurized egg whites. Safe.
- Pasteurized liquid egg whites: heated just enough to kill bacteria. Safe.
- Pasteurized shell eggs: eggs heated in the shell. Safe.
- Raw, unpasteurized egg whites: a small risk of Salmonella. Not recommended.
- Aquafaba: the cooked liquid from canned chickpeas. Safe and egg-free.
Not sure what royal icing is or how it compares to softer cookie frosting? Our guide on sugar cookie frosting vs royal icing explains the difference.
Is royal icing made with raw egg whites safe?
Royal icing made with raw, unpasteurized egg whites carries a small risk of food poisoning from Salmonella, a bacteria that can be found on or inside raw eggs. Most eggs are fine, but there is no way to tell by looking, and the icing is never cooked to kill it.
FoodSafety.gov, the U.S. government’s food safety site, advises using pasteurized eggs or egg products for any recipe that calls for eggs that will be eaten raw or undercooked. Royal icing fits that description exactly.
A common belief is that the large amount of sugar, or drying the icing hard, makes raw egg icing safe. It does not. Sugar and drying stop bacteria from growing, but they do not kill bacteria that are already there. A dry cookie made with raw egg icing has the same small risk it had when it was wet.
The good news is that the safe swap costs you nothing in texture. Pasteurized whites and meringue powder pipe, flood and dry just like raw whites.
Who should avoid royal icing made with raw eggs?
Young children, pregnant people, older adults and anyone with a weakened immune system should not eat royal icing made with raw, unpasteurized egg whites. FoodSafety.gov lists these groups as more likely to get seriously ill from food poisoning.
Decorated cookies tend to go to exactly these people. Think of school parties, baby showers, holiday trays for grandparents and cookie decorating with little kids. If the cookies are leaving your house, or you do not know who will eat them, use meringue powder or pasteurized whites.
| Royal icing made with | Healthy adults | Young children | Pregnant people | Older adults |
|---|---|---|---|---|
| Meringue powder | Safe | Safe | Safe | Safe |
| Pasteurized egg whites | Safe | Safe | Safe | Safe |
| Whites heated to 160°F (71°C) | Safe | Safe | Safe | Safe |
| Aquafaba | Safe | Safe | Safe | Safe |
| Raw, unpasteurized whites | Small risk | Avoid | Avoid | Avoid |
Hosting a cookie party for kids? Our guide to a kids’ cookie decorating party shows how much dough and icing to make for 12 children.
Is meringue powder safe to eat raw?
Yes. Meringue powder is safe to eat without cooking because it is made from egg whites that have been pasteurized and then dried. It is the main reason most royal icing recipes use it today.
Meringue powder is a blend. It usually contains dried egg white, sugar, cornstarch and a stabilizing gum, sometimes with cream of tartar and flavoring. The dried egg white gives the icing its strength, and the rest helps it whip up and set.
Because it is dry, meringue powder also keeps for a long time in the pantry before mixing, and royal icing made with it keeps about 2 weeks in the fridge. Our guide on meringue powder substitutes covers what to use if you run out, including dried egg white powder, which is also pasteurized.
Are pasteurized egg whites safe in royal icing?
Yes. Pasteurized egg whites are safe in royal icing because they have been gently heated to kill Salmonella without cooking them. You can buy them as liquid whites in a carton or as pasteurized eggs in the shell.
A few tips for using them:
- Check the label. Make sure it says pasteurized. Not every carton of whites does.
- Whip a little longer. Pasteurized whites can take a few extra minutes to whip to stiff peaks.
- Add cream of tartar. About 1/4 teaspoon per egg white helps the foam hold.
- Keep the icing cold. Once mixed, it goes in the fridge and keeps up to 3 days.
A simple ratio works: 1 large pasteurized egg white (about 2 tablespoons) to 1 cup (120 g) of powdered sugar. Our guide on how to whip egg whites shows what soft, firm and stiff peaks look like.
How to make royal icing safe with fresh eggs
To make royal icing safe with fresh eggs, heat the egg whites with some of the sugar to 160°F (71°C), the safe temperature for egg dishes, then whip them and finish the icing. This is the same idea as a Swiss meringue.
- Put 3 large egg whites and 1/2 cup (60 g) of the powdered sugar in a clean, grease-free heatproof bowl.
- Set the bowl over a pan of barely simmering water. The bowl should not touch the water.
- Whisk constantly until the mixture reaches 160°F (71°C) on an instant-read thermometer, about 3 to 5 minutes.
- Take it off the heat and whip on medium-high until it is thick, glossy and cool, about 5 minutes.
- Beat in the rest of the powdered sugar, about 2 1/2 cups (300 g), on low until stiff and smooth.
- Thin with water a few drops at a time for piping or flooding.
Separate the eggs carefully. Even a speck of yolk is fat, and fat stops the whites from whipping and the icing from drying hard. Our guide on how to separate eggs shows the cleanest method.
Worked example: swapping raw whites in an old family recipe
Say your grandmother’s royal icing recipe calls for 3 raw egg whites and 4 cups (480 g) of powdered sugar, and you are making cookies for a school bake sale. Here are three safe ways to make it.
Option 1, meringue powder. About 2 teaspoons of meringue powder plus 2 tablespoons of water replace each egg white. For 3 whites, use 2 tablespoons of meringue powder and 6 tablespoons of water. Whip with the sugar for about 7 minutes.
Option 2, pasteurized whites. Use 3 pasteurized egg whites from a carton, about 6 tablespoons, plus 1/4 teaspoon of cream of tartar. Everything else stays the same.
Option 3, heated whites. Heat your 3 fresh whites with 1/2 cup (60 g) of the sugar to 160°F (71°C), whip, then add the remaining 3 1/2 cups (420 g) of sugar.
All three give you about 2 1/2 cups of icing, enough for about 2 1/2 dozen 3 inch cookies. Our guide on how much royal icing for sugar cookies has amounts for other sizes.
Is dried royal icing safe to eat? Gingerbread houses and old cookies
Dried royal icing made with meringue powder or pasteurized whites is safe to eat, and it keeps for weeks on a cookie. Whether it is still nice to eat is a different question. After a few weeks it turns very hard and the cookie underneath goes stale.
- Decorated cookies: best eaten within about 1 to 2 weeks, stored airtight. See how long Christmas cookies last.
- Gingerbread houses on display: after days or weeks in the open, they collect dust and get handled. Most people treat them as decorations, not food.
- Hard icing and toddlers: very hard, dry icing can be tough to chew. Break it into small pieces for little ones.
Want an icing that sets firm on cookies without any egg product at all? Our guide to cookie icing that hardens without meringue powder covers simple powdered sugar icings that dry smooth for stacking. Decorated cookies made with safe icing also freeze well once fully dry, as our guide to Christmas cookies that freeze well explains.
Building a house you plan to eat? Our gingerbread house icing recipe uses meringue powder so it is safe from the start.
Are royal icing decorations and colors safe?
Food coloring sold for baking is safe in royal icing in normal amounts. Decorations are a bit trickier, because some shiny dusts, glitters and metallic balls are sold for decoration only and are not meant to be eaten.
- Look for the word “edible” on luster dust, glitter and sprinkles.
- “Non-toxic” is not the same as edible. It means it will not hurt you in a tiny amount, not that it is food.
- Remove any non-edible decorations, ribbons or supports before serving.
- For egg allergies, use an egg-free icing. Our vegan egg white substitute guide covers aquafaba.
Quick reference: is royal icing safe to eat?
| Type of royal icing | Safe to eat? | Storage before decorating |
|---|---|---|
| Meringue powder | Yes | About 3 days counter, about 2 weeks fridge |
| Pasteurized egg whites | Yes | Fridge, up to 3 days |
| Fresh whites heated to 160°F (71°C) | Yes | Fridge, up to 3 days |
| Aquafaba | Yes, egg-free | Fridge, up to about 1 week |
| Raw, unpasteurized whites | Small risk; avoid for high-risk groups | Fridge, up to 3 days |
| Fully dried icing on cookies | Yes, if made safely | Airtight, at room temperature |
For drying times and when cookies are ready to stack, see how long royal icing takes to dry.
Frequently asked questions
Is it safe to eat royal icing?
Yes, when it is made with meringue powder or pasteurized egg whites. Royal icing made with raw, unpasteurized egg whites carries a small risk of Salmonella.
Can pregnant women eat royal icing?
Royal icing made with meringue powder or pasteurized egg whites is the safe choice during pregnancy. Avoid royal icing made with raw, unpasteurized egg whites.
Can kids eat royal icing?
Yes, if it is made with meringue powder, pasteurized whites or aquafaba. Young children are more at risk from raw eggs, so skip raw egg white icing.
Does royal icing have raw egg in it?
Only if the recipe uses fresh, unpasteurized egg whites. Royal icing made with meringue powder or pasteurized whites has no raw egg.
Does drying royal icing kill bacteria?
No. Drying and sugar stop bacteria from growing, but they do not kill bacteria already in raw egg whites. Use a pasteurized egg product to start with.
Is royal icing safe for people with egg allergies?
No, all egg-based royal icing contains egg, including meringue powder. Use aquafaba, the liquid from canned chickpeas, for an egg-free version.
Can you eat royal icing straight from the bowl?
You can if it is made with meringue powder or pasteurized whites, though it is very sweet. Raw egg white icing should not be eaten from the bowl.
Can you eat the icing on a gingerbread house?
If it was made with meringue powder or pasteurized whites and the house was not on display for long, yes. After weeks of sitting out, it is best treated as decoration.



