Icing for Sugar Cookies That Hardens

Updated November 3, 2026

Total time
8 hr 30 min
prep 30 min · cook 0 min
Serves
24
portions as written

Jump to recipe

Icing for Sugar Cookies That Hardens

This icing for sugar cookies that hardens is a simple royal icing made with confectioners’ sugar, meringue powder, and water. It dries smooth and firm, making it useful for decorating cookies you want to stack or package; adjust the water to make either piping icing or a thinner flood icing.

Ingredients

  • 3 cups (360 g) confectioners’ sugar, sifted if lumpy
  • 2 tablespoons (18 g) meringue powder
  • 5 tablespoons (75 ml) warm water, plus up to 2 tablespoons (30 ml) more as needed
  • 1 teaspoon (5 ml) vanilla extract
  • 1 teaspoon (7 g) light corn syrup, optional, for a slightly glossier finish
  • Gel food coloring, as needed, optional
  • ⅛ teaspoon (about 0.75 g) fine salt, optional, to balance the sweetness

Instructions

  1. Prepare the work area. Set out cooled sugar cookies, small bowls for any colors, and piping bags or food-safe squeeze bottles. The icing sets as it dries, so plan to decorate and leave the cookies undisturbed in one layer. Make sure the bowls and beaters are clean and dry; grease or crumbs can make the icing harder to handle.
  2. Combine the dry ingredients. Add the sifted confectioners’ sugar and meringue powder to a mixing bowl. Stir briefly to distribute the powder evenly. If you are using salt, add it now. Sifting matters most when the sugar is lumpy, since an undissolved lump can block a fine piping tip or leave a bump on a smooth cookie.
  3. Mix the icing. Add 5 tablespoons (75 ml) warm water, vanilla, and the optional corn syrup. Beat with a hand mixer on low until the sugar is moistened, then mix on medium for about 2 minutes, scraping the sides once. The icing should look glossy and thick, with no dry pockets. Avoid starting on high speed, which can scatter sugar and incorporate more air than you need.
  4. Check and adjust the consistency. Lift the beater and let a ribbon of icing fall into the bowl. For outlining, it should hold a defined line for several seconds. For filling larger areas, thin a portion with additional water a few drops at a time until the ribbon blends back into the surface in about 10 to 15 seconds. Go slowly: a small splash can turn workable icing runny. If it becomes too thin, beat in a little sifted confectioners’ sugar.
  5. Color and portion. Divide the icing among bowls if using more than one color. Stir in gel coloring a little at a time; gel is concentrated, so it changes the consistency less than liquid food coloring. Cover each bowl with plastic wrap pressed directly against the icing, or keep it under a damp clean towel while you work. This prevents a dry skin from forming.
  6. Decorate and let the icing set. Pipe an outline around each cookie with thicker icing, then fill the center with thinner icing; use a toothpick to guide it into corners or pop visible air bubbles. For a simpler finish, spread one consistency over the cookie with a small spatula. Leave decorated cookies in a single layer, uncovered, in a cool, dry place for 8 hours or until fully firm before stacking. Humidity, thick layers, and detailed designs can make drying take longer.

Tips

  • Add water in tiny increments. Begin with the measured amount and add more by the teaspoon or a few drops at a time. Icing that is just a little too thick can be adjusted easily; icing that is too thin may need more sugar and can lose its clean, even finish. Make a small test line or fill on a spare cookie before decorating the whole batch.
  • Choose gel color when possible. Gel food coloring gives strong color without adding much liquid. If you only have liquid coloring, add it sparingly and account for the extra moisture by holding back some of the recipe’s added water. Colors may deepen as the icing dries, so mix a shade slightly lighter than the result you want.
  • Keep unused icing covered. Royal icing forms a skin quickly when exposed to air. Press plastic wrap onto its surface or cover the bowl with a damp towel, and stir before using if it has sat for a while. If a few dried flecks get into the bowl, remove them rather than pushing them through a piping tip.
  • Use cooled, dry cookies. Warm cookies can soften the icing, while cookies with a greasy or damp surface may keep it from spreading evenly. Bake the cookies ahead and let them cool completely. Meringue powder is sold in many baking aisles and online; if you cannot find it, a packaged royal icing mix is a practical alternative, though its sweetness and liquid requirements may differ, so follow its package directions.

Serving Suggestions

Use the icing on completely cooled cutout sugar cookies, whether they are round, seasonal shapes, or simple squares. A plain white base makes a clean surface for colored details, while a few piped dots, stripes, or borders give cookies decoration without requiring elaborate tools. For a two-color design, outline and fill with one shade, then add dots or lines in a second shade while the base is still wet. The colors may settle together slightly, creating a smooth, level pattern.

