Keto Sauerkraut Chocolate Cake

Annie Lampella @ Ketofocus

By Annie Lampella, Pharm.D.

Published April 10, 2023 • Updated August 22, 2026

Reader Rating
4.7 Stars (19 Ratings)

This post may contain affiliate links. See my disclosure policy.

Deeply chocolatey and incredibly moist, this keto chocolate cake stumps everyone — 3.8g net carbs. I've tested a lot of low carb cakes, and the secret here is sauerkraut: subtle tang that balances the rich cocoa and keeps it moist.

I get the look every single time I tell someone what’s in this cake. The fork goes down, they stare at me, and then they go back for another bite anyway. I’ve been making this for years, and that reaction never gets old. Sauerkraut makes this the moistest cake I’ve ever baked on keto, and the cocoa covers it completely. Nobody guesses.

A bite taken out of a slice of chocolate cake on a plate.

Here’s the thing about low carb cakes: without real sugar trapping moisture, most of them dry out by day two. I’ve tried everything. Sour cream, yogurt, buttermilk (like in my keto spice cake), and they all help to a point. But shredded sauerkraut works differently. It holds water and releases it slowly during baking, the same way carrots work in carrot cake, so the crumb stays soft and spongy for days. And the fermented tang? The cocoa takes over completely. I’ve served this to people who say they hate sauerkraut and they had no idea it was there.

Three of my readers have independently described the same moment when they served this: someone takes a bite, loves it, asks what makes it so moist, and then finds out sauerkraut is involved. Fork goes down. Stare. Then another bite. My husband did the exact same thing when I first made it for him. He kept asking what was different about this cake compared to everything else I’ve baked, and when I told him, he just looked at me. It’s the most fun part of making this recipe.

I’ve made this for birthdays, random Friday nights, and one memorable potluck where three people asked for the recipe and zero guessed the secret. The sugar-free version holds up under serious frosting, too, which matters when you’re stacking layers. I usually go with a rich buttercream, but a chocolate trifle approach works if you want layers without the heaviness. For a simpler weeknight option, my easier version is faster, but this is the one I reach for when I want to actually impress.

If you’re planning a celebration, the frosting and stacking method I use on my birthday cake translates directly here. Two layers, generous frosting between them, and enough structure that the whole thing holds without buckling. I’ve also served individual slices with just a dollop of whipped cream when I didn’t want to bother with a full frosting job, and that works just as well.

How to make this chocolate cake

Youtube
Discover More Keto Recipes on Our Channel

Explore hundreds of keto recipe videos with step-by-step instructions, tips, and tricks to make keto easy.

Recipe
Print Pin

Keto Sauerkraut Chocolate Cake

4.7 (19) Prep 20m Cook 35m Total 55m 12 servings

Keto Sauerkraut Cake Ingredients

Sugar Free Chocolate Buttercream Frosting Ingredients

Step by Step Instructions

1
Prepare sauerkraut

Open the can of shredded sauerkraut. Measure out 3/4 cup and strain out liquid through a strainer or mesh sleeve. Using a paper towel, press out excess liquid from the sauerkraut. Place shredded sauerkraut on a cutting board and finely chop. Set aside.

Hands pressing water out of shredded sauerkraut through a strainer with a paper towel.
Ingredients for this step
  • 3/4 cup shredded sauerkraut
2
Mix dry ingredients

In a medium bowl, whisk together almond flour, oat fiber, cocoa powder, baking soda, baking powder and salt. Set aside.

A hand holding a bowl with dry ingredients containing cocoa with a whisk inside.
Tip For the best cake texture, run the almond flour through a sifter to break up clumps and remove any grainy pieces of almond.
Ingredients for this step
  • 2 cups almond flour
  • 1/2 cup oat fiber
  • 1/2 cup unsweetened cocoa powder
  • 1 teaspoon baking powder
  • 1 teaspoon baking soda
  • 1/2 teaspoon salt
3
Combine wet ingredients

In a large bowl, cream together softened butter and sweetener using an electric mixer until combined and fluffy. Add eggs one at a time, beat well after each addition. Add vanilla extract. Mix to combine.

