| |

Gluten-Free Banana Cake (Dairy-Free)

Perhaps my favorite snack, a banana smothered in smooth peanut butter hits the spot like no other snack can. As comforting and scrumptious as that is, this gluten-free banana cake covered in whipped peanut butter frosting is probably the more superior snack choice. I hope you come to agree.

Note: This post contains affiliate links to which I earn a small commission, but don’t worry there’s no extra cost to you! Thank you for supporting CAKED by Katie.

A light tan colored banana cake cake sitting on a wooden cake stand. It is topped with frosting swirls and slices of fresh banana. There are chopped peanuts on top too.

Gluten-Free & Dairy-Free Banana Cake

Soft layers of moist banana cake stacked and wrapped in glorious whipped peanut butter buttercream frosting. The perfect combination of sweet and salty, this decadent gluten-free and dairy-free banana layer cake is comfort in every single bite. This an easy recipe with simple steps that will have you coming back for it time and time again.

What Makes Up A Banana Cake

With a sweet and salty combination of warm banana and subtly salty peanut butter frosting, each element brings a scrumptious addition to this cake:

  • Banana Cake Layers – super soft, moist, and packed full of sweet mashed bananas.
  • Peanut Butter Frosting – so smooth and fluffy, this dairy-free swiss meringue peanut butter frosting compliments the sweet banana cake layers perfectly.

Banana Cake Ingredients & Substitutions

As always this recipe is gluten-free and dairy-free. That said, I do test each recipe with “regular” ingredients and make notes of alternatives or swaps so that everyone can enjoy it.

Here are a few key ingredients for this cake but make sure you scroll all the way to the bottom recipe card for the complete ingredient list.

  • Gluten-Free Flour: Check to see if your blend contains xanthan gum. This can also be swapped for regular cake flour if you are not gluten-free. Note that gluten-free flour blends can vary in weight so I recommend measuring by the cup. I made this cake with XO Baking Co. all-purpose baking mix. If you are not gluten-free, swap the flour with regular cake flour and omit the xanthan gum.
  • Dairy-Free ButterI enjoy baking with Becel plant-based bricks but any dairy-free butter substitute will work. You can also use regular butter if you are not dairy-free.
  • Dairy-Free Milk: I love to bake with unsweetened almond milk but this recipe will work with any type of dairy-free or regular dairy milk.
  • Oil: Use canola or vegetable oil for best results.
  • Dairy-Free Sour Cream: The market has a handful of fabulous dairy-free sour cream options now. You could also use dairy-free plain or vanilla yogurt. And of course, if you are not dairy-free swap in regular sour cream, full fat is best.
  • Peanut Butter: While I love any and every kind of peanut butter, this recipe will require smooth, sometimes called creamy, peanut butter. Not the natural kind either. I went with Kraft peanut butter, but brands such as Skippy or Jif will absolutely work as well.
  • Bananas: The more overripe the bananas are the sweeter the cake layers will be. I’m talking about bananas that have turned brown/black. And if you’re anything like me, your freezer is full of this perfectly overripe fruit.

* Rachel with Baking Mischief shares a really awesome method on how to quickly ripen bananas when you want to bake with them. It’s a great read and perfect for this recipe.

The top view of a light brown banana peanut butter cake. There is a slice cut in it and missing another slice.

The Easiest Gluten Free Banana Cake layers

These easy oil-based banana cake layers are as simple as they come. Full of sweet overripe bananas, a hint of brown sugar, and so much moisture due to the oil and sour cream. Warm and inviting banana speckles are dotted through each delicious cake layer giving an appetizing appearance to each slice.

Get started by combining the bananas, both kinds of sugar, and the oil in a large mixing bowl with electric beaters or the bowl of a stand mixer. Beat together on high until the bananas are thoroughly mashed and combined.

Next up, add the eggs, sour cream, and vanilla extract to the mixture, and again, beat that together until smooth. See how easy this is already.

Dump in the remaining ingredients which will be the flour, xanthan gum (if using), baking powder, and salt. Mix that all together until the last bit of flour has been incorporated and then stop right there.

Divide the banana cake batter evenly into three prepared 6-inch round cake pans and bake away. Perfectly moist and perfectly delicious gluten-free dairy-free banana cake layers. Easy peasy!

