Food

How to Make Cookie Icing That Hardens: Royal Icing Recipe

By Hayride Live · Updated · 4 min read

Use a traditional royal icing made from powdered sugar and meringue powder to get a finish that dries completely hard and matte. The process takes about 15 minutes of active work, followed by 4 to 6 hours for the icing to set fully on your cookies.

You will need a stand mixer or a hand mixer, a fine-mesh sieve, a small bowl, and a spatula. This method creates a durable shell that protects the cookie underneath, making it perfect for stacking, shipping, or long-term display.

Gather Your Ingredients

Royal icing relies on precise ratios to achieve the right consistency. Using too much liquid prevents hardening, while too little makes the icing impossible to pipe smoothly.

  • 4 cups (480 g) confectioners’ sugar (powdered sugar), sifted to remove lumps
  • 1/3 cup (40 g) meringue powder
  • 1/2 cup (120 ml) warm water (about 110°F / 43°C)
  • Optional: Gel food coloring paste (liquid coloring adds too much water)

Mix the Base Icing

  1. Sift the confectioners’ sugar into a large mixing bowl to ensure there are no hard clumps that could clog your piping tip.
  2. Add the meringue powder to the sifted sugar and whisk them together briefly with a fork.
  3. Pour in the warm water. Start the mixer on low speed until the ingredients combine into a thick paste.
  4. Increase the mixer to medium-high speed and beat for 7 to 10 minutes. The icing should become white, glossy, and very stiff. It is ready when you lift the beater; the peak should hold its shape firmly without drooping.

Adjust Consistency for Your Task

The thickness of the icing determines how you apply it. You can divide the batch into separate bowls to create different consistencies for outlining and flooding.

For Outlining

Keep the base mixture as is. It needs to be thick enough to hold the edges of your design without spreading. If it is too thin, add more sifted powdered sugar, one tablespoon at a time, until it holds a sharp peak.

For Flooding (Filling)

To fill in the outlined areas, you must thin the icing so it levels itself out. Take a portion of your stiff icing and add warm water, one teaspoon at a time. Stir gently with a spatula.

The Window Pane Test: Scoop up some icing with a spoon or spatula and let it fall back into the bowl. Count how many seconds it takes for the ribbon of icing to disappear into the surface. For flooding, it should take about 10 to 15 seconds. If it disappears instantly, it is too thin. If it sits on top for more than 20 seconds, it is too thick.

Pipe and Flood the Cookies

  1. Transfer the outline icing into a piping bag fitted with a small round tip (size #1 or #2). Pipe a continuous border around the edge of each cooled cookie. Ensure the border is sealed completely; any gaps will cause the flood icing to leak out.
  2. Fill a second piping bag or a squeeze bottle with the thinned flood icing.
  3. Run the tip of the bag along the inside of the piped border to seal any tiny gaps.
  4. Squeeze the flood icing into the center of the cookie. Use a toothpick or a scribe tool to gently guide the icing into the corners and pop any air bubbles.
  5. Tap the side of the cookie tray gently against the counter to help the icing settle and level out evenly.

Drying and Storage

Let the cookies sit undisturbed at room temperature to dry. Do not put them in the refrigerator, as humidity can make the icing sticky or tacky.

  • Drying Time: Small cookies typically take 4 to 6 hours to dry through. Large or heavily decorated cookies may need overnight (8-12 hours).
  • Checking for Dryness: Gently touch the surface. It should feel firm and not sticky. It should not leave any residue on your finger.
  • Storage: Once fully dry, store cookies in an airtight container at room temperature. Place parchment paper between layers if you stack them. They will keep for 2 to 3 weeks.

Troubleshooting Common Issues

Problem Cause Fix
Icing stays wet or sticky Air humidity is too high, or insufficient drying time. Use a dehumidifier in the room, or let cookies dry longer. Avoid refrigerating.
Icing cracks after drying Applied too thickly, or dried too quickly in direct heat. Thin the icing slightly more for flooding. Let it dry slowly at room temperature.
Icing runs off the cookie Too much water was added during thinning. Add more sifted powdered sugar to thicken it back up.
Lumps in the icing Sugar was not sifted, or icing wasn’t mixed long enough. Sift the sugar before starting. Beat the icing for the full 10 minutes.

Frequently Asked Questions

Can I use egg whites instead of meringue powder?

Yes, traditional royal icing uses raw egg whites. However, because raw eggs carry a risk of salmonella, meringue powder is recommended for safety. If you choose to use egg whites, ensure they are pasteurized. Pregnant people, young children, older adults, and anyone with a weakened immune system should avoid raw eggs and raw flour.

Why does my icing turn yellow?

If you use fresh lemon juice or vinegar instead of water, the acidity can cause the icing to yellow over time. Using plain water and meringue powder helps maintain a bright white color.

How do I clean my piping bags?

Royal icing dries very hard. Rinse your tools immediately with warm water after use. For stubborn dried bits, soak the tips in warm water for 10 minutes before scrubbing.

Spotted a mistake? Tell us and we will correct it. How we write and check articles.