Electric mixer beaters are above a clear bowl with butter and eggs mixed inside.
Ingredients for this step
  • 1/2 cup unsalted butter (softened)
  • 1 1/3 cup sugar free sweetener
  • 3 eggs
  • 1 teaspoon vanilla
4
Finish cake batter

Slowly mix in dry ingredients and sauerkraut, alternating between the two until fully combined. Batter will be thick similar to brownie batter. Pour in 1 cup of water to thin it out into a cake batter consistency. Mix until combined.

An electric mixer sits over a bowl with chocolate cake batter inside.
Ingredients for this step
  • 1 cup water
5
Pour into cake pans

Grease two 8 inch cake pans with cooking spray or butter. Place a parchment circle on the bottom of each pan. Evenly divide the chocolate cake batter between the two pans.

Two cake pans filled with chocolate cake batter.
6
Bake and cool

Bake in a 350 degree oven for 35 minutes or until a knife inserted into the center of the cake comes out clean. Remove from the oven, loosen the cake away from the sides of the cake pan with a knife. Let rest for 10 minutes before placing a wire rack on top of the pan and inverting to release the cake. Continue to let cool completely.

Hands sliding a butter knife around the edges of a baked chocolate cake to loosen the edges.
7
Frosting time

To a large bowl, cream butter until light and fluffy. Slowly mix in powdered sweetener and cocoa powder. Pour in cream, vanilla and salt. Mix until smooth and creamy. Decorate the cooled cake with frosting.

A glass bowl with chocolate frosting inside.
Ingredients for this step
  • 2 cups unsalted butter, softened
  • 3 cups powdered sugar free sweetener
  • 1 cup unsweetened cocoa powder
  • 6 tablespoons heavy cream
  • 4 teaspoons vanilla extract
  • 1/2 teaspoon salt
Nutrition Per Serving 1 slice
534 Calories
52.9g Fat
7.7g Protein
3.8g Net Carbs
16.1g Total Carbs
12 Servings
Nutrition disclaimer

The nutrition information provided is an estimate and is for informational purposes only. I am a Doctor of Pharmacy (Pharm.D.); however, this content is not intended to be a substitute for professional medical advice, diagnosis, or treatment. Always consult your physician or other qualified health provider before making any lifestyle changes or beginning a new nutrition program.

Your Macros. Your Recipes. Calculated in 60 Seconds.

Get personalized keto macros and instantly see which recipes fit your targets. No more guessing what to eat.

Get My Macros + Recipes →

Get weekly keto recipes from Annie.

Join the list and get new recipes delivered to your inbox every week.

Keto Sauerkraut Chocolate Cake

Frequently Asked Questions

Will the cake taste like sauerkraut?

I get asked this more than anything, and the answer is no. The cocoa powder completely takes over, especially if you drain the liquid off the sauerkraut first. My husband had no idea until I told him after his second slice. If you're worried, try a small piece of the raw sauerkraut alongside a piece of the finished cake. You won't believe they're related.

What happens if I don't drain the sauerkraut well enough?

I've done this, and the cake came out more like a fudgy brownie in the center. Still delicious, just denser than intended. One of my readers had the same experience and loved it so much she does it on purpose now. If you want the traditional spongy texture, really press that sauerkraut dry with paper towels. I use two or three sheets and press firmly through a mesh strainer.

Can I use coffee instead of water?

I haven't tested this yet, but I'm planning to. Traditional sauerkraut cake bakers swear by it for a deeper, richer cocoa flavor, and it makes sense to me. Coffee intensifies chocolate without adding its own obvious flavor. If you try it, use brewed coffee at room temperature, same amount as the water (1 cup).

Can I use a food processor to chop the sauerkraut?

I chop mine by hand, but pulsing it in a food processor works if you want the pieces even finer. The advantage is that the sauerkraut practically disappears into the batter, so there's zero texture giveaway. Just be careful not to puree it into mush. Three or four quick pulses is all you need.

Can I substitute coconut flour for the oat fiber?

I've tested this. Use about 1/4 cup of coconut flour to replace the 1/2 cup of oat fiber. Coconut flour absorbs way more liquid, so the ratio isn't 1:1. The texture shifts slightly (a bit denser, less spongy), but the keto cake still works. I wouldn't use regular oat flour as a substitute, since that would completely change the carb count.