How To Make Dairy-Free Peanut Butter Frosting

I’m generally an American buttercream type of gal. A sucker for all things sweet, it’s my go-to when frosting a cake. With that said, this banana cake is sweet enough as is so I decided to switch lanes and pair it with a swiss meringue peanut butter frosting. Less sweet, swiss meringue takes a few more steps but is 100% worth it. Trust me on this.

Here are a few tips and tricks to ensure dairy-free swiss meringue peanut butter frosting success. If you have any further questions though go to the bottom and leave them in the comments for me.

  • Temperature is key when making swiss meringue. The egg white and sugar mixture needs to come to 160ºF. I recommend having a candy thermometer for this but if you don’t, you’ll know it’s ready when the sugar has fully disolved and the mixture is without grit or grain when rubbed between your fingers.
  • Beat the cooked egg whites and sugar mixture until it reaches still peaks and has cooled off. This should generally take 10 minutes in a stand mixer.
  • Use room temperature butter or even slightly colder than room temperature. This will create a soft fluffy frosting but one that is still stable enough to stack and pipe with. If you find the frosting too soft, pop it in the fridge for 10-20 minutes and then re-whip.

These tips will help you create not just a delicious dairy-free swiss meringue peanut butter frosting, but one that will stack and pipe gorgeously.

An inside shot of a banana layer cake. You can see three light brown banana cake layers and peanut butter frosting between each cake layer.

Banana Cake: Step By Step Instructions

Step 1: Beat the bananas, sugar, and oil together until smooth and combined.

Step 2: Pour in the eggs, sour cream, and vanilla extract and mix again until smooth.

Step 3: Add in the dry ingredients and mix until just combined. Be careful to not overmix the cake batter.

Step 4: Divide the cake batter into three 6-inch cake pans that have been prepared with baking spray and parchment paper and bake for approximately 25-30 minutes. Cool cakes on a cooling rack.

Step 5: Place the egg whites and sugar in the bowl of a stand mixer and heat over a double boiler until they reach 160ºF.

Step 6: With the whisk attachment, beat the egg white and sugar mixture on high speed until cool and stiff peaks are achieved.

Step 7: Add the room-temperature butter and begin to mix on low. Once the butter has been incorporated turn the mixer up to high and allow it to whip for 5 minutes until light and fluffy. Scrape the edges of the bowl when necessary.

Step 8: Measure in the smooth peanut butter and salt and mix on low until combined. Again, turn the mixer up to high and allow it to whip for another 5 minutes until silky smooth.

Cake Assembly Tips

Stacking a layer cake can feel a bit scary. But, as they say, slow and steady wins the race. Let’s set you up for cake success with a few tips and tricks.

Here are a few assembly tips:

  • Fully Cooled Cake Layers: even if a tiny bit warm, layers will slip when warm. Ensure that each cake layer is fully cooled if not even a bit chilled. I will even work with semi-frozen cake layers if I had to bake them a few days before stacking.
  • Leveled Cake Layers: flat and level cake layers will sit far easier than crooked ones. I use this super easy cake tool to ensure each cake layer is perfectly level.
  • Keep the Cake Chilled: if at any point you begin to feel the cake slip or the frosting is too soft to work with, pop the cake and the frosting back into the fridge to chill. Remember, don’t rush it. Take your time.
A slice of light brown banana cake laying on a grey plate. There are three layes of cake and peanut butter frosting between each layer.

How To Decorate A Banana Cake

“As you desire” is often how I refer to cake decoration. It’s not that I don’t want you to make the exact same cake as I did, it’s simply that I don’t want you to feel like you *have* to make the exact same cake. We all have an inner cake artist and I always want to encourage you to let it shine. That said, I quickly break down this gluten-free and dairy-free banana cake decor for you.

Step 1: Crumb-coat the cake and allow it to chill for 20 minutes. See the above section for stacking tips and tricks.

Step 2: Put a final “beauty” coat of frosting on the cake and smooth the sides with a cake smoother. I left the top edge raw for a rustic aesthetic. Allow the cake to chill for another 20 minutes.

