Creamy peanut butter frosting on a wooden spoon with a chocolate cake in the background.

This peanut butter frosting is creamy, fluffy, and just the right balance of sweet and salty. It comes together with six pantry staples and pipes beautifully onto cupcakes, cakes, brownies — or sandwiched between cookies. No need to chill, and it holds its shape at room temp.

Why You’ll Love this Recipe

  • Just 6 ingredients. All pantry staples, no complicated steps or special tools required.
  • Frosts anything. Cupcakes, cookie cakes, brownies, or layer cakes — it’s flexible and pipes well.
  • Naturally gluten-free. There’s no gluten in this recipe, but always double-check your ingredients — especially if you have celiac like I do. And make sure no one’s double-dipped in the peanut butter jar after making a sandwich!

Ingredients

Overhead view of labeled ingredients for peanut butter frosting, including butter, peanut butter, powdered sugar, vanilla, salt, and milk.

TIP

Want your frosting stiffer for piping? Use less milk. Want it fluffier for spreading? Whip in a little extra.

Ingredient Notes

  • Peanut Butter – Use a creamy, no-stir peanut butter like Jif or Skippy for best consistency. Natural PB can work but may require adjustments.
  • Powdered Sugar – Sift for smoothest texture, especially if piping.
  • Butter – Unsalted and softened to room temp. You can use dairy-free alternatives if needed.
  • Vanilla Extract – Adds depth and balances the saltiness.
  • Milk or Cream – Adjust for desired consistency.
  • Salt – Optional, but brings out the peanut flavor (especially if your PB is unsalted).

Recipe FAQs

Can I make this dairy-free?

Yes — use vegan butter (like Earth Balance sticks) and a non-dairy milk like oat or almond.

Can I make it ahead?

Absolutely. Store in an airtight container in the fridge for up to 1 week. Bring to room temp and re-whip before using.

Can I use natural peanut butter?

You can, but the texture will be looser. Stir very well before using, and expect a softer consistency. You can also add more powdered sugar to make it stiffer, but you may lose some of the peanut butter flavor.

Expert Tips

  • Use room temperature butter. Cold butter won’t blend evenly with the peanut butter and can leave your frosting lumpy. Let it sit out for 30–60 minutes before starting.
  • Add milk slowly. Start with 1 tbsp and increase a teaspoon at a time until smooth.

Storage instructions

To make ahead:

This peanut butter frosting can be made up to 3 days in advance. Store it in an airtight container in the refrigerator.

Before using:

Let the frosting sit at room temperature for about 30–60 minutes, then give it a quick whip with a hand mixer or spatula to bring back its creamy texture.

Freezing:

You can freeze this frosting for up to 1 month. Thaw overnight in the refrigerator and rewhip before using. The texture might change slightly, but it still works beautifully for spreading.

Unfrosted chocolate layer cake with large mound of peanut butter frosting on top.

Serving suggestions

This frosting is soft, creamy, and super versatile. Here’s how much one batch will cover:

  • Pipe tall swirls on 12 cupcakes using a 1M piping tip,
  • Spread across 24 cupcakes with a knife or spoon, or
  • Cover a 9×13-inch sheet cake or a 2-layer 9-inch cake (for piped decorations, make a double batch).

Amazing on brownies, chocolate cakes, or sandwiched between cookies.

Need ideas beyond cupcakes? Try it with:

Did you make this recipe?

Cake topped with piped peanut butter frosting roses on a white cake stand with striped towel beneath.
5 from 2 votes

Peanut Butter Frosting

This creamy peanut butter frosting is rich, fluffy, and just the right amount of sweet. It comes together in minutes with simple pantry ingredients. Perfect for piping tall swirls on cupcakes, frosting chocolate cakes, or sandwiching between cookies.
Print Recipe Pin Recipe Rate this Recipe
Prep Time 10 minutes
Total Time 10 minutes
Servings 24 servings

Ingredients

  • 1 cup  unsalted butter - softened to room temperature, 226g
  • 1 cup creamy peanut butter - 256g
  • 1/8  teaspoon kosher salt
  • teaspoon  pure vanilla extract
  • 3 1/2 cups  powdered sugar - 420g
  • 3 tablespoons  whole milk or heavy cream - 45g

**Use the toggle button above to turn the instruction photos on and off!

Instructions

  • Add 1 cup softened butter and 1 cup peanut butter to a medium size bowl. With an electric mixer, cream the butter and peanut butter until smooth.
  • Then, stir in 1/8 teaspoon kosher salt and 1 teaspoon vanilla extract until combined.
  • Gradually add in 3 1/2 cups powdered sugar, mixing in between each addition, until combined.
  • Add in milk, one tablespoon at a time, until desired consistency is reached.
  • Use the frosting immediately to decorate cakes, cookies and cupcakes or store in the refrigerator to use later.

Notes

  • Dairy-Free note: To make this recipe dairy-free, use 1/2 cup of vegan butter and 1/2 cup of palm shortening instead of the butter. Use a non-dairy milk instead of the milk or heavy cream.
  • Gluten-free note: This frosting is naturally gluten-free, but always double-check your ingredients if you have celiac like I do.
  • Decorating: This recipe makes enough to pipe tall swirls on 12 cupcakes or spread a thinner layer on 24 cupcakes, a 9×13 sheet cake, or cover a double layer 9-inch cake. Double the batch for decorating layer cakes or generous piping.
  • Make ahead: You can make this frosting up to 3 days in advance. Store in the fridge, bring to room temperature, and rewhip before using. Freeze for longer storage up to 1 month. 

Nutrition

Calories: 270kcal | Carbohydrates: 37g | Protein: 3g | Fat: 13g | Saturated Fat: 6g | Cholesterol: 21mg | Sodium: 131mg | Potassium: 75mg | Fiber: 1g | Sugar: 35g | Vitamin A: 249IU | Calcium: 9mg | Iron: 1mg
Overhead shot of a bowl of peanut butter frosting on marble with spoon and cake nearby.

2 Comments

  1. Hi Megan, love your recipes! Can you tell me if I can substitute anything else for the palm oil in the vegan option of your peanut butter frosting? I don’t buy palm oil due to its environmental impact. Would extra vegan butter work or coconut oil? Thanks!

    1. Hi Ernalee! You can use more vegan butter if you’d like! I find that it doesn’t hold its shape as well as shortening does, so you may need to add just a little bit more powdered sugar to get it to the right consistency. Hope this helps!

5 from 2 votes (2 ratings without comment)

Leave a Reply

Your email address will not be published. Required fields are marked *

Recipe Rating




This site uses Akismet to reduce spam. Learn how your comment data is processed.