Dinners

Peanut Butter Frosting for Cupcakes

Updated · By Patriot Kitchen

Total timeprep + cook
15 min
Prep
15 min
hands-on
Cook
No cooking
no heat needed
Serves
24
as written

Jump to recipe Save

This peanut butter frosting is a thick, creamy topping with a salty-sweet flavor profile that pairs well with chocolate or vanilla cupcakes. It is suitable for birthday parties, potlucks, or afternoon snacks.

Ingredients

  • 1 cup (255 g) unsalted butter, softened to room temperature
  • 1 cup (250 g) creamy peanut butter
  • 3 to 4 cups (360 g to 480 g) powdered sugar, sifted
  • 3 tablespoons (45 ml) heavy cream or whole milk
  • 1 teaspoon (5 ml) vanilla extract
  • 1/4 teaspoon (1.25 g) salt (omit if using salted peanut butter)

Instructions

  1. Place the softened butter and creamy peanut butter in a large mixing bowl or the bowl of a stand mixer fitted with the paddle attachment.
  2. Beat on medium-high speed for 2 to 3 minutes until the mixture is smooth and pale in color.
  3. Reduce the mixer speed to low and add 2 cups (240 g) of powdered sugar. Mix until the sugar is mostly incorporated to avoid a powder cloud.
  4. Increase the speed to medium and add the remaining 1 to 2 cups (120 g to 240 g) of powdered sugar, one cup at a time, until the frosting reaches a stiff, spreadable consistency.
  5. Pour in the heavy cream (or milk) and the vanilla extract. Beat on medium speed for 1 minute to aerate the frosting and create a fluffy texture.
  6. Add the salt if using unsalted peanut butter and mix for an additional 30 seconds.
  7. Transfer the frosting to a piping bag fitted with a 1M or 2D decorating tip, or use an offset spatula to spread it onto cooled cupcakes.

How to Tell the Frosting is Ready

The frosting is done when it holds a stiff peak. To test this, lift the beaters or the spatula straight up from the bowl; the frosting should stand upright without drooping or sliding back into the bowl. If the frosting is too soft and slides, add more powdered sugar 1/4 cup (30 g) at a time. If it is too stiff to pipe or spread, add heavy cream 1 teaspoon (5 ml) at a time until it loosens.

The color should be a consistent light tan with no visible lumps of butter or streaks of unmixed peanut butter. The texture should be smooth and glossy, not grainy. If the frosting feels gritty, it usually means the powdered sugar was not sifted or the butter was not sufficiently softened before mixing.

How Long Does Peanut Butter Frosting Keep?

Because this frosting contains dairy (butter and cream), it must be refrigerated if not consumed within 2 hours. Store frosted cupcakes in an airtight container in the refrigerator for 3 to 4 days. To serve, let the cupcakes sit at room temperature for 30 to 60 minutes so the butter in the frosting softens, which improves the mouthfeel.

For longer storage, frosted cupcakes can be frozen for up to 3 months. Place them in a single layer on a baking sheet and freeze for 1 hour until the frosting is hard, then transfer them to a freezer-safe container or a zip-top bag with parchment paper between layers to prevent sticking. Thaw them in the refrigerator overnight before serving.

What to Change for Different Textures and Flavors

Crunchy Peanut Butter Version

To make a crunchy version, replace the 1 cup (250 g) of creamy peanut butter with 1 cup (250 g) of extra-crunchy peanut butter. Note that crunchy peanut butter may clog small piping tips; use a wide open-star tip or a large round tip (at least 1/2 inch or 1.3 cm) to allow the peanut pieces to pass through the bag.

Chocolate Peanut Butter Version

To create a chocolate-peanut butter blend, add 1/4 cup (25 g) of unsweetened cocoa powder to the powdered sugar before mixing. Because cocoa powder absorbs moisture, you will likely need an additional 1 to 2 tablespoons (15 to 30 ml) of heavy cream to maintain the same consistency as the original recipe.

Honey Peanut Butter Version

For a honey-flavored frosting, replace 1/2 cup (60 g) of the powdered sugar with 3 tablespoons (45 ml) of honey. Be aware that honey is a liquid sweetener, which will make the frosting softer. You may need to increase the powdered sugar by another 1/4 cup (30 g) to ensure the frosting remains stable enough for piping. Do not give honey to infants under 1 year of age.

Pairing and Serving Ideas

This frosting pairs best with chocolate cupcakes, as the bitterness of cocoa balances the sweetness of the sugar. It also works well on banana cupcakes, creating a flavor profile similar to a peanut butter and banana sandwich. For a visual contrast, use a chocolate cupcake base with a high swirl of peanut butter frosting and top with a single salted peanut or a mini chocolate chip.

For a more complex flavor, serve these cupcakes alongside a cup of black coffee or a tart berry tea. The acidity in the coffee or tea cuts through the richness of the peanut butter and butter fats. If serving at a party, place the cupcakes on a tiered stand and garnish the platter with fresh raspberries or sliced strawberries, which provide a fresh, tart contrast to the dense frosting.

Common Consistency Issues and Fixes

If the frosting separates or looks curdled, it is usually because the butter was too cold or the cream was added too quickly. To fix this, gently warm the bowl by holding it over a pot of simmering water (do not let the bottom touch the water) for 10 to 20 seconds, then beat on low speed until the emulsion reforms. Do not melt the butter, as this will cause the frosting to collapse.

If the frosting is too sweet, add a pinch more salt or a teaspoon of lemon juice. The acid in the lemon juice helps neutralize the sugar without changing the overall flavor of the peanut butter. If the frosting is too runny to hold a shape on the cupcake, refrigerate the entire bowl for 15 to 30 minutes to firm up the butter, then beat it again for 30 seconds before piping.

Working with Different Peanut Butter Types

The type of peanut butter used significantly affects the stability of the frosting. Standard commercial peanut butter contains stabilizers and sugar, which help the frosting hold its shape. Natural peanut butter, where the oil separates and sits on top, is more temperamental. If using natural peanut butter, stir it thoroughly for several minutes until the oil is completely integrated before measuring. You may find that natural peanut butter requires slightly more powdered sugar to reach the same stiffness as commercial brands.

For those avoiding specific allergens, almond butter or cashew butter can be substituted in a 1:1 ratio (1 cup or 250 g). Almond butter tends to be slightly grainier and less sweet than peanut butter, so you may want to add an extra 1/2 teaspoon (2.5 ml) of vanilla extract to enhance the flavor profile. Always check labels for allergens when using substitute nut butters.

Peanut Butter Frosting for Large Batches

When doubling or tripling this recipe for large events, avoid adding all the powdered sugar at once. Large volumes of sugar can overwhelm a home mixer and cause the motor to strain or the sugar to fly out of the bowl. Work in stages, adding sugar in 1-cup increments. If using a standard 5-quart mixer, do not exceed a triple batch, as the volume of the whipped butter and sugar will likely overflow the bowl.

For large batches, use a stand mixer rather than a hand mixer to ensure a consistent emulsion. If you only have a hand mixer, divide the ingredients into two separate bowls and make two batches. This prevents the butter from warming up too much due to the prolonged mixing time required for larger quantities, which would otherwise result in a runny frosting.

Related

Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.

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