Step 3: Place banana slices around the top of the cake in a wreath-like fashion leaving approximately 1 inch between each banana slice.

Step 4: With a piping bag and a Wilton 1M piping tip, pipe small buttercream swirls between each banana slice to approximately the same height.

Step 5: Chill the cake until ready to serve.

The top view of a light brown banana peanut butter cake. There is a slice cut out of it and missing another slice.

Storing and Freezing Instructions

This cake can be kept in an airtight container in the fridge for up to 7 days. It can also be stored in the freezer for up to 6 months.

If you want to bake these layers a few days in advance, you most certainly can. Allow the cake layers to cool, cover them tightly in plastic wrap, and freeze until you a ready to stack and decorate the cake. Remove the cake layers from the freezer approximately 1 hour before you plan to stack and decorate and allow them to thaw slightly at room temperature.

This cake can also be frozen fully stacked and decorated. However, I do recommend using fresh banana slices the day of serving. Special occasions are often busy and I will sometimes freeze an entire finished cake a few days in advance to save time and stress.

The night before you plan to serve the cake, remove it from the freezer and place it in the fridge to slowly thaw overnight. Do not take it straight from the freezer to room temperature. Doing so will cause condensation and you will risk the cake toppling.

The Yummiest Gluten-Free Banana Cake

A piece of banana peanut butter heaven, this fantastic gluten-free and dairy-free banana cake is a delicious combo of sweet and salty in every single bite. Soft moist banana cake layers with silky whipped peanut butter swiss meringue frosting. This beautiful banana cake is a delight in every scrumptious bite.

Make sure you tag me on social media @cakedbykatie and leave me a rating and review below if you make it. Can’t wait to see it!

a light tan colored cake sitting on a wooden cake stand. It is topped with frosting swirls and slices of fresh banana.

Sweet & Salty Baking Inspiration

Here are a few other sweet and salty combinations that I know you’ll enjoy:

clock clock iconcutlery cutlery iconflag flag iconfolder folder iconinstagram instagram iconpinterest pinterest iconfacebook facebook iconprint print iconsquares squares iconheart heart iconheart solid heart solid icon
a light tan colored cake sitting on a wooden cake stand. It is topped with frosting swirls and slices of fresh banana.

Gluten-Free Banana Cake (Dairy-Free)

5 Stars 4 Stars 3 Stars 2 Stars 1 Star

5 from 1 review

  • Author: Katie Stymiest
  • Total Time: 1 Hour 30 Minutes
  • Yield: 10 Slices 1x
  • Diet: Gluten Free


The best gluten-free banana cake made from scratch and covered in a whipped peanut butter swiss meringue frosting. If you’re a fan of sweet and salty, this cake is for you!



Banana Cake

  • 3 large bananas (approx 300-350g), ripe to overripe
  • 1 cup (200g) granulated sugar
  • ¼ cup (50g) brown sugar
  • ½ cup (118ml) vegetable or canola oil
  • ½ cup (113g) dairy-free sour cream or plain yogurt, room temperature
  • 2 large eggs, room temperature
  • 1 teaspoon vanilla extract
  • 2 ½ cups (300g) gluten-free flour blend *
  • 1 tablespoon baking powder
  • 1 teaspoon fine sea salt
  • ½ teaspoon xanthan gum **

Peanut Butter Swiss Meringue Buttercream

  • 4 large egg whites, room temperature
  • 1 cup (200g) granulated sugar
  • 1 cup (227g) dairy-free salted butter, room temperature
  • ½ cup (135g) smooth/creamy peanut butter
  • ½ teaspoon fine sea salt
  • optional: chopped peanuts for decor
  • optional: banana slices for decor


Banana Cake

  1. Preheat the oven to 350ºF and prepare three 6-inch cake pans with non-stick baking spray and parchment paper.
  2. In a large mixing bowl with electric beaters or the bowl of a stand mixer, combine the bananas, granulated sugar, brown sugar, and oil and whisk together until the bananes are mashed and smooth.
  3. Add in the sour cream (or yogurt), eggs, and vanilla extract and mix again until fully combined and smooth.
  4. Add the flour, baking powder, salt, and xathan gum (if using) to the banana mixture and whisk together until just incororpoated. Be careful to not overmix the batter.
  5. Divide the cake batter evenly between the prepared cake pans and bake for 25-30 or until the edges of the cake are lightly golden brown and starting to pull away from the pan. Remove from the oven and allow to cool on a cooling rack for 10 minutes before inverting to fully cool.

