• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
  • Bake Offs
  • Recipes
  • Travel
  • About
  • Work With Me
  • Nav Widget Area

    • Facebook
    • Instagram
    • Pinterest
    • YouTube
The Pancake Princess

The Pancake Princess

A baking blog curating internet recipes.

You're here: Home > Cake

Flourless Black Bean Chocolate Cake (gluten-free!)

by erika Published: Mar 27, 2024 253 Comments

JUMP TO RECIPE JUMP TO VIDEO PRINT RECIPE

This black bean chocolate cake is fudgy, decadent, and completely gluten-free! I promise that no one will guess it’s flourless and made with a whole can of black beans. It’s incredibly easy to make entirely in a blender with simple pantry ingredients like eggs, sugar, oil and cocoa powder.

a slice of double chocolate black bean cake on a white plate.

While a black bean chocolate cake probably sounds like the worst version of healthy desserts, I’m here to change your mind. When I lived with my old roommate who used to try all of my desserts, she told me that this was one of the best desserts I’ve ever made. And she had no idea that it was made from black beans! (I even made it as her birthday cake one year.)

This cake is not only gluten-free and dairy-free, but you get a decent amount of protein and fiber from a whole can of black beans and lots of eggs. While I’ve made some failed black bean brownies, there’s something more forgiving about black beans in a cake texture. Somehow, the oil, cocoa powder and sugar manage to transform the beans into a light yet fudgy texture that will fool pretty much any chocolate cake lover.

Half of a frosted chocolate cake on a white plate.

Ingredients

Ingredients for black bean chocolate cake: butter, black beans, eggs, vanilla, sugar, cocoa powder.
  • Black beans: These are the main ingredient that provide the structure usually lent from flour in a cake. You can use canned black beans or beans that you’ve cooked from dry (you’ll need a total of 1 and 3/4 cups of cooked beans). If using canned black beans, make sure they’re unseasoned. Most canned beans have a decent level of sodium, so I don’t call for any added salt. If using no-sodium beans or black beans from scratch cooked without salt, increase this to 1/4 tsp.
  • Granulated sugar: You may swap the white sugar for light brown sugar if that’s all you have.
  • Large eggs: The eggs are crucial for adding structure, moisture and richness to this cake. I’ve tested flaxseed and aquafaba as egg replacers in this cake and neither worked well (the tests sunk and tasted bean-y). However, one reader reported that using a chickpea flour slurry worked well as an egg replacement for this cake. I haven’t yet tried, but will report back if I do!
  • Olive oil, neutral oil, melted butter, or refined coconut oil: While I slightly prefer using butter, you can use any fat that you prefer! Make sure to use a mild olive oil or refined coconut oil to avoid overpowering the chocolate flavor.
  • Vanilla extract: I’ve used both pure vanilla extract and imitation vanilla and both will work well.
  • Unsweetened cocoa powder: I strongly recommend using Dutch-process cocoa for its richer color and the best flavor. A few favorite brands include Hershey’s Special Dark, Valrhona and Droste. However in a pinch, regular cocoa (like Hershey’s) will also work.

Butter vs. oil

I recently re-tested this cake with olive oil (below left) vs. creamed butter (below right).

As you can see, the crumb is slightly tighter, more even and a little more crumbly with the creamed butter, but the the overall texture is so similar that I don’t think creaming is worth the extra effort. I thought the flavor of the butter cake was SLIGHTLY preferable to the oil-based cake, but they’re honestly fairly interchangeable.

I’ve updated the recipe to remove the creamed butter option. Feel free to use melted butter or any type of oil you like and use the blender method!

A cross-section of black bean cake made with oil vs. butter.
Left: cake made with olive oil. Right: cake made with creamed butter.

How to make this black bean chocolate cake recipe

Step 1: Preheat the oven and prep the pans. Preheat oven to 350 degrees F and grease 2 6-inch round cake pans. Line the bottom of the pan with a round of parchment paper for extra security to ensure the cake comes out smoothly.

