Jump to Recipe
There’s something different about a chocolate cake made with rye flour. The crumb is denser, slightly moist, and carries a faint nuttiness that plain cocoa powder alone can’t produce.
I first made this on a rainy Saturday when I had half a bag of dark rye flour left over from baking a dark rye bread pudding. I expected it to taste like a health compromise. It didn’t.
This snack cake is not fussy. No stand mixer, no layers, no ganache. You mix it in one bowl, pour it into a square pan, and it’s done in 30 minutes.
The rye doesn’t fight the chocolate. It quietly backs it up.

Why You’ll Love This Recipe
- One bowl, no mixer, minimal cleanup
- Rye flour adds real depth to the chocolate flavor
- Bakes in 30 minutes from start to finish
- Keeps moist for three days at room temperature
Ingredient Notes
- Dark rye flour: Dark rye gives the most pronounced nutty flavor and darkest crumb. Light rye works too but produces a milder result. Do not substitute with whole wheat – the flavor profile changes significantly.
- Dutch-process cocoa powder: Dutch-process is less acidic and pairs well with the rye’s earthiness. Natural cocoa works but gives a slightly sharper, more bitter edge.
- Strong brewed coffee: Hot coffee deepens the chocolate flavor without adding a coffee taste. Use hot water if you prefer, but coffee gives noticeably richer results.
- Neutral oil: Vegetable or sunflower oil keeps the cake moist for days, unlike butter which firms up when cold. Melted coconut oil works if you don’t mind a faint coconut note.
- Dark chocolate chips: Folded into the batter, they melt into pockets through the crumb. Use 60-70% cacao. Chopped dark chocolate bar works just as well.
- Sour cream: Adds tenderness and a very subtle tang that plays nicely against the rye. Full-fat plain yogurt is a reliable swap in equal amounts.

Rye Chocolate Snack Cake
Ingredients
Method
- Heat the oven to 175 C / 350 F. Grease an 8x8 inch square baking pan and line the bottom with parchment paper.
- Sift the dark rye flour and cocoa powder together into a large bowl. Add the sugar, baking soda, baking powder, and salt. Whisk until evenly combined.
- In a separate bowl or large measuring jug, whisk the hot coffee with the oil until combined, then add the sour cream, eggs, and vanilla extract. Whisk until smooth.
- Pour the wet ingredients into the dry ingredients. Fold together with a rubber spatula until just combined - stop as soon as no dry streaks remain.
- Toss the chocolate chips in 1 tsp of flour to lightly coat, then fold them into the batter.
- Pour the batter into the prepared pan and smooth the top evenly with the spatula.
- Bake for 28 to 32 minutes, until a toothpick inserted in the center comes out with a few moist crumbs but no wet batter.
- Let the cake cool in the pan for 15 minutes, then lift out using the parchment and transfer to a wire rack to cool completely before slicing into 9 squares.
Notes

Tips for Success
- Don’t overmix once you add the rye flour – fold until just combined to keep the crumb tender.
- Use a light-colored metal pan so you can judge browning without opening the oven repeatedly.
- Pour the hot coffee into the cocoa first and whisk until smooth before adding other wet ingredients.
- Test doneness with a toothpick at 28 minutes – a few moist crumbs clinging is ideal, wet batter means more time.
- Let the cake cool in the pan for 15 minutes before cutting so the crumb sets and slices cleanly.
Variations
- Add 1 tsp instant espresso powder to the batter for a stronger mocha edge alongside the rye.
- Stir in 50 g of toasted chopped walnuts for crunch that complements the nutty rye flour.
- Dust cooled cake with powdered sugar and a pinch of flaky sea salt instead of any glaze.
Storage and Reheating
Store the cooled cake covered at room temperature for up to 3 days. The rye flour actually helps it stay moist longer than a standard chocolate cake.
For longer storage, wrap individual slices in plastic wrap and refrigerate for up to 5 days. Let refrigerated slices sit at room temperature for 20 minutes before eating – cold dulls the chocolate notes.
This cake freezes well. Wrap slices tightly and freeze for up to 2 months. Thaw overnight in the refrigerator or for 1 hour at room temperature.
Serving Suggestions
Cut into squares and serve as-is. The crumb is moist enough that it needs nothing extra, though a light dusting of powdered cocoa right before serving looks sharp.
For a more substantial dessert, serve a warm slice with a spoonful of creme fraiche or a scoop of vanilla ice cream. The slight tang of the creme fraiche works particularly well against the rye, much like the creamy contrast in a layered rye crumb dessert.
This cake also pairs well with black coffee or a strong Assam tea in the afternoon. The rye and dark chocolate hold their own against bold drinks.

FAQ
Why did my rye chocolate cake turn out gummy in the middle?
Rye flour absorbs liquid more slowly than all-purpose, so the center can look underdone early. Give it the full 30 minutes and test with a toothpick – moist crumbs are fine, but wet batter means another 3-5 minutes. Avoid opening the oven before the 25-minute mark.
Can I use light rye flour instead of dark rye in this recipe?
Yes, light rye works and the cake will be a bit milder and slightly less dense. Dark rye has more of the bran included, which gives a nuttier, earthier bite that pairs better with the chocolate. Either version bakes the same way.
Can I freeze this rye chocolate snack cake before or after baking?
Freeze it after baking for best results. Wrap cooled slices individually in plastic wrap, then place in a freezer bag for up to 2 months. The texture holds well – just thaw at room temperature for about an hour.
What goes well with rye chocolate snack cake if I want to dress it up for guests?
A dollop of creme fraiche or lightly whipped coconut cream cuts through the richness nicely. A few fresh raspberries on the side add color and tartness that makes the dark chocolate flavor pop.
Is this rye chocolate cake dairy-free if I skip the sour cream?
It can be. Swap the sour cream for full-fat coconut yogurt in equal amounts, and use dairy-free chocolate chips. The oil-based batter is already dairy-free, so those two swaps are all you need.
How is this rye chocolate cake different from a regular chocolate cake?
The rye flour gives the crumb a denser texture and a faint earthy, nutty flavor that makes the chocolate taste more complex. A standard chocolate cake made with all-purpose flour is softer and more neutral in flavor by comparison.