Peanut Butter Swiss Meringue Buttercream

  1. Bring a small pot of water to a boil and then reduce it to a simmer.
  2. Combine the egg whites and granulated sugar in a large mixing bowl or bowl of a stand mixer and place over the simmering water and allow to cook, whisking occasionally, until the mixture reaches 160ºF. The sugar should be fully dissolved at this point.
  3. Remove the egg white and sugar mixture from the heat and, with the whisk attachment, begin to beat on high for approximately 10 minutes or until stiff peaks are achieved and it has cooled down.
  4. Add the room-temperature butter and begin to beat at low speed. Once the butter has been roughly incorporated turn the mixer up to high and allow to whisk for 5 minutes. Scrape the sides of the bowl when necessary.
  5. Measure in the peanut butter and salt and again, beat on high for another 5 minutes until light, fluffy, and smooth.


  1. Level each fully cooled banana cake layer with a cake leveler or knife if needed.

  2. Place one layer of cake on a cake board, plate, and/or cake turntable and top with approximately 1½ cups of peanut butter buttercream.

  3. Repeat with the remaining layers and apply a thin coat of buttercream all over the cake. Refrigerate for 20 minutes. Remember that if at any time the cake or frosting feels soft or unstable, stop what you are doing and place both in the fridge to chill.

  4. Cover the cake with a final layer of buttercream and smooth the side with a cake smoother.
  5. Decorate as you please. I placed fresh slices of banana along the top edge of the cake in a wreath-like effect. Using a Wilton 1M tip, I piped a buttercream swirl between each banana slice. Enjoy!
  6. Store leftovers in an airtight container in the fridge for up to 7 days or in the freezer for up to 6 months.


* Check to see if the gluten-free flour blend contains xanthan gum. 

** Omit xanthan gum if the gluten-free flour blend already contains it. Omit entirely if using regular flour.

  • Prep Time: 60 Minutes
  • Cook Time: 30 Minutes
  • Category: Cake
  • Method: Baking
  • Cuisine: American


  • Serving Size: 1 Slice
  • Calories: 808
  • Sugar: 58 Grams
  • Sodium: 313 Miligrams
  • Fat: 45 Grams
  • Saturated Fat: 20 Grams
  • Unsaturated Fat: 19 Grams
  • Carbohydrates: 83 Grams
  • Fiber: 5 Grams
  • Protein: 11 Grams
  • Cholesterol: 89 Miligrams

Similar Posts


  1. I’ve just made this, haven’t tried the cake yet but it smells great and looked good but the frosting is amazing!! So yummy! Thanks for sharing all your hard work! Xx

  2. This was a delicious cake and a big hit for my sisters birthday. I was unable to get pictures because the decorating was a bit of a flop. I had a hard time keeping the frosting stable after adding the peanut butter. I live in a very warm climate so will have to plan extra time for cooling each layer as I stack, and maybe less time beating in the PB?
    Overall delicious combination, but I could definitely use some help on the frosting and decor front.

    1. It’s so hard working against the heat. I definitely think chilling between each layer will help the next time! I’m thrilled that you gave this one a try though Heidi. I love everything peanut butter and banana!

    1. Yes, you absolutely can. Brown butter sounds positively delicious! 3 8-inch pans will work but note that the layers will be thinner.

        1. I think if you want the brown butter flavor to shine through replace all of the oil with it. Otherwise go half and half.

  3. Happy new year from New Zealand 😃
    I made this cake yesterday in a bunt tin and it turned out perfectly.👍
    Made a small amount of dairy free butter cream icing for the top with half walnuts and pumpkin seeds for decoration and served with plain coconut yoghurt. 😋
    Our GF, DF new daughter in law was very impressed as was the rest of family.
    Many thanks for sharing your great recipe.😃

Leave a Reply

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

Recipe rating 5 Stars 4 Stars 3 Stars 2 Stars 1 Star