Vegan Peanut Butter Frosting Recipe for Cakes & Cupcakes

Easy and delicious homemade vegan peanut butter frosting made with just a few simple ingredients. This dairy-free frosting blends coconut oil and peanut butter into a rich, creamy topping — perfect for brownies, cakes, cupcakes, or just eating by the spoonful.

a vegan peanut butter frosting rose

I love this vegan peanut butter frosting because it comes together in about five minutes using ingredients you likely already have on hand. It’s vegan, gluten-free and dairy-free. If you make your own powdered sugar, you can even make a refined-sugar-free version.

Overhead view of a bowl of homemade vegan peanut butter frosting

Ingredients and Substitutions

overhead photo of the labeled ingredients in this Vegan Peanut Butter Frosting recipe
  • Peanut butter: Use a firm, no-stir natural peanut butter for best texture. If your peanut butter is very runny at room temperature you may need extra powdered sugar or to skip the added non-dairy milk.
  • Coconut oil: Softened coconut oil works well; you can substitute vegan butter or regular butter if not keeping it vegan. The coconut oil should be softened or slightly melted — not hard or too warm.
  • Salt: A pinch of fine sea salt enhances the sweet-salty balance. If your peanut butter is already salty, reduce the added salt to taste.
  • Non-dairy milk: Almond milk is used here, but any non-dairy milk or creamer will work. It’s optional and only needed if the frosting is too thick.
Side view of two brownies frosting with homemade vegan peanut butter frosting piped on in the shape of a rose

How to Make Vegan Peanut Butter Frosting

Make sure the coconut oil is softened to room temperature. In a bowl, beat the coconut oil and peanut butter together by hand or with a mixer until smooth and well combined.

two photos showing how to make vegan peanut butter frosting

Once smooth, add vanilla, powdered sugar and salt. Beat until the frosting reaches a consistent, creamy texture. Add almond milk a little at a time only if needed — some peanut butters make a perfectly spreadable frosting without any liquid.

If the frosting becomes too runny, add more powdered sugar to thicken it or chill briefly in the refrigerator to firm it up.

two photos showing how to make vegan peanut butter frosting

Serving Suggestions

This frosting pairs beautifully with many baked treats. Here are a few ideas:

  • Brownies: Spread it over brownies for a decadent finish.
  • Cookies: Use as a filling or topping for peanut butter or chocolate cookies.
  • Blondies: Dollop or spread on blondies for extra richness.
  • Cake: Use as a cake frosting or as a filling between layers.
  • Cupcakes: Pipe or swirl on top of cupcakes for an elegant touch.
two brownies frosted with homemade vegan peanut butter frosting piped on in the shape of a rose

Storage and Freezing

Store leftover frosting in an airtight container in the refrigerator for up to one week or freeze for up to two months. Thaw slowly at room temperature before using. Do not microwave.

Note: This frosting hardens when chilled. Remove it from the refrigerator about one hour before serving so it softens naturally at room temperature.

img 461 8

Recipe FAQs

What do I do if my frosting is too runny?

Add more powdered sugar to thicken, or chill the frosting briefly if the ingredients became too warm.

Can I cut this recipe in half?

Yes. The recipe scales well — halve it for a smaller batch if needed.

How do you pipe the frosting?

This frosting pipes nicely once slightly chilled to firm up. Use a piping bag and a star tip such as Wilton 1M for rosettes and swirls.

photo of vegan peanut butter frosting piped onto a brownie in a rosette pattern

If you try this recipe and enjoy it, leaving a comment and rating is always appreciated.

img 461 11

Vegan Peanut Butter Frosting

Laura

Easy and delicious homemade vegan peanut butter frosting. Coconut oil and peanut butter combine to make a creamy, dairy-free frosting perfect for brownies, cakes, or cupcakes.
4.97 from 29 votes
Course: Dessert
Cuisine: American
Servings: 16
Calories: 195.8
Prep Time: 15 minutes
Total Time: 20 minutes

Ingredients

  • ¾ cup peanut butter
  • ½ cup coconut oil (softened)
  • ½ teaspoon vanilla
  • 2 cups powdered sugar
  • ½ teaspoon fine sea salt
  • 1–2 Tablespoons almond milk (optional)

Instructions

  1. Add softened coconut oil and peanut butter to a mixing bowl. Beat on medium speed until well combined, scraping the sides as needed. (You can also mix by hand.)
  2. Add vanilla and mix until incorporated.
  3. Add powdered sugar and salt. Beat on medium-high until smooth and evenly combined, scraping the bowl as necessary.
  4. If the frosting is too thick, add almond milk a teaspoon at a time until you reach the desired consistency. If it becomes too thin, add more powdered sugar or chill briefly to firm up.
  5. Store in an airtight container at room temperature if using the same day, or refrigerate. Let come to room temperature before serving.

Notes

  • This recipe yields a generous amount of frosting; halve it for smaller batches.
  • Start with a small amount of almond milk and add only as needed. Some peanut butters require no added liquid.
  • Substitutes: vegan butter or regular butter for coconut oil; any non-dairy milk or creamer for almond milk.
  • Store leftovers in the refrigerator for up to 1 week or freeze up to 2 months. Thaw at room temperature and avoid microwaving.

Nutrition

Serving: 2 TBS | Calories: 195.8 kcal | Carbs: 17.6 g | Protein: 3.4 g | Fat: 13.1 g | Sugar: 15.5 g

Nutrition information is approximate.

try these recipes

img 461 12

Chocolate Buttercream Frosting

black bean brownies

Best Black Bean Brownies

Peanut Butter Frosting

Peanut Butter Frosting

img 461 15

Best Fudgy Paleo Brownies

img 461 16

Best Flourless Brownies (Gluten-Free, Paleo)

img 461 17

Vegan Chocolate Fondue

more delicious recipes