Can I make this dairy-free?

I haven't done a full dairy-free version yet, but the cake itself is the easy part. Swap the butter for coconut oil and skip the buttercream in favor of a coconut cream-based frosting. The sauerkraut handles the moisture, so you don't lose anything structurally. The frosting is where it gets tricky, and I'm still working on a version I'm happy with.

Can I make cupcakes instead of a cake?

I've made these as cupcakes and they turn out great. Pour the batter into a lined muffin tin and bake at 350 degrees. I start checking at 18 minutes (mine are usually done by 20). They're done when a toothpick comes out clean. If you want a simpler chocolate fix without the sauerkraut step, my chocolate mug cake is even faster.

What frosting options besides chocolate buttercream work here?

I almost always go with the buttercream because I like how the richness matches the cocoa in the cake. But cream cheese frosting is fantastic here, similar to what I pair with my spice cake. The tanginess of the cream cheese plays off the subtle sauerkraut tang in a way that just works. I've also topped individual slices with whipped cream when I didn't feel like making a full frosting batch.

Similar Recipes

Others looking for “Keto Sauerkraut Chocolate Cake” also liked:

A side view of a whole chocolate cake with an arrow pointing to it and text that reads "contains sauerkraut?!".

Why sauerkraut belongs in this cake

I know it sounds like a dare, but I’ve been making this for years and it’s the single best moisture trick I know for baked goods. Shredded sauerkraut works the same way carrots do in carrot cake: it holds water and releases it slowly during baking, so the crumb stays tender and spongy instead of drying out by day two.

The idea goes back to the 1960s, when USDA surplus programs were shipping canned sauerkraut to American kitchens by the case. Home bakers started folding it into chocolate batter, and the results were moist enough to become a church potluck staple. One of my readers told me her grandmother made this for every church event, and she said my version was the closest she’d gotten to that memory.

When I adapted this for keto baking, the sauerkraut became even more critical. Sugar substitutes don’t trap moisture the way real sugar does. I use different moisture tricks depending on the recipe (fresh fruit in my strawberry cake, sour cream in others), but sauerkraut is the most effective one I’ve found. The fermented tang is subtle here (the cocoa completely takes over), and that tanginess actually complements bitter chocolate the way coffee does.

Oat fiber (not oat flour)

Oat fiber is the insoluble hull of the oat, and it’s completely different from oat flour. I get this question constantly, so here’s the short version: oat fiber has zero net carbs and is gluten-free, which makes it work for keto baking. Oat flour would completely change the macros on this recipe.

I combine it with almond flour here because the two together create a spongy, tender texture that’s close to what you’d get from all-purpose flour. The oat fiber absorbs liquid without adding density, so the cake doesn’t turn into a brick. If you can’t find oat fiber locally, I’ve had luck ordering it online.

A slice of two layered chocolate cake on a plate decorated with frosting.

How to store this cake

Refrigerator

I keep mine covered with plastic wrap or in an airtight container, and it stays good for about 5 days. Most keto baked goods dry out faster than their regular counterparts, but the sauerkraut actually helps this one hold moisture longer than you’d expect.

Freezer

I’ve frozen this successfully for up to 3 months. Wrap the layers tightly in plastic wrap first, then aluminum foil, then into a freezer bag. Let it thaw overnight in the fridge before frosting. The texture comes back almost perfectly.

About the Author
Annie Lampella, Pharm.D.

Annie Lampella, Pharm.D.

Annie is a Doctor of Pharmacy, mom, and the recipe creator behind KetoFocus. With a B.S. in Genetics from UC Davis, she has over 14 years of experience developing family-friendly keto recipes based on the science of human metabolism.

More Dessert Recipes

keto chocolate chip cookie stack
55 Mins
Keto Almond Flour Chocolate Chip Cookies
4.7 Stars (53 Ratings)

The chewiest almond flour chocolate chip cookies I've ever baked — zero grainy texture and 3.2g net carbs for two cookies. I invented these keto...

