Is It Safe to Make Icing With Egg White?
Making icing with raw egg white is not considered safe to serve without further treatment. Raw egg whites can carry Salmonella, which is killed only by heat, and icing is rarely cooked, so a classic royal icing or uncooked buttercream made with shell eggs carries a genuine food-safety risk — especially for young children, older adults, pregnant people, and anyone with a weakened immune system. The good news is that the risk is easily managed: you can use pasteurized egg white, dried egg white powder, or a heated egg-white method, and the icing will behave the same way in the bowl.
Why Egg White Is in Icing at All
Egg white has three properties bakers want in icing: it is mostly water, it is roughly 10 percent protein, and those proteins foam and coagulate. Whipped egg white traps air into a stable foam, which gives royal icing its smooth, glossy, pipeable body and its ability to dry into a hard shell that holds sharp edges on cookies and gingerbread houses. The proteins also help the icing set firm without added fat, which is why royal icing dries matte and brittle rather than staying soft the way a butter-based frosting does.
Traditionally, royal icing is just egg white beaten with powdered sugar, sometimes with a little lemon juice or a pinch of cream of tartar to help the proteins stabilize. That simplicity is the problem: nothing in the mixture gets hot enough to kill bacteria. Powdered sugar is not a sterile ingredient either — it is a low-moisture food that does not support bacterial growth well, but it is not a disinfectant, so it does not neutralize pathogens introduced by the egg.
What the Salmonella Risk Actually Is
Eggs can be contaminated with Salmonella either on the shell or inside the egg, because a hen's reproductive tract can carry the bacteria. Studies of eggs in many countries have found the internal contamination rate to be low — often estimated in the range of a fraction of a percent to a few percent of eggs, varying widely by region and by how the flock is managed. Low is not zero. If you use raw egg white in a batch of icing and that egg happens to be contaminated, the bacteria are spread through the whole bowl and stay viable for as long as the icing is moist. Even a small amount of contaminated icing on a cookie is a dose.
This is why food-safety authorities consistently advise against eating raw or lightly cooked eggs, and against raw dough or batter that contains them. Icing made with raw egg white falls squarely into that category: it is an uncooked egg product served to other people, often at parties, often to children.
Three Ways to Make Egg-White Icing Safely
All three of these approaches deliver the structure egg white provides without the raw-egg risk.
- Pasteurized liquid egg white. Sold in cartons in the refrigerated case, these whites have been heat-treated to kill Salmonella while staying liquid. Use them exactly as you would fresh whites — gram for gram. Keep the carton refrigerated and use within the date on the package; once opened, treat it as perishable.
- Dried egg white powder. Reconstituted according to the package directions (typically whisking a small amount of powder with water), it whips into a stable foam and is shelf-stable until opened. It is the most forgiving option for royal icing because the protein content is consistent from batch to batch.
- Heated (cooked) egg white method. Whisk fresh egg white with the powdered sugar and a little acid over a pot of barely simmering water until the mixture reaches about 71 °C (160 °F) on an instant-read thermometer, then remove from the heat and beat until thick and glossy. The mixture must actually hit that temperature throughout — a double boiler that is too cool will not do it. Use a thermometer, not guesswork.
Some bakers avoid the whole question by using a meringue powder, which is a dried blend of egg white, sugar, and stabilizers designed specifically for royal icing. It is not the same as egg white powder, but it is a pasteurized-style product and behaves reliably.
Which Icings Are Affected
- Royal icing — made with raw white, it is uncooked and therefore a raw-egg product.
- Uncooked egg-white buttercream or 'ermine-style' icings that fold raw white into butter or sugar without heating.
- Seven-minute or Swiss-style frostings — these are heated and generally safe, because the egg white is cooked over heat with sugar and water to a safe temperature. The same applies to Italian meringue icing made with hot sugar syrup poured into whipping whites; the syrup brings the mixture up in temperature, though it is worth checking with a thermometer if you are serving a vulnerable group.
- Icings made with pasteurized or powdered egg white — treated as safe, provided you keep them refrigerated where the package says to.
Storage and Handling After You Make It
Safety does not end when the icing leaves the bowl. Egg-white icings, even pasteurized ones, are moist, protein-rich foods.
- Keep icing in a covered container in the refrigerator if it will not be used within a couple of hours.
- Do not leave a bowl of royal icing at room temperature overnight, and do not let it sit out at a warm party for hours.
- Once piped onto cookies, royal icing dries to a hard crust, and that crust protects the interior somewhat — but the cookie underneath is still a perishable food. Decorated cookies keep best in an airtight container at cool room temperature for a few days, or frozen for longer storage.
- Discard any icing that has been out for a long stretch, smells off, looks watery or separated, or has changed colour.
What Goes Wrong With Egg-White Icing
Beyond safety, egg-white icing is finicky, and knowing the failures saves a batch.
- Gritty or lumpy icing: powdered sugar was not sifted, or liquid was added too fast. Sift first and add liquid in small increments.
- Icing that will not stiffen: too much liquid, or fat contamination — a trace of yolk or a greasy bowl prevents whites from whipping. Wipe the bowl with vinegar or lemon juice before starting.
- Icing that cracks or crumbles when dry: too stiff a mixture, or drying too fast in a hot room. Add water a few drops at a time.
- Icing that stays tacky: high humidity. Royal icing does not dry well in humid conditions; give it more time and keep the room cool.
- Colour that separates or bleeds: gel colours behave better than liquid ones in royal icing.
Alternatives If You Want to Skip Egg Entirely
If you are serving someone with an egg allergy, or simply prefer not to deal with egg, egg-free royal-style icing can be made with a small amount of pasteurized liquid egg white substitute, or with a simple powdered-sugar-and-water glaze thickened with a little corn syrup or lemon juice. Aquafaba — the liquid from a can of chickpeas — whips into a foam and is sometimes used as an egg-white substitute, though it does not set as hard as real royal icing. A plain water glaze or a cream-cheese or butter frosting will not dry to a crisp shell, so it is a different look, but it is a safe and practical route for cookies that will be eaten soon.
Frequently Asked Questions
Can I just use the egg white raw if I am only serving adults?
The risk is lower for healthy adults, but it does not disappear. Salmonella infection can still make a healthy adult seriously ill, and it is not possible to tell from looking at an egg whether it is contaminated. Pasteurized egg white costs little and removes the question.
Does lemon juice in royal icing kill bacteria?
No. A squeeze of lemon juice or a pinch of cream of tartar lowers the pH slightly and helps the proteins stabilize, but it is nowhere near acidic enough, or present in a large enough quantity, to kill Salmonella in a bowl of icing.
Can I use egg white powder instead of fresh egg white?
Yes. Reconstitute it according to the package directions — usually a small amount of powder whisked with water — and it will whip and set much like fresh white. It is the most consistent option for royal icing.
Is royal icing on cookies safe to eat after the cookies sit out?
Once dried, royal icing forms a hard crust that limits moisture and slows spoilage, but the cookies are still perishable. Keep decorated cookies in an airtight container, store them cool, and discard any that smell off or have gone soft, sticky or discoloured.
Does cooking the icing to 71 °C (160 °F) make raw egg safe?
Yes, provided the whole mixture actually reaches that temperature — that is the point at which egg is considered cooked enough to be safe. Use an instant-read thermometer and stir constantly so no cool pockets remain.
Can children eat icing made with raw egg white?
It is not recommended. Young children are among the groups most vulnerable to severe Salmonella illness, which is exactly why uncooked egg dishes are routinely discouraged for them.