For sharper raised details, let the base coat dry until it is firm before piping the next layer; that takes longer than adding wet-on-wet decoration. Serve the cookies once the icing is dry to the touch, and allow the full setting time before packing them for a party, bake sale, or gift box. A sheet of parchment between layers can help protect the designs, but only stack cookies once the icing is completely hard.

Variations

Use citrus instead of vanilla: Replace the vanilla with 1 teaspoon (5 ml) lemon or orange juice, or add ½ teaspoon (2.5 ml) finely grated citrus zest. Juice adds liquid, so hold back a little of the water and adjust only after mixing. The flavor will be brighter, though a small amount of zest can leave tiny flecks in a very smooth finish.

Make a clear white icing: Leave out the vanilla if its color tints the icing, or choose a clear vanilla flavoring. This is useful when you want a bright white base, although flavorings vary in strength. Add a little at a time and taste before decorating.

Make a simple two-tone design: Keep some icing white and tint the rest with gel color. Pipe a border and fill the cookie with the thinner colored portion, then add white dots or lines before the surface dries for a blended effect. For distinct raised decorations, wait until the base coat has set before adding the second color.

Skip the corn syrup: The syrup is optional and is included for a little extra sheen; the meringue powder and sugar are what make the icing set firm. Leaving it out gives a slightly less glossy surface but does not prevent the icing from hardening. Do not replace the meringue powder with raw egg whites in this formula. If choosing an egg-white royal icing, use a recipe specifically formulated for pasteurized egg whites, since the liquid balance and method differ.

Storage and Reheating

Keep leftover icing in a clean, airtight container and refrigerate it within 2 hours. Press plastic wrap directly against the surface before closing the lid; this limits drying and crusting. Refrigerated icing is best used within 5 days. Before using it again, let it soften briefly at room temperature, then stir or beat it on low until smooth. Add water a few drops at a time if it has thickened. Do not microwave it to reheat: warmth can make it runny and difficult to control, and this icing is meant to be served at room temperature.

Once fully dry, decorated cookies can be kept in an airtight container at room temperature for about 5 days in a cool, dry place. Separate layers with parchment and avoid humid storage, which can make the icing tacky. For longer storage, freeze the cookies in a rigid airtight container for up to 2 months, with parchment between layers. Thaw them in the closed container at room temperature so condensation forms on the container rather than directly on the icing. Do not stack or wrap cookies until the decoration is completely set.

Frequently Asked Questions

How long does sugar cookie icing take to harden?
Thin coats often feel dry within a few hours, but allow about 8 hours for this recipe to become firm enough to stack. Thick flooding layers, several layers of decoration, cool rooms, and humid weather can extend that time. Check a test cookie before packing; the surface should not feel tacky when touched lightly.

Will this icing harden without meringue powder?
Meringue powder helps create a stable royal-style icing that dries firm. Powdered sugar mixed with milk or water alone can crust over, but it may remain softer and is less dependable for stacking or detailed piping. If you do not have meringue powder, use a royal icing mix or a separate recipe designed for pasteurized egg whites rather than guessing at a direct swap.

Can I make the icing ahead?
Yes. Make it up to 5 days ahead and refrigerate it airtight with plastic wrap pressed onto the surface. It will thicken as it chills, so stir it smooth and adjust with a few drops of water before filling piping bags. If it has developed a dry crust or an unusual smell, discard it rather than mixing the crust back in.

Why is my icing running off the cookies?
It is probably too thin, or the cookie surface may be warm or greasy. Mix in sifted confectioners’ sugar a spoonful at a time, then test the consistency on one cookie. For flooding, a ribbon should settle back into the bowl in roughly 10 to 15 seconds; a border needs to be thicker so it can hold its shape.

Can I use liquid food coloring?
Yes, but add only a few drops at a time because liquid coloring thins the icing. Hold back some of the recipe’s water at the start, then adjust the consistency after coloring. Gel color is usually easier for strong shades and fine piping, but either type can work if you make small adjustments gradually.

Can I stack the cookies the same day?
Usually, if they have had the full drying time in a single layer and the icing is completely firm. A thick base coat or humid conditions may call for more than 8 hours, so do not rely on the clock alone. If the icing gives under a light touch or feels sticky, leave the cookies out longer before stacking.

Related

More recipes to cook

Safety notes: safe minimum internal temperatures from USDA FSIS; raw and undercooked fish guidance from the U.S. FDA. Food safety notes

Spotted an error? Tell us and we will correct it (corrections policy).