Cookies, Small Bakes & Sweet Pastries

Royal icing for cookies: recipe, consistency and a bubble-free finish

For bubble-free royal icing, make a thick base, thin it by hand in very small increments for the final task, then keep it covered and let it rest 15–30 minutes. Remove surface bubbles before filling the piping bag, fill without an air pocket, and pop visible bubbles on the cookie while the icing is still fluid. A 10–15-second test is useful for flood icing, but it is only a working guide and must be confirmed by the actual flow.

Applying smooth bubble-free royal icing to a flat sugar cookie

Royal icing for cookies: recipe, correct consistency and a smooth bubble-free finish

Royal icing is most reliable when you treat it as three separate jobs: first build a stable base, then adjust the consistency for the task, and only at the end remove the air introduced during mixing. Trying to solve all three by whipping longer usually does the opposite – it creates more microbubbles and makes the icing less predictable.

For smooth cookie icing, use one simple working rule: mix the base without needlessly whipping in air, thin it by hand in very small increments, then keep it covered and let it rest for 15–30 minutes. Before filling the piping bag, sweep bubbles from the surface with a spatula. Pop visible bubbles on the cookie while the icing is still fluid enough to close over.

If you are still preparing the cookies, aim for a flat surface and even edges. A stable cookie dough matters because royal icing cannot hide a badly puffed or warped cookie.

If you only need a simple egg-free coating, use cookie icing without egg whites. It is a different sugar glaze and does not replace the structural behavior of royal icing.

Base formula: start thick, not at flood consistency

For a home batch, a useful starting point is:

  • 250 g very fine confectioners' sugar
  • 30 g pasteurized liquid egg white
  • water for final consistency adjustment, added about 1 g or a few drops at a time

Sift the sugar. Put the egg white in a completely clean, grease-free bowl and gradually incorporate the sugar. The goal of this first stage is a thick, smooth base that holds a peak and is not yet ready for flooding.

If you use meringue powder, dried egg white, or a prepared royal-icing mix, follow the manufacturer's ratio. Products differ in solids and stabilizers, so one universal powder-to-water ratio should not be carried from one brand to another.

Royal icing is normally uncooked. For that reason, pasteurized liquid egg white or another pasteurized egg product is a more appropriate choice than raw white from a regular shell egg.

Three royal icing consistencies – and why “10 seconds” is not a universal number

Counting seconds is a useful working test, not a laboratory measurement. Results change with the width of the line, icing temperature, amount of color, and even counting speed. Use seconds mainly for repeatability within your own batch, while also watching how the icing actually flows.

UsePractical signalApproximate time for the line to disappear
Lettering, fine lines, firm detailsPeak holds, line does not spreadmore than about 20 s or remains visible
Outlining and controlled pipingLine softens slowly but still holds an edgeabout 15–20 s
Filling or floodingSurface self-levels without running over the edgeabout 10–15 s
Very thin icingLine disappears almost immediatelybelow about 8–10 s; higher risk of overflow

If you use royal icing for writing on a cake rather than flooding cookies, keep it closer to the firm detail consistency. See how to write on a cake for the full lettering workflow.

For most smooth flooded cookies, it is safer to start slightly thick and add very small amounts of water. If the icing becomes too thin, sifted confectioners' sugar can thicken it again, but a large correction changes the whole formula. Gradual adjustment is more accurate.

Where air bubbles come from

A bubble visible on a finished cookie is usually air that was already in the icing or entered during thinning, coloring, bag filling, or piping.

Common sources include:

  • fast mixing after the base structure is already developed,
  • thinning with an electric mixer instead of a spatula,
  • aggressively stirring in color,
  • trapping air while transferring icing into a piping bag,
  • an air pocket at the bottom of the bag,
  • piping from too high above the cookie.

So “mix more slowly” is only part of the answer. The most critical point is often the final preparation stage when the icing is thinned and colored. Use slow, broad spatula movements rather than whipping.

A bubble-control workflow

  1. Sift the confectioners' sugar. This removes lumps that can clog a fine tip and disrupt flow.
  2. Build a thick base. Mix only until smooth and stable. Do not chase maximum volume.
  3. Divide and color. Fold gel or paste color in gently with a spatula. Liquid color can noticeably thin the icing.
  4. Thin in small increments. Add a few drops or about 1 g of water at a time and retest after each addition.
  5. Rest covered for 15–30 minutes. Do not let the surface crust; larger bubbles can rise during the rest.
  6. Sweep the surface gently with a spatula. Do not remix the whole bowl – remove the air that has collected near the top.
  7. Fill the bag without an air pocket. Push icing toward the tip and squeeze out trapped air before decorating.
  8. Keep the tip close to the surface. Flood icing should flow in a controlled stream rather than falling from a height.
  9. Pop bubbles immediately. Use a toothpick or fine scribe tool while the wet surface can still close over.

A very gentle jiggle or tap of the tray can reveal hidden bubbles. Avoid hard impacts, which can break the outline and make icing spill.