Step 2: Blend the batter. In a high speed blender or food processor, place beans, sugar, eggs, oil and vanilla and blend until completely smooth. Add the dry ingredients and blend until smooth.

Step 3: Bake! Pour bean batter into each prepared pan and bake for 30-35 minutes, or until the top springs back. Let rest in the pan for 5 minutes before flipping the cake onto a wire rack to cool. Make the frosting as you let the cake cool completely.

a slice of double chocolate black bean cake on a white plate.

What does flourless black bean chocolate cake taste like?

Coming from someone who has tried a lot of chocolate cakes, this tastes exactly like regular chocolate cake. The crumb is tender, moist, a little fudgy and not too sweet. I promise you won’t taste the black beans at all!

Frosting recommendations

I highly recommend pairing this cake with a regular chocolate buttercream!

  • Chocolate Greek yogurt frosting: I love this frosting because you can mix it by hand in one bowl (almost as easy as the cake). It has a softer, creamy texture and gets its body and an extra boost of protein from the addition of Greek yogurt! Rich, chocolate-y and just a tiny bit tangy.
  • Sally’s chocolate buttercream: My go-to for a conventional buttercream! Half of the linked recipe is just enough to frost this 6″ double layer cake. I’d use the full recipe if you want a more generous amount of frosting. A peanut butter filling would also work really well with this cake!
  • A very simple glaze: One reader noted that she made a simple glaze with melted chocolate chips and almond milk that worked well with this cake made in an 8×8 pan. I’d estimate 2/3 cup of chocolate chips with 2-3 tbsp of milk (depending on how thick you want the glaze) would work well.

What ingredients are in the vegan frosting?

Back in the day, I used to frost this cake with a vegan pudding frosting adapted from Angelica’s Kitchen. I now prefer this with a regular chocolate buttercream, though I’m still including the recipe for the pudding frosting below since it’s great for those with dietary restrictions.

The original vegan frosting uses a few unusual ingredients:

  • Maple syrup: for sweetness.
  • Cornstarch: for thickening properties.
  • Agar flakes: a sea vegetable superfood that serves as a gelatin substitute. When boiled with water, the flakes create a jelly-like texture.
  • Cocoa powder: for chocolate-y flavor.
  • Milk: I used almond milk, but you can use any milk you like. Coconut milk could be a great option for a slightly richer flavor.
  • Vanilla: for enhanced flavor

All of these ingredients combine to form a frosting with the texture of chocolate pudding. You can tell it’s fat-free thanks to a lack of richness, but the good thing about it? It’s a nice light frosting that will be safe for vegans and gluten-free folk alike.

a slice of double chocolate black bean cake on a white plate.

How to store black bean cake?

I would recommend storing leftover slices of cake in an airtight container in the fridge for up to 1 week. You can also wrap individual frosted slices in plastic wrap, slip into a freezer bag and freeze for up to 1 month.

If you loved this cake, you may also like:

  • The peanut butter sibling to this cake: my peanut butter chickpea cake!
  • For another chocolate-y treat with no refined sugar, these vegan mini chocolate muffins are another classic recipe that uses date paste as a wholesome sweetener.
  • This cottage cheese cheesecake is made with just cottage cheese and Greek yogurt for a higher-protein version of a delicious classic cheesecake!
  • A decadent flourless chocolate cake with an aquafaba meringue
  • This lemon meringue pie has a tofu-based filling with an aquafaba meringue
a slice of double chocolate black bean cake on a white plate.

Flourless Black Bean Chocolate Cake (gluten-free!)

Erika Kwee
Simply the best black bean cake I’ve ever tried. This fudgy, tight-crumbed, soft cake will make up for all the black bean baking failures you’ve ever had. No one will believe there's a whole can of black beans in it!
4.86 from 90 votes
Print Recipe Pin Recipe
Prep Time 30 minutes mins
Cook Time 40 minutes mins
Course Dessert
Servings 6 slices
Calories 310 kcal

