Skip to the steps

TechniqueDecorating & Presentation

How to Decorate Sugar Cookies with Royal Icing

You will be able to outline, flood and detail cut-out sugar cookies with royal icing so the colors stay separate and the finish dries smooth and hard.

  • Beginner
  • 12 min read
  • About 1 to 2 hours, plus drying hands-on
Sugar cookie decorating: A round sugar cookie with a smooth pale pink flooded icing surface, a thin white piped outline and a few small piped white dots, set on a plain surface.

Quick answer

Bake flat, even cookies and cool them completely. Mix royal icing in two thicknesses: a thick one that holds a line and a thinner one that flows. Pipe a closed outline, flood inside it, and push icing into corners with a toothpick. Let each color set before adding the next, then pipe details on the dry base. It is right when the surface is smooth and hard and the colors stay apart.

What it is and when to use it

Decorated sugar cookies are small canvases, and the classic way to paint them is royal icing. Piped thick, it makes outlines, strings and fine details; thinned, it fills an outlined shape with a smooth, flat surface. It dries hard to the touch, which is why iced cookies can be stacked, boxed and given as gifts. Most designs follow the same order: a piped border around each shape or section, a thinner flood icing inside it, time to set, and then lines, dots or lettering on top.

The work starts before the icing. Cookies should be baked flat and uniform in size, so the icing settles level and a set looks matched, and they must be completely cool, or the icing softens and slides. Color needs a plan as well: shades that are too dark or too pale lose the details of a design. Mix each color in its own small bowl and keep every bowl covered with a damp cloth, because royal icing crusts as soon as air reaches it.

Patience is the real skill. Two wet colors that touch will run together, so each section needs to set before the color beside it goes on, and details go on only after the base is dry. Royal icing is traditionally made with egg whites, and meringue powder or pasteurized whites avoid the risk of raw egg. Finished cookies keep best airtight at room temperature and are best eaten within a few days; refrigerator humidity spoils the icing.

Use it when

  • Holiday cookies such as trees, stars, hearts and eggs.
  • Party favors and themed cookie sets for birthdays, weddings and showers.
  • Cookie gift boxes and platters, where hard, flat icing stacks well.
  • Exhibit or contest cookies that show skill with tips, colors and textures.

Do not use it when

  • Warm cookies, which melt the icing and make it slide.
  • Cookies that must be kept in the refrigerator, since humidity there spoils royal icing.
  • Soft, puffy or domed cookies, which let flood icing pool and run off the edge.
  • Last-minute decorating, since the icing needs hours to dry hard.

Other ways to do it

What you need

Equipment

  • Piping bags with small round tips: For outlines, dots, lines and lettering.
  • Toothpick or scribe tool: To push flood icing into corners and pop bubbles.
  • Small bowls and spatulas: One bowl per color, for mixing and thinning.
  • Damp cloth or plastic wrap: To keep the icing covered so it does not crust.
  • Wire rack and baking sheets: To cool the cookies, then hold them flat while the icing dries.
  • Paper and pencil: To sketch the design on a cookie-shaped outline first.
  • Airtight container and parchment: For storing finished cookies in layers.

Ingredients and preparation

  • Cut-out sugar cookies: Baked flat and even in size, then cooled completely.
  • Royal icing: Made with meringue powder: 3 level tablespoons meringue powder, 1 pound sifted confectioners' sugar and 5 to 6 tablespoons lukewarm water, mixed 7 to 10 minutes at low to medium speed until it loses its sheen.
  • Gel or paste food coloring: Gives strong color with very little extra liquid.
  • Water or light corn syrup: Stirred in a few drops at a time to thin icing for flooding.
  • Sanding sugar, sprinkles or nonpareils: Optional; set on wet icing so they stick.

Safe royal icing

  • Raw egg whites can carry Salmonella, so make royal icing with meringue powder, dried or pasteurized egg whites, or lightly cooked whites instead.
  • Keep leftover royal icing in an airtight container in the refrigerator, where it keeps for about 2 weeks.

Source: Iowa State University Extension and Outreach (AnswerLine): Royal Icing Made Safe

Step by step