When icing is too thick or too thin

Icing that is too thick does not level, leaves ridges, and requires excessive hand pressure. Air pockets also move upward more slowly. Add the smallest practical amount of water and test again.

Icing that is too thin quickly flattens but can flow over the outline, pool at the edge, or create a layer that is too thin. After drying, the cookie may show through more and the color can look uneven.

Do not use one consistency for every job. Fine writing and lines need substantially more structure than a large flood area.

Bubbles, pits and craters are different defects

SymptomLikely causeWhat to change next time
Round hole or dark dotBubble bursts only after the surface begins dryingrest longer, introduce less air while thinning, pop bubbles immediately after piping
Small sunken centertoo little icing, an air pocket, or uneven dryingfill the area evenly and remove bubbles before a skin forms
Visible ridgesicing is too thickadd water in minimal increments
Icing flows over the edgeicing is too thin or application is too heavyuse slightly thicker icing or reduce flow
Blotches or uneven colortoo much liquid, a high color load, or uneven dryingdose color conservatively and dry the batch under consistent conditions

The distinction matters. If you treat a crater as if it were simply an air bubble, you can repeat the wrong correction without improving the result.

Drying: a smooth surface does not have to stay glossy

Fresh royal icing may look very glossy, but some wet shine disappears as it dries. Properly dried icing can be smooth and clean even when the final finish is satin or matte. Gloss alone is not a reliable success criterion.

Dry cookies on a clean, level surface at a stable room temperature without excessive humidity. Gentle, even airflow can help; strong heat is unnecessary. Drying time changes with layer thickness, icing consistency, temperature, and relative humidity.

Before stacking or packaging, make sure more than the surface skin is dry. If the icing underneath is still soft, pressure can dent or imprint the decoration.

Royal icing made with egg white is not the same as whipped egg-white foam

With classic whipped whites, the goal is to create a large amount of stable foam. With perfectly smooth flood icing, once the base is prepared we do not want to add more air, because that air later appears as bubbles. For the separate physics of a stable foam, see how to whip egg whites to stable peaks.

The shortest system for repeatable results

For repeatable batches, record three things: the mass of added water, the line-closing time, and the drying conditions. Next time you do not have to guess whether you used “a little more water”; you can reproduce the same color and consistency much more accurately.

Smooth, bubble-free royal icing does not require aggressive whipping or a secret trick. It requires a thick stable base, controlled thinning, a rest, careful bag filling, and fast correction of visible bubbles.

Diagnostics

Common problems and solutions

Small bubbles appear after piping.

Cause: Air was introduced during thinning, coloring or filling the piping bag.

Solution: Thin and color slowly with a spatula, rest 15–30 minutes, fill the bag without an air pocket and pop bubbles immediately.

Round pinholes or dark dots remain after drying.

Cause: A bubble burst only after the surface had started to set.

Solution: Extend the rest before use and inspect the surface immediately after flooding.

Icing leaves ridges and does not level.

Cause: The icing is too thick for flooding.

Solution: Add water in minimal increments and repeat the flow test after each addition.

Icing runs over the cookie edge.

Cause: The icing is too thin, flow is too high, or the layer is too thick.

Solution: Use slightly thicker icing and reduce the amount applied.

Small filled areas sink.

Cause: Too little icing, an air pocket, or uneven drying.

Solution: Fill the area evenly, remove bubbles before a skin forms, and dry the batch under consistent conditions.

Technical terms

Terms worth understanding

Royal icing
A sugar icing based on confectioners' sugar and egg white or a suitable dried egg-white mix that dries firm.
Flooding
Filling an outlined cookie area with icing fluid enough to self-level.
Seconds test
A practical test that measures how long a line on the icing surface takes to merge back into the mass; the value is approximate.

Frequently asked questions

Answers to common questions

What is a basic royal icing recipe for cookies?

As a thick-base starting point, use 250 g very fine confectioners' sugar with about 30 g pasteurized liquid egg white. Then adjust outlining or flood consistency with water a few drops or about 1 g at a time.

Why do bubbles appear in royal icing?

Air is most often introduced during mixing, thinning, coloring, or filling the piping bag. The final stage is especially critical, so thin and color slowly with a spatula and let the covered icing rest before use.

Is 10-second royal icing always the right flood consistency?

No. Ten seconds is a useful working approximation, not a universal number. For many flood applications roughly 10–15 seconds works, but the icing must actually self-level without running over the edge.

How do I remove bubbles from an already flooded cookie?

Pop a visible bubble immediately with a toothpick or fine scribe tool while the icing is fluid enough for the hole to close over.

Can I make royal icing with ordinary raw egg white?

Because royal icing normally remains uncooked, pasteurized liquid egg white or another pasteurized egg product is the safer editorial choice.

Why is dried royal icing less shiny than fresh icing?

Wet icing is naturally glossier. As it dries it loses part of that wet shine, and a good final surface can still be smooth even when it looks satin or matte.