See the Recipe
holding a spoonful of fluffy jello dessert over a bowl of pink creamy pudding
5 Mins
Jello Whip
4.9 Stars (24 Ratings)

Jello whip turns cream cheese, heavy cream, and sugar-free jello into a fluffy, cloud-like dessert in under 5 minutes — 2.3g net carbs. My kids...

See the Recipe
five golden brown chocolate chip cookies on the table with dark chips spread around
16 Mins
Best Keto Chocolate Chip Cookies
4.7 Stars (52 Ratings)

Crispy edges, chewy centers, close to Toll House — these keto chocolate chip cookies land at 1.2g net carbs each. The almond and coconut flour...

See the Recipe
creamy chocolate mousse in a small dish topped with sprinkles and strawberries
3 Mins
Keto Chocolate Mousse
4.7 Stars (31 Ratings)

Keto chocolate mousse from 3 ingredients — rich, airy, and just 3.1g net carbs. No cooking, no raw eggs, ready in under 5 minutes when the...

See the Recipe
pretty fluted edges on a pie crust
77 Mins
Keto Pie Crust
4.8 Stars (40 Ratings)

No one will guess this flaky, buttery keto pie crust is grain-free — just 1.5g net carbs. It's almond flour, coconut flour, cold butter, and one...

See the Recipe
creamy ice cream dripping from a cone
35 Mins
Keto Vanilla Ice Cream
4.8 Stars (35 Ratings)

No custard, no tempering — this keto vanilla ice cream stays soft, creamy, and scoopable straight from the freezer at 1.8g net carbs. Five...