Ingredients
  

For the cake

  • 1 15.5 oz can black beans, drained and rinsed* or 1 3/4 cups cooked black beans (301g)
  • 3/4 cup granulated sugar 150g
  • 4 large eggs 200g
  • 5 tbsp melted butter or oil of your choice (vegetable, canola, grapeseed, avocado, a mild olive oil or refined coconut oil all work) 70g
  • 1 tbsp vanilla extract
  • 5 tbsp cocoa (Dutch-process preferred) 26g
  • 1 tsp baking powder
  • 1/2 tsp baking soda

Instructions
 

Make the cake

  • Preheat oven to 350F. Grease and line 2 6-inch round cake pans with parchment paper.
  • In a high speed blender or food processor, puree the beans, sugar, oil, eggs and vanilla until completely smooth.
  • Add the cocoa powder, baking powder and baking soda directly to the blender and blend until smooth.
  • Divide batter equally into prepared pans and bake for 30-35 minutes, or until the top springs back. Let cool for 5 minutes before flipping the cake onto a cooling rack. Make the frosting as the cake cools completely. (I recommend this chocolate Greek yogurt frosting!)

Video

Notes

*If using from-scratch black beans cooked with no salt, add 1/4 tsp kosher salt to the cake batter.
If you don’t have 2 6″ pans, the batter will work baked in an 8×8 or 9×9 pan. The baking temperature will likely be longer–start checking at 30 minutes for an inserted tester to come out clean with just a few crumbs/for it to spring back when you lightly press the top.
I’ve tested this cake with both olive oil and butter. I slightly prefer the flavor and texture of butter, but oil will achieve very similar results. Make sure to use a mild olive oil so it doesn’t overpower the flavor. If you choose another oil like coconut oil, I always prefer using a refined coconut oil to remove any coconut flavor.
Adapted from here.

Nutrition

Serving: 6Calories: 310kcalCarbohydrates: 40gProtein: 10gFat: 13gSaturated Fat: 7gPolyunsaturated Fat: 1gMonounsaturated Fat: 4gTrans Fat: 0.4gCholesterol: 149mgSodium: 567mgPotassium: 342mgFiber: 7gSugar: 25gVitamin A: 474IUVitamin C: 2mgCalcium: 92mgIron: 3mg
Tried this recipe?Let us know how it was!
a slice of double chocolate black bean cake on a white plate.

Vegan Chocolate Pudding Frosting

Erika Kwee
Made with agar agar, this very soft pudding-like frosting is a good option if you need a vegan frosting.
4.86 from 90 votes
Print Recipe Pin Recipe
Prep Time 30 minutes mins
Cook Time 5 minutes mins
Total Time 35 minutes mins
Course Dessert

Ingredients
  

  • 6 tbsp agar flakes
  • 1.5 cups water
  • 3/4 cups cocoa powder (Dutch-process preferred)
  • 3/4-1 cup pure maple syrup
  • 1.5 tsp vanilla extract
  • 1/4 tsp kosher salt
  • 3 tbsp cornstarch
  • 6 tbsp milk, your choice (I used almond)

Instructions
 

  • Combine the agar flakes and water over medium heat for 3 minutes, whisking occasionally. Then whisk in the cocoa powder, maple syrup, vanilla and salt.
  • Combine the cornstarch and almond milk in a small bowl and add the cornstarch slurry to the agar mixture. Continue to cook, stirring constantly, until the mixture starts to bubble and thicken. Let cook for 1 full minute to activate the cornstarch, then remove from heat.
  • Pour into a glass pan or measuring cup and refrigerate for at least 20 minutes, or until the cake is ready to be frosted. Whisk the frosting by hand or with an electric beater to fluff up before frosting the cake.

Notes

