Perfect Royal Icing Recipe: Smooth, Glossy, and Pipe-Ready

A stand mixer with a glass mixing bowl with the whisk attachment mixing a bowl of white royal icing.

I trained in pastry and have decorated sugar cookies professionally for years — weddings, showers, birthdays, and a monthly gluten-free cookie subscription. After decorating thousands of cookies, this is the royal icing recipe I rely on every time.

It uses meringue powder instead of raw egg whites, so there’s no salmonella risk and no need to separate eggs. With four ingredients and about eight minutes of mixing in a stand mixer, you’ll have a base icing you can thin to the right consistency for outlining, flooding, or detailed piping.

Why You’ll Love This Recipe

  • One base, multiple consistencies. Make one batch and adjust the water to achieve stiff piping or thinner flood icing.
  • It dries hard and smooth. When fully set, the icing is sturdy enough to stack, package, and ship decorated cookies.
  • Works for more than cookies. Use it for gingerbread houses, piped cake decorations, and other projects that need a hard-drying icing.
Ingredients in bowls to make royal icing, including powdered sugar, water, vanilla extract and meringue powder with text overlays over each ingredient.

Ingredient Notes

  • Powdered Sugar – Also called confectioners’ or icing sugar. Don’t substitute granulated sugar; it won’t dissolve and will leave the icing grainy.
  • Meringue Powder – A dried egg-white product that replaces raw egg whites. Brands like AmeriColor or Wilton are common; choose one you trust and that meets any dietary needs.
  • Water – Use room-temperature water. The amount controls consistency, so add it slowly.
  • Vanilla or Almond Extract – Use pure extract for the best flavor; imitation extracts can leave an off taste in uncooked icing.
  • Gel Food Coloring – Use gel rather than liquid to avoid thinning the icing while achieving vibrant colors.

The 15-Second Rule

Consistency is everything. For outlining and flooding, aim for “15-second” icing: lift a spoonful and drizzle it back into the bowl — it should hold its shape for about 15 seconds before smoothing back in.

For finer detail work, use a thicker 20–25 second icing. Start with the base consistency from the mixer and thin with water a half teaspoon at a time until you reach the target. It’s much easier to thin than to thicken.

Step-by-Step Instructions

Making royal icing with meringue powder is straightforward. The photos below illustrate stages of the process so you know what to expect as you mix and thin the icing.

For exact measurements, full instructions, and the printable recipe card, see the recipe card below.

A glass mixing bowl with powdered sugar, vanilla, water, and meringue powder before mixing together.
Combine powdered sugar, meringue powder, most of the water, and extract in a mixer.
A stand mixer with a glass mixing bowl with the whisk attachment mixing a bowl of white royal icing.
Start on low to incorporate, scraping the bowl as needed. The mix may look slightly yellow at first.
A stand mixer with a glass mixing bowl with the whisk attachment mixing a bowl of white royal icing.
Increase speed and mix until the icing is thick and turns white.
A whisk covered in white royal icing with a medium stiff peak.
The base consistency will have medium-stiff peaks.
A glass mixing bowl of teal royal icing with a spatula illustrating the ribbon test for royal icing thickness.
Add gel color, then thin with water a half teaspoon at a time until you reach outline or flood consistency.
Five disposable pastry bags filled each with a different color of royal icing, teal, blue, purple, light pink and fuchsia.
Transfer icing to piping bags or cover bowls with a wet towel to prevent crusting.
Star sugar cookies frosted with pink, purple, blue and green royal icing that is still wet.
Pipe or flood your cookies as desired.
Star sugar cookies frosted with pink, purple, blue and green royal icing that has dried.
Allow icing to dry completely before stacking or packaging.

Recipe FAQs

Why is my royal icing not hardening?

Common causes are too much water, high humidity, or insufficient mixing. Recheck the consistency, reduce moisture exposure, and allow cookies to dry in a low-humidity spot. A fan can help speed drying.

