• 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 > Recipes

Flourless Black Bean Chocolate Cake (gluten-free!)

by erika Published: Mar 27, 2024 Modified: Nov 24, 2026 469 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 can be made 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 actually cakey texture that will fool pretty much any chocolate cake lover. (If you don’t believe me, here’s The Kitchn’s review of this cake!)

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.5 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, use 1/4 tsp kosher salt. If you don’t have black beans, you can also swap in chickpeas, butter beans, cannellini beans, red beans, kidney beans or pinto beans. Virtually any similar type of bean will work–the flavor should be masked by the rest of the ingredients.
  • 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 (cocoa, baking soda and baking powder) 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, slightly fudgy yet fluffy and not too sweet. I promise you won’t taste the black beans at all!

Frosting recommendations

I highly recommend pairing this cake with either my chocolate Greek yogurt frosting or a conventional 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.
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.
PRINT PIN
4.83 from 162 votes

Flourless Black Bean Chocolate Cake (gluten-free!)

Simply the best black bean cake I’ve ever tried. This slightly fudgy, 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!
Prep Time 15 minutes minutes
Cook Time 35 minutes minutes
Servings 6 slices
Calories 310kcal
Author Erika Kwee

Video

Equipment

  • 2 6" cake pans Other options: 1 8" or 9" cake pan, 1 8×8" or 1 9×9" pan

Ingredients

For the cake

  • 1 15.5 oz can black beans, drained and rinsed* or 1.5 cups cooked black beans (~270-290g)
  • 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" 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 and an inserted tester comes out clean with just a few crumbs. 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!)

Notes

*If using from-scratch black beans cooked with no salt, add 1/4 tsp kosher salt to the cake batter. You may sub chickpeas, butter beans, cannellini beans, kidney beans or red beans for the black beans.
**If baking in an 8″ or 8×8″ pan, the bake time will remain around 30-35 minutes. If baking in a 9″ or 9×9″ pan, start checking for doneness around 25 minutes, but it will likely be done closer to 30 minutes. 
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.
This cake originally came from here; since the website has now been taken down, I wanted to reshare it here.

Did you try this recipe?

Leave a star rating ⭐️ below to help others discover this recipe!

Reader Interactions

Comments

    4.83 from 162 votes

    Leave a Reply Cancel reply

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

    Recipe Rating




  1. Sandy

    November 30, 2026 at 8:21 am

    Can you substitute sugar for maple syrup?

    Reply
    • erika

      November 30, 2026 at 4:31 pm

      Yes, that should work though it may change the texture slightly!

      Reply
  2. Suzie

    November 29, 2026 at 5:20 pm

    5 stars
    This is pretty good! I did lower the vanilla extract to 1 tsp since a comment mentioned overwhelming vanilla flavor. I baked in an 8 inch pan (so a 1 layer cake) and no frosting. I like that it isn’t too sweet and it is as. Great option for my sister with a gluten sensitivity.

    Reply
  3. Maddy B

    November 28, 2026 at 8:12 am

    5 stars
    Genuinely delicious. Like many people, I’ve tried a lot of box mix chocolate cakes before but they’re always dry and sometimes overly sweet. Made this for my partner’s family and everyone loved it – it’s going to become a dessert staple for sure

    Reply
    • erika

      November 29, 2026 at 7:44 pm

      So thrilled to hear, thank you Maddy!

      Reply
  4. Kristine Rivera

    November 26, 2026 at 3:44 pm

    is there a way to make this without sugar . maybe something like honey ???

    Reply
    • erika

      November 29, 2026 at 7:46 pm

      Yes, honey would likely work as a substitute. I think other commenters have successfully used monkfruit sweetener!

      Reply
  5. Taylor

    November 25, 2026 at 5:16 pm

    5 stars
    Overall pretty good and moist. The vanilla extract flavor is overpowering. I would decrease this next time I make it because a tbsp is a lot.

    Reply
  6. Ash

    November 24, 2026 at 8:31 pm

    5 stars
    do you think this would work if the bean was replaced with sweet potato?

    Reply
    • erika

      November 24, 2026 at 9:20 pm

      I think that could work but the texture might be squishier and less cake-like!

      Reply
  7. Sam

    November 24, 2026 at 2:40 am

    Is the calorie count with frosting or without?

    Reply
    • erika

      November 24, 2026 at 11:51 am

      Without, just the cake!

      Reply
  8. Jieun

    November 22, 2026 at 9:20 am

    5 stars
    I was skeptical because I’ve had black bean cake before, BUT this recipe was delicious!!

    Reply
  9. Ariadna Castaneda

    November 20, 2026 at 7:56 pm

    5 stars
    It turned out delicious! I used 2 6 inch pans and lathered it with the chocolate Greek yogurt frosting!
    Thanks for the recipe!

    Reply
  10. AEJ123

    November 15, 2026 at 2:18 pm

    4 stars
    Good recipe, I made a second time, subbed 2/3 sugar for monkfruit erythritol blend, and 1/4 cup sugar for brown sugar and 1tbsp molasses. I also included 2 squares dark chocolate melted into butter to make up the 5tbsp of oils. Added mini chips and some orange bitters.
    I wish there was a way to make it rise a bit more.

    Reply
    • erika

      November 16, 2026 at 10:41 pm

      Thank you for reporting back with the modifications!

      Reply
  11. Romanas

    November 13, 2026 at 4:20 pm

    5 stars
    labai geras gavosi pyragas,einu kepti dar…..

    Reply
  12. Saharish Ijaz

    November 12, 2026 at 9:31 pm

    I made this two 9 inch pans and it turned out flat. Not sure what I did wrong. What can I do to make sure it doesn’t turn out thin and flat? Taste is actually pretty good.

    Reply
    • erika

      November 16, 2026 at 10:46 pm

      Hi! Did you double the batch to bake it in 2 9″ pans? Otherwise a single batch of this would definitely turn out flat in 2 9″ pans because it’s not that much batter.

      Reply
  13. AMC

    November 11, 2026 at 11:45 pm

    I made this a couple weeks ago and the household liked it so much that I made it for my son’s first birthday! I replaced all the eggs with chickpea flour (3T chickpea flour + 3T water per egg), as I usually do with baked goods. No one would ever know the difference!

    Reply
    • erika

      November 16, 2026 at 10:45 pm

      Amazing, I’ll have to try that chickpea flour modification!

      Reply
  14. Coco

    November 10, 2026 at 11:30 pm

    5 stars
    Amazing. I will never make normal chocolate cake again.

    Reply
  15. Marena Bennett

    November 8, 2026 at 12:38 pm

    5 stars
    Great recipe! My family loved it and was shocked it was black beans instead of a traditional flour cake.

    Reply
« Older Comments
Newer 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 slice of pumpkin cake on a plate with a bite taken out to reveal the close crumb.

Pumpkin Cake with Candied Walnuts

A stack of pumpkin pancakes topped with yogurt and candied walnuts.

Pumpkin Pancakes

A pumpkin scone with a maple glaze on a white plate.

Pumpkin Scones

Two large apple pancakes on a white plate topped with a dollop of yogurt.

Apple Pancakes

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

See more cake recipes >>

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

More Cookie Recipes:

Pineapple Upside Down Cookies

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!)

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:

  • Pineapple Upside Down Cookies
  • Best Mississippi Mud Pie Bake Off
  • Best Basque Cheesecake Bake Off
  • Pumpkin Cake with Candied Walnuts
  • Buckwheat olive oil cake

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

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.