Keto Sauerkraut Chocolate Cake

Annie Lampella @ Ketofocus

By Annie Lampella, Pharm.D.

Published April 10, 2023 • Updated March 14, 2026

Reader Rating
4.3 Stars (4 Reviews)

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

I've tested a lot of low carb cakes, and this one stumps everyone. The secret is sauerkraut: it keeps the cake incredibly moist and adds a subtle tanginess that balances the rich cocoa.

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
639K+ subscribers
Discover More Keto Recipes on Our Channel

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

Recipe
Print Pin

Keto Sauerkraut Chocolate Cake

4.3 (4) Prep 20m Cook 35m Total 55m 12 servings

Keto Sauerkraut Cake Ingredients

Sugar Free Chocolate Buttercream Frosting Ingredients

Step by Step Instructions

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
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
145 Mins
Keto Almond Flour Chocolate Chip Cookies
4.8 Stars (40 Reviews)

I accidentally invented these while making butter bars, and they turned out to be the chewiest almond flour chocolate chip cookies I've ever baked....

See the Recipe
holding a spoonful of fluffy jello dessert over a bowl of pink creamy pudding
5 Mins
Jello Whip
4.8 Stars (6 Reviews)

Jello whip is a fluffy, 3-ingredient keto dessert I make when I want something sweet in under 5 minutes. Whipped cream cheese, heavy cream, and sugar...

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.8 Stars (33 Reviews)

Almond flour and coconut flour together create a keto chocolate chip cookie that's close to Toll House. 1.2g net carbs per cookie. Crispy edges, soft...

See the Recipe
creamy chocolate mousse in a small dish topped with sprinkles and strawberries
3 Mins
Keto Chocolate Mousse
4.9 Stars (14 Reviews)

When a chocolate craving hits, this 3-ingredient mousse saves the day. No cooking, no eggs, and I can have it ready in under 10 minutes.

See the Recipe
A keto pretzel chocolate chip cookie broken open to show a soft center filled with melted chocolate chips and crunchy pretzel pieces.
20 Mins
Keto Pretzel Chocolate Chip Cookies
4.4 Stars (5 Reviews)

These thick, chewy keto pretzel chocolate chip cookies land at about 2g net carbs each. I skip chill time so the pretzel pieces stay crunchy, and six...

See the Recipe
pretty fluted edges on a pie crust
65 Mins
Keto Pie Crust
4.8 Stars (28 Reviews)

I've been refining this recipe since I started keto in 2012. Almond flour, coconut flour, cold butter, and one secret ingredient create a flaky,...

See the Recipe
Reviews 16
4.3 Stars (4 Reviews)
  1. L
    Luz C. Mar 26, 2026

    Pressed the sauerkraut in a clean kitchen towel first to pull out some extra liquid. Crumb came out noticeably tighter, sliced cleaner too. Worth it if you're serving anyone who doesn't know the secret ingredient.

  2. J
    Jen Mar 15, 2026

    tried probably five other keto chocolate cake recipes and none of them came close on moisture. the sauerkraut really does something.

  3. Q
    Quinn Mar 8, 2026

    Made this for my partner without mentioning the sauerkraut. He has a strong opinion about fermented things that I won't get into. Ate the whole slice, said it was different from other keto cakes (good different), then I showed him the ingredient list. He stared at it for a while. The cocoa is strong enough that you get none of the tang until you know it's in there, and then you sort of start tasting it. Would tweak the frosting ratio next time, which is why I'm at four stars and not five.

    1. Annie Lampella
      Annie Lampella Mar 10, 2026

      The stare lands different when they've already finished the slice. And yeah, double the frosting batch. I always make extra.

  4. J
    Jasmine Mar 3, 2026

    Didn't squeeze out the sauerkraut nearly as well as I should have (beginner move, just patted it with a paper towel) and the cake came out SO moist it was almost brownie-dense in the center. Panicked when I cut into it thinking I'd underbaked it, but it was just... really good? Like that fudgy center everyone fights over. Trying it this way on purpose next time.

    1. Annie Lampella
      Annie Lampella Mar 6, 2026

      Ha, the extra liquid basically turned the sauerkraut into a moisture bomb. I'm actually going to try that on purpose now. Fudgy center is the best part of any chocolate cake.

  5. J
    Jordan Mar 2, 2026

    My grandmother made sauerkraut cake for church potlucks and I hadn't thought about it in years. Wasn't sure it would work with almond flour, but the texture came out closer to what I remembered than I expected. The cocoa cuts the tanginess just right. Not quite hers, so four stars, but it's the closest I've gotten.

    1. Annie Lampella
      Annie Lampella Mar 4, 2026

      Church potluck sauerkraut cake. That's a specific memory to chase. The sauerkraut is actually what saves almond flour from going dry.

  6. S
    Steve Feb 28, 2026

    Made this for a snow day weekend and didn't say a word about the sauerkraut. My husband kept asking what was in it after every bite, couldn't figure it out. Told him after and he literally put his fork down and stared at me. The texture on this is SO much moister than any keto cake I've made, I was not expecting that at all. Already wrote it into the weekend dessert rotation.

    1. Annie Lampella
      Annie Lampella Mar 1, 2026

      The fork down stare is the whole point of making this one. Nobody ever guesses sauerkraut.

  7. N
    Nicole Feb 22, 2026

    I bought everything for this but I'm nervous about the sauerkraut. Will you actually taste it, or does the cocoa cover it up? My husband is already skeptical and I don't want to convince him to try it only for it to taste like sauerkraut cake.

    1. Annie Lampella
      Annie Lampella Feb 22, 2026

      Can't taste it, especially if you drain the liquid off first. The cocoa takes over completely. My husband had no idea until I told him after.

  8. D
    deb May 2, 2023

    this recipe calls for oat "FIBER" not 'FLOUR' they are different- oat fiber is zero net carbs. Its all fiber. some people choose not to consume oat fiber on the keto diet (because its derived from a grain) but I just wanted to clarify that there is a difference- ;-)

    1. Annie Lampella
      Annie Lampella May 5, 2023

      Yeah, totally different things. Oat fiber is pure insoluble fiber with zero net carbs, which is why it works in this recipe. Oat flour would completely tank the macros.

  9. S
    Shalimar Lopresti Apr 27, 2023

    Can you use an alternative to the oat flour?

    1. Annie Lampella
      Annie Lampella Apr 30, 2023

      I haven't tried any substitutions for that yet. But if I were to try, I would sub out the oat fiber for coconut flour. Maybe try 1/4 cup.

Leave a Review