Easy Midnight Chocolate Raspberry Cake with Ganache Frosting
In this article
This chocolate raspberry cake is a quick, indulgent treat that feels luxurious even when whipped up late at night. The rich cocoa base pairs with bright raspberry puree, while a glossy ganache frosting adds a silky finish that makes every bite feel like a celebration.
Ingredients
- 1 ½ cups (190 g) all‑purpose flour
- ¾ cup (75 g) unsweetened cocoa powder
- 1 ½ teaspoons baking powder
- ½ teaspoon baking soda
- ¼ teaspoon salt
- 1 cup (200 g) granulated sugar
- ½ cup (100 g) packed light brown sugar
- 2 large eggs, room temperature
- ¾ cup (180 ml) buttermilk, room temperature
- ½ cup (120 ml) vegetable oil
- 2 teaspoons vanilla extract
- ½ cup (120 ml) hot water
- 1 cup (150 g) fresh raspberries, plus extra for garnish
- ¼ cup (60 ml) raspberry jam
- 1 cup (240 ml) heavy cream
- 8 ounces (225 g) semi‑sweet chocolate, finely chopped
- ¼ teaspoon kosher salt for ganache
Instructions
- Preheat your oven to 350°F (175°C). Grease and line the bottom of a 9‑inch (23 cm) round cake pan with parchment paper; this ensures the cake releases cleanly.
- In a medium bowl whisk together the flour, cocoa powder, baking powder, baking soda, and ¼ teaspoon salt. Whisking prevents lumps and distributes leavening evenly.
- In a large bowl combine the granulated sugar, brown sugar, and oil. Beat on medium speed for about 2 minutes until the mixture looks glossy and slightly lighter in color.
- Add the eggs one at a time, beating well after each addition. Then stir in the vanilla extract.
- Mix the buttermilk into the dry‑ingredient bowl to create a smooth batter. Pour this into the wet mixture and beat on low speed just until incorporated; over‑mixing can develop gluten and make the cake dense.
- Gradually pour the hot water into the batter while the mixer runs on low. The hot water intensifies the chocolate flavor and creates a tender crumb. The batter will be thin—that's normal.
- Fold in the fresh raspberries gently with a rubber spatula. The berries should be evenly distributed without being crushed.
- Transfer the batter to the prepared pan, smoothing the top with the spatula. Bake for 30‑35 minutes, or until a toothpick inserted into the center comes out with a few moist crumbs but no wet batter.
- While the cake bakes, prepare the raspberry swirl: warm the raspberry jam in a small saucepan over low heat until fluid, then set aside to cool slightly.
- When the cake is done, let it cool in the pan for 10 minutes, then turn it out onto a wire rack. While still warm, drizzle the jam over the top and use a skewer to swirl it through the surface, creating a marbled effect.
- To make the ganache, heat the heavy cream in a saucepan just until it begins to simmer. Remove from heat and add the chopped chocolate, letting it sit for 2 minutes, then stir until smooth. Stir in the ¼ teaspoon kosher salt for depth of flavor.
- Allow the ganache to cool for about 5‑7 minutes—still pourable but not runny—then pour it over the cooled cake, letting it drip down the sides. Let the ganache set for 15 minutes before slicing.
Tips
- Substitutions: If you lack buttermilk, mix ¾ cup milk with 1 tablespoon lemon juice and let sit 5 minutes. For a dairy‑free version, replace heavy cream with coconut cream and use a vegan chocolate bar.
- Even raspberries: Toss the fresh raspberries in a tablespoon of flour before folding them in. The flour coats the berries and prevents them from sinking to the bottom.
- Ganache texture: For a firmer frosting, chill the ganache for 10 minutes and then whisk it to a glossy spreadable consistency. For a glaze, use it while still warm.
- Safety: Ensure the cake reaches an internal temperature of at least 190°F (88°C) to guarantee the eggs are fully cooked. Use a food‑grade thermometer inserted into the center.
Serving Suggestions
Serve each slice with a dollop of lightly sweetened whipped cream and a few fresh raspberries for extra color. Pair the cake with a glass of chilled dessert wine, a cold brew coffee, or a simple glass of milk for a comforting midnight snack.
Variations
Swap the raspberry jam for apricot or cherry preserves to change the fruit note. Add ¼ cup toasted hazelnuts to the batter for crunch, or fold in 2 tablespoons espresso powder for a mocha twist. For a festive look, dust the top with cocoa powder and edible gold leaf.
Storage and Reheating
Store the cake in an airtight container at room temperature for up to 2 days. For longer storage, wrap tightly in plastic wrap and refrigerate; it will keep 5‑7 days. To freeze, wrap the whole cake (without ganache) in foil and then a freezer bag for up to 2 months. Thaw overnight in the fridge, then let it sit at room temperature for 30 minutes before adding fresh ganache.
Frequently Asked Questions
Can I use frozen raspberries instead of fresh?
Yes. Thaw frozen raspberries and pat them dry with paper towels before folding them into the batter. This prevents excess moisture from making the crumb soggy.
Why does the batter look thin? Will the cake be dense?
The hot water creates a thin batter, which is normal for chocolate cakes. The steam generated during baking lifts the batter, resulting in a light, tender crumb rather than a dense texture.
How do I prevent the ganache from cracking as it sets?
Make sure the ganache is not too hot when you pour it; a temperature around 120°F (49°C) is ideal. Also, avoid chilling the cake before adding ganache, as a cold surface can cause the chocolate to seize.
Is it safe to eat the cake the same night I bake it?
Absolutely, as long as the internal temperature reaches 190°F (88°C) and the cake has cooled to room temperature before frosting. Consume within 24‑48 hours for optimal flavor and texture.
Can I replace the ganache with buttercream?
You can, but buttercream will change the texture from glossy to fluffy. Use a chocolate‑raspberry buttercream made with softened butter, powdered sugar, cocoa, raspberry puree, and a splash of milk for a complementary alternative.