Powdered Sugar Frosting Recipe for Cakes and Cupcakes

Updated November 3, 2026

Total time
45 min
prep 45 min · cook 0 min
Serves
12
portions as written

Jump to recipe

Powdered Sugar Frosting Recipe for Cakes and Cupcakes

This powdered sugar frosting is a simple buttercream made by beating softened butter with confectioners’ sugar, milk, vanilla, and a little salt. It spreads easily on cakes and cupcakes, and you can adjust its texture with small additions of milk or sugar to suit your decorating plans.

Ingredients

  • 1 cup (227 g) unsalted butter, cut into small pieces
  • 4 cups (480 g) powdered sugar, sifted if lumpy
  • 3 tablespoons (45 ml) milk, plus up to 1 tablespoon (15 ml) as needed
  • 2 teaspoons (10 ml) vanilla extract
  • ⅛ teaspoon (about 0.75 g) fine salt

Instructions

  1. Soften the butter. Cut the butter into roughly tablespoon-size pieces and leave it at room temperature for about 30 minutes. It should yield when pressed but still feel cool and hold its shape. If your kitchen is warm, check it sooner; overly soft or partly melted butter can make the frosting greasy and loose.
  2. Beat the butter. Put the softened butter in a large mixing bowl. Using a hand mixer or stand mixer fitted with the paddle attachment, beat on medium speed for 2 to 3 minutes, scraping down the bowl once. The butter should look smooth and slightly lighter, without visible lumps. If using a stand mixer, keep the bowl steady and start at low speed to avoid splashing.
  3. Add the sugar gradually. Add the powdered sugar in about four portions, beating on low speed after each addition until the sugar is mostly incorporated. Pause to scrape the sides and bottom of the bowl. Starting slowly helps keep a cloud of sugar from escaping; once the mixture is combined, increase the speed to medium.
  4. Flavor and loosen the mixture. Add the vanilla, salt, and 3 tablespoons (45 ml) milk. Beat on medium for 2 minutes, scraping the bowl once, until the frosting looks creamy. If the mixture is too thick to spread, add more milk 1 teaspoon (5 ml) at a time. The optional tablespoon is a maximum guide, not an amount you need to use automatically.
  5. Check the consistency. Lift the beaters or a spatula from the bowl. For spreading, the frosting should hold a soft peak and glide from a knife without tearing a tender cake. For piping, it should hold a defined peak and not slump. If it is too loose, beat in powdered sugar 1 tablespoon (about 8 g) at a time; if it is too stiff, add milk a teaspoon at a time.
  6. Use or cover promptly. Spread the frosting over completely cooled cake or cupcakes, or transfer it to a piping bag. If you are not frosting the dessert right away, cover the bowl so the surface does not dry out and follow the storage directions below.

Tips

  • Use softened, not melted, butter. Butter that is too cold stays lumpy and can leave small yellow flecks in the finished frosting. Melted butter, on the other hand, makes it difficult for the mixture to hold its shape. If the butter feels greasy or very warm, chill it briefly until it is cool and pliable, then beat it again.
  • Measure powdered sugar carefully. Spoon it into a dry measuring cup and level the top rather than packing it down. Weight is the most consistent option, especially if the sugar has been compressed in its bag. Sifting is helpful when there are stubborn lumps, but it is not necessary when the sugar is already fine and free-flowing.
  • Adjust slowly. A small amount of milk can change the texture quickly, so add it in teaspoons rather than pouring in the full extra tablespoon. Likewise, add sugar gradually if the frosting is too soft. Beat briefly after each addition so you can judge the actual consistency before making another adjustment.
  • Keep the mixer speed under control. Low speed at first keeps powdered sugar in the bowl; a short beat at medium speed makes the frosting smooth. Very long beating can add excess air, which may create bubbles that show when you spread or pipe it. If you notice bubbles, stir the frosting slowly with a spatula for a minute to knock out some of the air.

Serving Suggestions

This batch makes enough to frost 12 cupcakes with a generous swirl or to cover a single 9-by-13-inch (23-by-33-cm) cake in a moderate layer. It can also fill and frost a two-layer 8-inch (20-cm) cake with a relatively thin coating. For a taller cake or elaborate piping, make one and a half or two batches so you do not have to stretch the frosting too thin.

Wait until baked goods are completely cool before adding the frosting. Warm cake softens buttercream, making it slide or melt into the surface. For cupcakes, use a small offset spatula for a simple finish or a piping bag with a large star tip for swirls. For a sheet cake, spread the frosting from the center toward the edges, then make shallow decorative strokes with the back of a spoon.