See the Recipe
Reviews 50
4.7
4.7 Stars (19 Ratings)
19 ratings · 26 written reviews
Made this recipe? Tap a star to rate it.
  1. B
    Brooke Aug 10, 2026

    Is jarred sauerkraut ok to use, or does it have to be the refrigerated kind?

  2. H
    Heather Aug 9, 2026

    Been keto long enough to make peace with what I thought I gave up. The sauerkraut does something to this crumb I wasn't ready for.

    1. Annie Lampella
      Annie Lampella Aug 14, 2026

      Heather, the crumb is the part that surprised me too. I've tried adding sour cream, yogurt, all of it, and nothing mimics what the sauerkraut does to the texture. It almost pulls apart in layers.

  3. R
    Rachel Wilson Aug 2, 2026

    I expected sauerkraut to ruin this. Wrong.

    1. Annie Lampella
      Annie Lampella Aug 5, 2026

      That's the reaction I live for!

  4. M
    Michelle Moore Jul 20, 2026

    Alternate the dry mix and sauerkraut in stages the way the recipe says, not all at once. The cocoa distributes more evenly and you don't end up with those wet pockets that sink the middle. Keto chocolate cake has a density problem in most versions I've landed on, usually because the moisture source doesn't absorb through the whole crumb. This one solves it at the structural level.

  5. A
    Andre Jul 7, 2026

    Annie, I still don't understand how the sauerkraut disappears the way it does, but I've made this eight times and I'm not about to argue with results. The thing that finally fixed the occasional center sink: alternate the dry ingredients and the sauerkraut in three passes, not two big additions. Takes an extra 90 seconds and the crumb comes out completely different. Worth it.

    1. Annie Lampella
      Annie Lampella Jul 8, 2026

      Andre, eight bakes and you found something I missed. I've always done two big additions, so I'm trying your three-pass version on the next one.

  6. M
    Mia Jun 29, 2026

    batter looks thick and almost dry, keep going.

    1. Annie Lampella
      Annie Lampella Jun 30, 2026

      Mia, the oat fiber does that. It looks almost crumbly before everything absorbs, and the first time I made it I nearly added more water. Glad I held off.

  7. M
    Melissa Jun 23, 2026

    Best keto chocolate cake I've made. The sauerkraut did it.

    1. Annie Lampella
      Annie Lampella Jun 25, 2026

      I told my husband after his second slice. Still shook.

  8. T
    Travis Jun 22, 2026

    3.8 carbs. Two cake pans in the freezer now.

    1. Annie Lampella
      Annie Lampella Jun 28, 2026

      3.8 for a real slice of chocolate cake. I keep one in the freezer at all times, thaws in about 20 minutes and the texture holds.

  9. L
    Lindsey Jun 17, 2026

    The cocoa smell alone. Chocolate cake wasn't off limits after all.

    1. Annie Lampella
      Annie Lampella Jun 22, 2026

      That smell while it bakes is something else. Nothing about it gives away the sauerkraut.

  10. L
    Lorraine Jun 5, 2026

    Make sure you really squeeze that sauerkraut dry, mine came out a little wet in the center the first round. Once I got that right, the cocoa flavor hit completely different than I was expecting from a low carb cake.

    1. Annie Lampella
      Annie Lampella Jun 8, 2026

      The draining is what makes or breaks it. I've made it the lazy way and the center goes dense and fudgy, Lorraine, which some readers actually do on purpose now. But when you wring it out properly and that cocoa hits, nobody guesses it's keto.

  11. L
    Luz May 2, 2026

    Added a teaspoon of instant espresso to the batter because I do it with every chocolate cake I make, and the cocoa depth here is something else. Not coffee-flavored, just intensified, the way good cocoa should taste when it has something pushing it. I was already skeptical about the sauerkraut doing anything real, but then I tasted the batter at the fold-in stage and had to exercise some serious self-control. Four stars because I overbaked mine by two minutes and lost some of that famous moisture, which is entirely on me.

    1. Annie Lampella
      Annie Lampella May 4, 2026

      That fold-in moment gets me every time. Two minutes is everything here. Pull when the edges look set and the center still wobbles a little.

  12. D
    Derek Apr 25, 2026

    Added a teaspoon of espresso powder with the cocoa and wow, the chocolate flavor went deep. I'd dial back the sweetener a touch next time though.

    1. Annie Lampella
      Annie Lampella Apr 29, 2026

      That espresso and cocoa combo is going in my next test batch. On sweetener, try 1 cup instead of 1 1/3.

  13. M
    Megan Apr 15, 2026

    Two batches in two weeks for meal prep and the thing I keep noticing is how this stays moist all the way through day four. Most keto cakes I make are great day one and pretty much done by day three, but the sauerkraut genuinely changes that. I slice it right after cooling, wrap each portion individually, and pull them through the week. The one thing I'd flag is keeping the frosted edges covered tightly, it softens if you're not careful, but the cake itself holds up.

    1. Annie Lampella
      Annie Lampella Apr 16, 2026

      Day four is the real test and this one holds up. I press the wrap right against the frosting on the cut sides to slow that down - leaves a mess on the plastic but the edges stay firmer longer.

  14. T
    Tara Clark Apr 12, 2026

    I added about a tablespoon of espresso powder to the batter because I do that with basically every chocolate cake I make, and the cocoa flavor came through so much deeper than I expected. The sauerkraut was already doing its moisture thing but the espresso pulled something out of the cocoa that made this taste more like a real bakery chocolate cake than anything I've made on keto. Made it for my birthday two weeks ago and I'm genuinely still thinking about the texture. Slices held together clean, which I was not expecting from an almond flour cake. Trying it next time with a cream cheese frosting instead to see if that brings out more of the tanginess from the sauerkraut.

    1. Annie Lampella
      Annie Lampella Apr 17, 2026

      Cream cheese against the sauerkraut tang is going to be something. And I've been putting off the espresso test but not anymore.

  15. H
    Hannah Apr 9, 2026

    Brought this to my sister's birthday dinner last weekend and didn't say a word about the sauerkraut until after. My brother-in-law, who normally picks at a piece of cake and leaves half on his plate, went back for a second slice and said it tasted like it came from a real bakery. I told them what was in it after and you could watch everyone mentally replay their bite. The moisture is something else, way different from other almond flour cakes I've made.

    1. Annie Lampella
      Annie Lampella Apr 10, 2026

      That mental replay is everything. Your brother-in-law going back for seconds when he normally leaves half - that's exactly what I wanted. The sauerkraut just holds moisture in a way almond flour can't touch.

Leave a Review

Rating

Get weekly keto recipes from Annie.

Join the list and get new recipes delivered to your inbox every week.