Adapted from the Angelica Kitchen cookbook.
Tried this recipe?Let us know how it was!

Reader Interactions

Comments

    4.86 from 90 votes

    Leave a Reply Cancel reply

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

    Recipe Rating




  1. Jane

    February 14, 2026 at 9:43 am

    5 stars
    I don’t normally leave reviews for recipes but happened to see the recipe on Facebook by chance… oh my god this was so good??? AND SO EASY.

    Definitely also recommend pairing with the yoghurt frosting !!!

    Reply
    • erika

      February 19, 2026 at 6:09 am

      Yay!!! Thanks Jane!

      Reply
  2. Janet Pesaturo

    February 12, 2026 at 4:02 pm

    5 stars
    My husband and I loved this. I’ll be honest, it’s not as scrumptious as a traditional chocolate cake made with white flour, but both flavor and texture were very, very good, and with black beans it’s so much healthier. This is exactly what I was looking for. I don’t think I would alter it at all, which is rare for me with recipes found on the internet. I also love the 6 inch size. Just perfect as a celebration cake for my husband and me now that we are empty nesters. Will definitely be making this again. Thanks so much.

    Reply
    • erika

      February 19, 2026 at 6:17 am

      Glad it hit the nail on the head–thank you for the review Janet!

      Reply
  3. Sabrina

    February 4, 2026 at 4:25 pm

    Am I the only one faced with 15oz cans of beans, not 15.5? Will the recipe still work? do I need to make some sort of adjustments to account for the .5oz of missing beans?
    please help……

    Reply
    • erika

      February 5, 2026 at 9:23 pm

      15oz will totally work instead of 15.5oz!

      Reply
  4. Fleur

    January 28, 2026 at 8:28 am

    5 stars
    wow, delicious,easy,nutritious! its a winner.

    Reply
  5. Deborah R. Haynes

    January 27, 2026 at 7:41 am

    Can your bean cakes be made vegan.

    Reply
    • erika

      January 31, 2026 at 10:02 pm

      Someone reported using chickpea flour instead of eggs in this recipe and it worked well! I haven’t tried yet, but it’s on my list to experiment with.

      Reply
  6. Emily Roarty

    January 24, 2026 at 8:23 am

    3 stars
    The best gluten free treat! Even my kids love it.

    Reply
  7. Brandi Lopes

    January 21, 2026 at 1:01 am

    5 stars
    The BEST !! I topped this delicious cake with a dark cherry glaze. ( cherries microwaved and blended w/ powdered sugar and lemon zest)

    Reply
    • erika

      January 27, 2026 at 3:59 am

      Sounds so good!!

      Reply
  8. Natalie C

    January 19, 2026 at 7:20 am

    5 stars
    I agree this is the best chocolate gluten free cake and very easy to make! Very moist, chocolate taste with no hint of black bean flavor whatsoever. I did use a different frosting so no comments on this particular frosting. Highly recommend this cake and thank you for the recipe! Keep providing us great recipes as you do!

    Reply
    • erika

      January 27, 2026 at 4:00 am

      Thrilled to hear, thank you Natalie <3

      Reply
  9. Black Momma

    January 18, 2026 at 6:47 pm

    5 stars
    I made this tonight.
    Ya’ll…. this cake is legit. The texture, crumb and moisture level are PERFECT! I blended entities in a food processor. I did not at the cocoa last. I just dumped and blended.
    Such a delicious cake!
    I used melted white chocolate chips and a stick of butter, refrigerated, then softened. I whipped the chocolate and butter to make a frosting.
    I used sugar free sweetener for both the cake and sugar free chips.
    I’ll be keeping this recipe for future bakes!!! ❤️❤️❤️🌹🌹

    Reply
    • erika

      January 27, 2026 at 4:01 am

      So happy to hear!! <33

      Reply
  10. Jane

    January 13, 2026 at 3:33 pm

    5 stars
    Hi – I don’t have any canned black beans. But I have a can of kidney beans. Would you recommend that sub?

    Reply
    • erika

      January 27, 2026 at 3:56 am

      I think that would be totally fine!

      Reply
  11. Ruthann

    January 11, 2026 at 10:43 am

    5 stars
    I just made this for my mom and sister who are gluten free and it was so easy and delicious. I made a single 9″ round and split it to fill with frosting, and that worked very well. I’ll definitely be making this recipe again!

    Reply
    • erika

      January 12, 2026 at 6:55 pm

      So glad to hear, thanks for reporting back Ruthann!

      Reply
  12. Aly

    January 10, 2026 at 7:57 pm

    5 stars
    Had to suit up in my winter coat & boots to take some of this out to my family while they were in the shop because I couldn’t believe beans actually taste like chocolate cake. Everyone agreed you can’t tell it’s beans. My new (and only) go-to high fibre dessert 🫡 thank you for this fantastic recipe.

    Reply
    • erika

      January 12, 2026 at 6:54 pm

      Haha amazing!!! So happy you loved!

      Reply
