Frosting Recipe for Cakes and Cupcakes
In this article
Frosting is the crowning touch that transforms simple cakes and cupcakes into irresistible treats. A well-made frosting adds sweetness, moisture, and visual appeal, adhering smoothly to baked goods without sliding off or drying out. This classic buttercream frosting recipe is easy to prepare, uses common pantry ingredients, and works beautifully for spreading, piping, and decorating.
Ingredients
- 1 cup (230g) unsalted butter, softened to room temperature
- 4 cups (480g) powdered sugar (confectioners’ sugar), sifted
- 1/4 cup (60ml) heavy cream or whole milk
- 2 teaspoons pure vanilla extract
- 1/8 teaspoon fine sea salt
Instructions
- Place the softened butter in a large mixing bowl. Using an electric hand mixer or a stand mixer fitted with the paddle attachment, beat the butter on medium speed for 2–3 minutes until smooth, creamy, and pale in color. Scrape down the sides of the bowl as needed to ensure even mixing.
- Add the sifted powdered sugar one cup at a time, mixing on low speed after each addition to prevent sugar from flying out of the bowl. Once all the sugar is incorporated, increase the speed to medium and beat for 1 minute.
- Pour in the heavy cream (or milk), vanilla extract, and salt. Mix on low until the ingredients are combined, then increase to medium speed and beat for 2–3 minutes until the frosting is light, fluffy, and holds stiff peaks. If the frosting is too thick, add an additional 1–2 teaspoons of cream. If too thin, add more sifted powdered sugar, 1/4 cup at a time, until desired consistency is reached.
- Use immediately to frost cooled cakes or cupcakes. For piping decorations, ensure the frosting is firm but pliable—if it’s too soft, chill it in the refrigerator for 15–20 minutes before using.
Tips
- Butter temperature matters: Use butter that is soft but not melted. It should indent slightly when pressed but not feel oily. Overly warm butter can cause the frosting to curdle or become too soft.
- Sift the sugar: Sifting powdered sugar removes lumps and ensures a smooth, silky texture. Skipping this step may result in a gritty frosting.
- Substitute dairy if needed: Heavy cream can be replaced with whole milk, but the frosting may be slightly less rich. For a non-dairy option, use full-fat canned coconut milk or a neutral plant-based creamer.
- Avoid overbeating: Once the frosting reaches the desired consistency, stop mixing. Overbeating can introduce too much air and cause the frosting to break or become grainy.
Serving Suggestions
This frosting pairs perfectly with vanilla, chocolate, red velvet, or lemon cakes and cupcakes. Spread a generous layer between cake layers for a classic layer cake, or pipe swirls onto cupcakes for a bakery-style finish. Top with sprinkles, chopped nuts, or fresh fruit for added texture and flavor. It also works well as a filling for macarons or sandwich cookies when slightly thickened.
Variations
- Chocolate Buttercream: Add 1/2 cup (45g) unsweetened cocoa powder, sifted, along with the powdered sugar. Increase the heavy cream to 1/3 cup (80ml) to maintain smoothness.
- Cream Cheese Frosting: Replace 1/2 cup (115g) of the butter with full-fat cream cheese. Reduce powdered sugar to 3 1/2 cups and chill the frosting for 20 minutes before use to prevent spreading.
- Lemon Frosting: Replace the vanilla extract with 1 teaspoon vanilla and 1 tablespoon fresh lemon juice. Add 1 tablespoon lemon zest for a bright, citrusy flavor.
- Strawberry Frosting: Fold in 1/4 cup (60g) of seedless strawberry jam after mixing. For a pink hue and stronger flavor, blend 1/3 cup mashed fresh strawberries and reduce to a thick puree before adding.
Storage and Reheating
Store leftover frosting in an airtight container in the refrigerator for up to 1 week. Before reusing, let it come to room temperature for 30–60 minutes, then rewhip with an electric mixer for 1–2 minutes to restore its fluffy texture. If frosting has been applied to cakes or cupcakes, store the desserts covered at room temperature for up to 2 days or refrigerate for up to 5 days. Bring refrigerated desserts to room temperature before serving for best texture and flavor.
Frequently Asked Questions
Can I make this frosting ahead of time?
Yes, this frosting can be made up to 3 days in advance. Store it in an airtight container in the refrigerator. Before using, allow it to warm slightly and rewhip until smooth and spreadable. This helps restore its original consistency and prevents cracking when piped.
Why is my frosting grainy?
Graininess usually results from using unsifted powdered sugar or undermixing. Ensure the sugar is sifted before adding, and beat the frosting long enough after adding liquids—about 2–3 minutes on medium speed—to dissolve any remaining sugar crystals.
Can I freeze buttercream frosting?
Yes, buttercream freezes well for up to 3 months. Place it in a freezer-safe container, leaving headspace for expansion. Thaw overnight in the refrigerator, then bring to room temperature and rewhip before use.
Why did my frosting separate?
Separation often occurs when the butter is too warm or ingredients are added too quickly. If the mixture looks curdled, chill it in the refrigerator for 10–15 minutes, then rebeat. Adding a small amount of extra powdered sugar can also help stabilize it.
Can I use salted butter?
You can, but it’s best to use unsalted butter so you can control the salt level. If using salted butter, omit the added salt in the recipe to avoid over-salting the frosting.
How much frosting does this recipe make?
This recipe yields about 3 cups of frosting, enough to frost 24 cupcakes with a swirl or a two-layer 8- or 9-inch cake with a moderate amount between layers and on top and sides.