8 steps, about 1 to 2 hours, plus drying hands-on

  1. Bake flat, even cookies

    Roll the dough to an even thickness, cut the shapes, and bake until the edges are just golden. Make a whole set the same size and shape.

    Why
    A flat, even cookie lets the icing settle level, and uniform cookies make a matched set.
    It is right when
    The cookies lie flat on the counter, with no doming or puffed edges.
    If it is not
    If cookies domed or spread, save them for simple designs and roll the next batch more evenly.
  2. Cool the cookies completely

    Move the cookies to a wire rack and let them cool all the way through, top and bottom, before any icing touches them.

    Why
    Heat softens the icing, so it slides, melts or looks greasy, and colors run.
    It is right when
    The underside of a cookie feels cool, not warm, against the back of your hand.
    If it is not
    If the icing starts to slide, scrape it off, let the cookie cool fully and start again.
  3. Plan the design and colors

    Sketch the design on paper cut to the cookie's shape, noting each color and tip. Divide the icing into small bowls, color each one, and cover every bowl with a damp cloth.

    Why
    A plan sets the order of the colors, and covered icing stays smooth instead of crusting.
    It is right when
    Each color matches the plan: deep enough to read, but not so dark it hides the details.
    If it is not
    If a color is too dark, stir in more white icing; if it is too pale, add color a little at a time.
  4. Thin the icing for flooding

    Keep part of each color thick, about like toothpaste, for outlines and details. Thin the rest with water or light corn syrup, a few drops at a time, until a ribbon drizzled from a spoon sinks back into the surface within a few seconds.

    Why
    Thick icing holds a crisp border; thinner icing flows and levels to fill the shape smoothly.
    It is right when
    The outline icing holds a peak that bends only at the tip; the flood icing smooths over by itself.
    If it is not
    If the flood icing is too thin, stir in a little sifted confectioners' sugar; if it stays ridged, add another drop of water.
  5. Pipe a closed outline

    Hold the bag at a slight angle just above the cookie and pipe a steady line around the edge, or around one section, with no gaps. Let the line fall into place instead of dragging the tip.

    Why
    The outline is a wall that keeps the thinner flood icing on the cookie and each color in its own section.
    It is right when
    The line is even in width and joins up where it started.
    If it is not
    If the line breaks or wobbles, lift that stretch off with a toothpick while it is wet and pipe it again.
  6. Flood inside the outline

    Fill the outlined area with flood icing, working from the edges toward the center. Nudge the icing into corners with a toothpick, pop any bubbles, and scatter sanding sugar or sprinkles now if you want them to stick.

    Why
    Flood icing settles into a smooth, flat surface only while it is wet, and toppings stick to wet icing, not dry.
    It is right when
    The surface looks smooth and glossy and meets the outline all the way around.
    If it is not
    If icing spills over the outline, lift the extra off at once and stop filling a little short of the border next time.
  7. Let each section set

    Before flooding a color next to another, let the first one set until its surface has crusted. Then leave the whole cookie flat and uncovered until the icing is hard, usually overnight.

    Why
    Wet colors that touch run into each other, while a set surface keeps lines crisp. Hard icing lets cookies stack and travel.
    It is right when
    A light touch at the edge leaves no mark and no icing on your finger.
    If it is not
    If two colors bled, cover the blurred line later with a piped border or dots once the icing is dry.
  8. Pipe details on dry icing

    With thick icing and a small round tip, add lines, dots, outlines and lettering on top of the dried base. Let the cookies dry completely again before you stack or pack them.

    Why
    Details piped on a dry base sit up crisply instead of sinking in, which gives a raised look.
    It is right when
    Dots stay round and lines stay sharp on the surface.
    If it is not
    If details sink or spread, the base was still soft or the icing too thin; wait longer and stiffen the icing.

What good looks like

Check these before you move on

  • The flood icing is smooth and level, with no bubbles, craters or bare spots.
  • Each color stays inside its outline, with clean lines between sections.
  • Piped details sit crisply on top and do not sink or spread.
  • The icing is hard to the touch, so the cookies stack without marking.
  • The set looks even in size, color and design.

Fix mistakes

What you see, why it happened, what to do

What you seeLikely causeHow to checkFix it nowNext time
Colors bleed into each other.A neighboring section was flooded while the first was still wet, or the flood icing was very thin.Did the first section have a set, crusted surface before the next color went on?Once the icing is dry, hide the blurred line under a piped border or dots.Let each section set before flooding the one beside it, and dry cookies in a cool, dry room.
Icing slides, melts or looks greasy.The cookies were still warm when they were iced.Feel the underside of an un-iced cookie from the same tray.Scrape the icing off, cool the cookie fully and ice it again.Cool cookies completely on a rack before decorating.
Flood icing runs off the edge.The flood icing was too thin, the outline had gaps, or too much icing went in.Look for breaks in the outline and watch how fast the icing levels.Lift the overflow off at once with a toothpick or the tip of a small knife.Pipe a closed, steady outline, thicken the flood icing slightly and fill to just inside the border.
Bubbles or small craters in the dry surface.Air was beaten into the icing, or bubbles were not popped while it was wet.Look across the wet surface in good light right after flooding.Pop bubbles with a toothpick while the icing is still wet.Mix royal icing at low to medium speed, stir thinned icing gently and let it rest covered before use.
Icing crusts in the bowl or clogs the tip.It was left uncovered and dried out.Look for a hard skin on the icing or dry bits in the tip.Beat the icing on low to bring back its texture, and soak or wipe the tip clean.Keep icing covered with a damp cloth or tightly wrapped while you work.
Icing turns sticky, spotted or dull after storing.The cookies were refrigerated, or packed in humid air or sunlight.Note where and how the cookies were stored.Let them air dry uncovered in a cool, dry room; spotted designs may not fully recover.Store finished cookies airtight at room temperature, away from sunlight and humidity, with parchment between layers.