« Older Comments

Primary Sidebar

A girl surrounded by plates of baked goods holding a cookie up to her eye.

Baking recipe curator and tester.

I’m here to give you confidence that you are finding the recipe that’s right for you.

I test recipes side-by-side and use a data-driven approach to analyze and rank the “best” recipes and put it all together for you.

Named by Southern Living as the Cook of the Year for 2021, and the recipient of a Saveur award, as well features in the WSJ, the Houston Chronicle, and more.

Get to know me.

  • Email
  • Facebook
  • Instagram
  • Pinterest
  • YouTube

Subscribe to get the latest

More Cake Recipes:

A white pie plate filled with pumpkin, pecan and apple mini hand pies.

Thanksgiving Tri Pie

pumpkin white chocolate cookies on a baking sheet.

Chewy Pumpkin Cookies

Two squares of apple crumb cake stacked on top of each other on a white plate.

Cinnamon Apple Crumb Cake

Three pumpkin panckes laid out on a white plate.

Pumpkin Cottage Cheese Pancakes

A slice of pumpkin sheet cake on a white plate.

Pumpkin Spice Mini Sheet Cake (Trader Joe’s copycat)

slice of pumpkin cheesecake on a blue plate.

Pumpkin Cottage Cheese Cheesecake

See more cake recipes >>

A sticker saying \"Winner: Saveur Blog \'19 Awards for Best Baking & Sweets Blog.\"

More Cookie Recipes:

A coconut chocolate shortbread bar on a white plate.

Samoa Cookie Bars

pumpkin white chocolate cookies on a baking sheet.

Chewy Pumpkin Cookies

An apple pie cookie on a white plate.

Apple Pie Cookies

A cheesy jam thumbprint cookie on a cookie sheet.

Cheese Cookies (with Pecorino Romano PDO)

a thick chocolate crinkle cookie on a sheet of parchment paper.

Dark Chocolate Crinkle Cookies (Levain-style!)

Alejandra Salas M&M cookie.

Alejandra Salas’ M&M Cookies

See more cookie recipes >>

Featured In

An image showing icons for various publications like Southern Living, Huffington Post and Daily Burn.

Footer

Links:

Back to Top
Bake Offs
Recipes
Travel
About
Work With Me
  • Email
  • Facebook
  • Instagram
  • Pinterest
  • Substack
  • TikTok
  • YouTube

Latest:

  • Chocolate Cottage Cheese Cheesecake
  • Cottage Cheese Crepes
  • Chocolate Greek Yogurt Frosting
  • Peanut Butter Chickpea Cake (gluten-free)
  • Best Almond Biscotti Bake Off

Privacy Policy and Terms of Service · Accessibility Policy ·   © Pancake Princess 2025

Rate This Recipe

Your vote:




A rating is required
A name is required
An email is required

Recipe Ratings without Comment

Something went wrong. Please try again.