The vanilla flavor pairs well with chocolate, yellow, spice, and red velvet cakes, as well as brownies and sugar cookies. A thin layer between cake layers can help hold crumbs in place, but this frosting is sweet and rich; if you prefer a lighter coating, use less on each serving rather than thinning the whole batch too much.

Variations

Chocolate frosting: Beat in ⅓ cup (about 28 g) unsweetened cocoa powder with the powdered sugar. Cocoa absorbs moisture, so add milk a teaspoon at a time until the frosting is spreadable. For a darker flavor, use Dutch-process cocoa; it will taste less sharp and look darker than natural cocoa.

Citrus frosting: Replace 1 teaspoon (5 ml) of the vanilla with finely grated lemon or orange zest. You can replace up to 1 tablespoon (15 ml) of the milk with fresh citrus juice, but add it gradually because juice can make the frosting looser and more tart. For a pronounced citrus flavor without extra liquid, use more zest instead.

Almond or other extract: Replace the vanilla with ½ teaspoon (2.5 ml) almond extract, or use 1 teaspoon (5 ml) vanilla plus ¼ teaspoon (1.25 ml) almond extract. Almond extract is potent, so begin with a small amount and taste before adding more. Mint extract can also work, but start with just ¼ teaspoon (1.25 ml) and increase cautiously.

Less-sweet finish: The recipe relies on powdered sugar for both sweetness and structure, so it cannot be made unsweetened without changing the frosting style. You can reduce the sugar modestly, but the result will be softer and less stable for piping. A pinch more salt or a little citrus zest can balance the sweetness without changing the basic proportions as much.

Storage and Reheating

Because this frosting contains butter and milk, cover it and refrigerate it within 2 hours of making it. Store it in an airtight container for up to 4 days. If it has been spread on a cake or cupcakes, cover the dessert and refrigerate it within the same 2-hour window; check the cake’s other fillings and toppings too, since they may require shorter storage.

To use refrigerated frosting, let it sit at room temperature until it is soft enough to beat, usually about 30 to 60 minutes depending on the amount and room temperature. Stir or beat it briefly on low to medium speed until creamy. If it still feels stiff, add milk a teaspoon at a time. Do not microwave the frosting to warm it: the butter can melt unevenly and leave the mixture greasy. Frosted cake may be served slightly cool or allowed to stand briefly until its texture softens, but do not leave it out for more than 2 hours.

For longer storage, freeze the frosting in a sealed freezer-safe container for up to 2 months for best quality. Thaw it overnight in the refrigerator, then soften and rewhip it as described above. Freezing can slightly change the texture, but a short rewhip usually brings it back together. Avoid refreezing frosting that has already been thawed.

Frequently Asked Questions

Can I make this frosting without a mixer? Yes, but it takes more effort. Use butter that is very soft but not melted, then beat it firmly with a sturdy wooden spoon or whisk before adding the sugar in small portions. A hand mixer is easier for achieving a smooth result; with hand mixing, sift the sugar first and expect the frosting to take longer.

Why is my powdered sugar frosting gritty? Grittiness often means the sugar has lumps or has not been mixed in fully. Scrape the bowl and beat for another minute or two, starting at low speed. If the powdered sugar itself feels coarse, sift it before using. Do not add extra milk right away, because the issue may be undissolved clumps rather than a mixture that is too thick.

How do I make it thicker for piping? Add powdered sugar 1 tablespoon (about 8 g) at a time and beat briefly after each addition. Also check that the butter was not too warm. If the frosting is warm from mixing or a hot room, chill the bowl for 10 to 15 minutes, then beat it briefly again. Avoid adding a large amount of sugar at once, which can make the frosting overly sweet and dense.

Can I use salted butter? Yes. Replace the unsalted butter with the same amount of salted butter and leave out the ⅛ teaspoon salt at first. Taste the finished frosting and add a tiny pinch only if it needs it. Salt levels vary between butter brands, so this approach gives you better control over the final flavor.

Can I color this frosting? Yes. Add gel food coloring a little at a time after the frosting is smooth, mixing well between additions. Gel coloring adds less liquid than most liquid food colors, so it is less likely to loosen the frosting. Colors can deepen as they stand, so stop before the shade looks darker than you want and let it sit briefly before making a final adjustment.

Can I make the frosting ahead? Yes. Refrigerate it in an airtight container for up to 4 days or freeze it for up to 2 months. Before using, thaw frozen frosting in the refrigerator, then let it soften and beat it briefly until smooth. If you are preparing it for a celebration, check the texture before filling a piping bag and make any small milk or sugar adjustments then.

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).