The science, in plain English

Royal icing is mostly fine sugar held together by egg white protein. While it is wet, water keeps the sugar mobile, so flood icing flows and levels under its own weight. As the water evaporates, dissolved sugar crystallizes again and the egg proteins set into a thin film that binds the crystals, leaving a hard, matte shell. That is why dry royal icing holds piped detail and stacks. Thinning adds water, so flood icing flows farther and dries more slowly, and wet sections that touch let water and dye move between them, which is how colors bleed.

Go deeper

Moisture also explains the storage rules. Sugar is hygroscopic: it attracts and absorbs water. In a humid room or a refrigerator, the dry icing pulls moisture from the air and turns sticky, dull or spotted, and dark colors can bleed into light ones. A warm cookie causes similar trouble from below, softening the icing so it slides. The cookie itself matters too: granulated sugar lets dough spread before it sets, so a flat cookie with clean edges depends on the dough and on rolling it evenly.

Variations

What changes with the ingredient, the tool, the weather and the bake

Wet-on-wet designs
Drop dots or lines of a second color into wet flood icing and drag a toothpick through them for hearts, swirls or marbling.
Sugar-coated finish
Cover wet flood icing with sanding sugar, tip off the extra once it sets, and pipe details on top.
Beaded edges
Pipe a row of small dots around the dried base for a neat beaded border.
Raised details
Pipe layers of lines and dots on dried flood icing, letting each layer set, for a dimensional look.
Quick glaze
For fast coverage of larger areas, spread a simple icing thinned with light corn syrup instead of outlining and flooding.
Character sets
Build a character from several flooded sections, letting each one set before the next goes on.

Practice

One drill, then a real bake

Six-cookie consistency test

Draw six circles on parchment, or set out six plain round cookies. Outline each with thick icing, then flood two with very thin icing, two with medium icing and two with icing that is barely runny, popping every bubble. Once dry, compare how smoothly each one leveled, then pipe a row of dots across each to practice details.

Your ticks stay on this device.

Bake along: recipes that use this skill

Check yourself

Answer in your head, then open the answer

1. Why must cookies be completely cool before you decorate them?

Warm cookies soften the icing, so it slides, melts or looks greasy.

2. What is the difference between outline icing and flood icing?

Outline icing is thick and holds a line; flood icing is thinned so it flows and levels inside the outline.

3. How do you keep two colors from bleeding into each other?

Let the first section set until its surface crusts before flooding the color beside it.

4. Should cookies decorated with royal icing go in the refrigerator?

No. Humidity there spoils the icing and the design; store them airtight at room temperature, away from sunlight.

Sources

Updated November 23, 2026

Written from the sources listed. VanillaGoods wrote this lesson in its own words from the references below. If something here does not match what happens in your kitchen, tell us and we will correct it.

  1. Colorado State University Extension (Colorado 4-H): Cake Decorating Manual Units 4-6
  2. Iowa State University Extension and Outreach (AnswerLine): Royal Icing Made Safe
  3. Utah State University Extension: Clover Cake Decorating: For Beginners
  4. Colorado State University Extension (Colorado 4-H): Cake Decorating Units 1-3 Manual
  5. Nicholls State University, Chef John Folse Culinary Institute (T. Rink and W. R. Thibodeaux), Introduction to Baking and Pastries, via LibreTexts: 1.7: Cake and Buttercreams
  6. University of Wyoming Cooperative Extension Service (4-H): Cake Decorating manual (4-H 42500, March 2001)
  7. Iowa State University Extension and Outreach (AnswerLine): How Ingredients Affect "How the Cookie Crumbles"

This lesson is free to read and print. Videos are embedded from YouTube with the official player and belong to their creators. All baking techniques · Video courses · Dessert Encyclopedia