How long does royal icing take to dry?

Flood icing usually takes 4–5 hours to dry fully; thicker details may set in about an hour. I typically let decorated cookies sit overnight before stacking or packaging.

Why does my royal icing have bubbles?

Bubbles mean the icing is too thin or has excess air. Tap the bowl to pop bubbles after thinning and use a scribe tool or toothpick to remove any that appear while decorating.

How do I fix royal icing that’s too thick or too thin?

Thin with water, a half teaspoon at a time. To thicken, add powdered sugar in small amounts. Make adjustments slowly to avoid overshooting.

Expert Tips

  • Keep the icing covered. Royal icing crusts quickly. Place a wet paper towel over the surface when not in use.
  • Add gel color sparingly. Colors deepen as the icing dries, so start with less than you think you need.
  • Use a scribe tool when flooding. A scribe or toothpick helps spread icing into corners and pop bubbles before it sets.

Storage Instructions

  • Storing: Keep in an airtight container at room temperature for up to two weeks. Press plastic wrap directly onto the surface before sealing to prevent a crust.
  • Freezing: Seal with plastic pressed to the surface and freeze up to two months. Thaw in the refrigerator overnight and re-whip on low speed before using.
Five disposable pastry bags filled each with a different color of royal icing, teal, blue, purple, light pink and fuchsia.

Cookies to Decorate with Royal Icing

This icing is ideal for decorated cookies. It pairs especially well with sturdy cut-out recipes like gluten-free sugar cookies and gingerbread that hold their shape for detailed decorating. It’s also great for any holiday cookie assortments where you want a polished, hard-drying finish.

A glass mixing bowl with thinned out white royal icing in it with a spoon.
No ratings yet

Royal Icing Recipe

This royal icing uses meringue powder instead of raw egg whites, so there’s no salmonella risk. Four ingredients and about eight minutes of mixing yield a smooth, hard-drying icing ideal for outlining, flooding, and detail work.
Prep Time 2 minutes
Mix Time 6 minutes
Total Time 8 minutes
Servings 24 servings
Metric – US Customary

Ingredients

  • 4 cups (480 g) powdered sugar
  • 3 tablespoons (20 g) meringue powder
  • 5 tablespoons (75 g) water, plus more as needed
  • 1 teaspoon (4 g) vanilla or almond extract
  • AmeriColor gel food coloring, for decorating

Use the toggle above to turn instruction photos on or off.

Instructions

  • In a stand mixer fitted with the whisk, combine powdered sugar, meringue powder, 5 tablespoons water, and vanilla extract.
  • Mix on low for 1–2 minutes, scraping the bowl to incorporate all the dry sugar.
  • Increase to medium-high and mix 3–4 more minutes until the icing is thick, very white, and matte. With a hand mixer, this may take 8–10 minutes.
  • This is your base consistency with stiff peaks. Keep it covered with a wet paper towel unless it’s in a piping bag.
  • To thin for outlining or flooding, add water 1/2 teaspoon at a time, mixing well after each addition. Use the 15-second rule for flood/outline icing and 20–25 seconds for finer details. Depending on how thin you need it, you may add 1–4 tablespoons total; go slowly.
  • Add gel food coloring a little at a time; colors will deepen as the icing dries.

Notes

  • Meringue powder: Brands vary; choose one that fits your dietary needs.
  • Extract: Use pure vanilla or almond extract for best flavor.
  • Food coloring: Use gel colors to avoid thinning and get vibrant shades.
  • Piping bags: Tipless bags work well; cut the tip to the size you need.
  • Consistency: Always add water slowly — half a teaspoon at a time.
  • Storage: Airtight at room temperature up to two weeks with plastic pressed to the surface; freeze up to two months and re-whip after thawing.

Nutrition

Calories: 78kcal
|
Carbohydrates: 20g
|
Sugar: 20g