Skip to content
perfectrecipes Est. 2026 · Kitchen Journal
My favorites

Cake

Perfect Chocolate Raspberry Cake Recipe From Scratch

Learn this chocolate raspberry cake recipe with moist layers, cooked berry filling, raspberry buttercream, and dark chocolate ganache from scratch.

By perfectrecipes Updated October 8, 2026
Rate
Perfect Chocolate Raspberry Cake Recipe From Scratch

This chocolate raspberry cake recipe combines moist chocolate cake layers, a bright cooked raspberry filling, smooth raspberry buttercream, and a glossy dark chocolate ganache. Careful chilling keeps the layers stable while preserving a soft, tender crumb.

The cake serves 12 and takes about 45 minutes to prepare, 30 to 35 minutes to bake, and 90 minutes to cool and chill. The difficulty is moderate. You will need two 8-inch round pans, parchment paper, mixing bowls, a saucepan, a mixer, a cooling rack, and an offset spatula; a large spoon and butter knife can replace the last two tools.

Unlike a dense chocolate pound cake recipe or a single-pan chocolate bundt cake recipe, this celebration cake uses separate layers, filling, frosting, and ganache. The components require patience, but each one is straightforward and can be prepared in advance.

Why You’ll Love This Chocolate Raspberry Cake Recipe

  • Oil and buttermilk produce tender, moist chocolate cake layers.
  • The cooked filling has concentrated berry flavor without becoming runny.
  • Gram and cup measurements make the recipe easy to reproduce.
  • Each component can be prepared ahead for stress-free assembly.
  • Dark chocolate balances the sweetness of the berries and frosting.
  • The finished cake slices neatly once the filling, frosting, and ganache have set.

Ingredients

  • For the chocolate layers: 1 3/4 cups (220 g) all-purpose flour, 3/4 cup (65 g) unsweetened cocoa powder, 1 3/4 cups (350 g) granulated sugar, 1 1/2 teaspoons baking soda, 1 teaspoon baking powder, 1 teaspoon fine salt, 2 large eggs, 1 cup (240 ml) buttermilk, 1/2 cup (120 ml) neutral oil, 2 teaspoons vanilla extract, and 3/4 cup (180 ml) hot coffee or hot water.
  • For the raspberry filling: 3 cups (360 g) fresh or frozen raspberries, 1/3 cup (67 g) sugar, 1 tablespoon lemon juice, 2 tablespoons cornstarch, and 2 tablespoons water.
  • For the raspberry buttercream: 1 1/2 cups (340 g) softened unsalted butter, 5 cups (600 g) confectioners’ sugar, 1/3 cup (35 g) freeze-dried raspberry powder, 2 to 4 tablespoons heavy cream, 1 teaspoon vanilla, and 1/4 teaspoon salt.
  • For the ganache and garnish: 4 ounces (115 g) finely chopped dark chocolate, 1/2 cup (120 ml) heavy cream, fresh raspberries, and chocolate curls.
  • For serving: Lightly whipped cream or vanilla ice cream, if desired.
Chocolate raspberry cake recipe: ingredients for chocolate raspberry cake arranged in bowls on a clean light surface.

Choosing Cocoa, Chocolate, and Raspberries

Natural cocoa gives a lighter, fruitier result, while Dutch-process cocoa creates a darker flavor; use the type compatible with your leavening for predictable results. Buttermilk contributes acidity and tenderness, an approach also used in many classic celebration cakes, including this chocolate raspberry celebration cake reference.

Use a dark chocolate that you enjoy eating because its flavor remains prominent in the ganache. Finely chopping it helps the hot cream melt every piece evenly. Fresh and frozen raspberries both work in the filling, but fresh, dry, unblemished berries look best as a garnish.

Freeze-dried raspberry powder is important in this chocolate raspberry cake recipe because it adds concentrated flavor without loosening the buttercream. If you grind whole freeze-dried berries, sift the powder to remove seeds and larger pieces before mixing it into the frosting.

How to Make This Cake

  1. Prepare the pans: Heat the oven to 350°F (175°C). Grease two 8-inch round pans, line their bottoms with parchment, and lightly grease the parchment.
  2. Mix the batter: Whisk flour, cocoa, sugar, baking soda, baking powder, and salt. Add eggs, buttermilk, oil, and vanilla; mix until nearly smooth. Slowly whisk in hot coffee. Divide evenly between the pans, about 25 ounces (710 g) per pan.
  3. Bake: Bake for 30 to 35 minutes. The layers are done when their centers spring back lightly and a tester emerges with a few moist crumbs, not wet batter. Cool in the pans for 15 minutes, turn onto racks, and cool completely for about 60 minutes.
  4. Cook the filling: Combine raspberries, sugar, and lemon juice in a saucepan. Cook over medium heat for 5 minutes, crushing the fruit. Stir together cornstarch and water, add it, and simmer for 1 to 2 minutes until thick enough to coat a spoon. Frozen berries may need 2 to 4 extra minutes because they release more liquid. Strain while warm for a seedless filling, then cover and chill for at least 45 minutes.
  5. Make the buttercream: Beat butter for 3 minutes. Add confectioners’ sugar gradually, followed by raspberry powder, 2 tablespoons cream, vanilla, and salt. Beat for 3 more minutes, adding cream sparingly until spreadable. For less sweetness, add another pinch of salt rather than reducing the sugar substantially, since the sugar supplies structure.
  6. Make the ganache: Place chocolate in a bowl. Heat cream just until steaming, pour it over the chocolate, and wait 3 minutes. Stir slowly from the center until glossy, then cool for 10 to 15 minutes.

How to Tell When Each Component Is Ready

The batter for this chocolate raspberry cake recipe will be thinner than the batter used in a typical chocolate pound cake recipe. That is expected after the hot coffee is added. Stop mixing once the batter looks even; prolonged beating can make the baked layers less tender.

The filling should leave a distinct path when a spoon is drawn across the bottom of the saucepan. It will become firmer as it chills. The buttercream should hold a soft peak without looking wet, while the ganache should flow slowly from a spoon rather than pouring like hot cream.

How to Assemble the Chocolate Raspberry Cake Recipe

  1. Level pronounced domes with a serrated knife. Put one layer on a plate and pipe a thick buttercream dam around its edge.
  2. Spread 3/4 cup chilled raspberry filling inside the dam, stopping about 1/2 inch from the cake’s edge. Do not overfill.
  3. Add the second layer. Apply a thin crumb coat, chill for 20 minutes, then cover the cake with the remaining buttercream.
  4. Chill for another 30 minutes. Drip the cooled, pourable ganache around the edge and spread it over the top. If it runs like water, let it cool longer.
  5. Garnish with fresh raspberries and chocolate curls. Chill for 20 minutes to set, then let the cake stand at room temperature for 30 minutes before slicing.

Set the first layer cut side up and the second layer cut side down when possible. This arrangement places the flatter pan-bottom surface on top and makes the chocolate raspberry cake recipe easier to frost evenly. Check the cake from several angles after adding the second layer so you can correct any leaning before applying the crumb coat.

Expert Tips for the Best Results

  • Measure accurately: A kitchen scale prevents excess flour and helps you divide the batter evenly. If using cups, loosen the flour, spoon it into the cup, and level it without packing.
  • Use room-temperature ingredients: Eggs and buttermilk blend more smoothly when they are not refrigerator-cold. This encourages an even crumb in the chocolate raspberry cake recipe.
  • Avoid sliding layers: Cool the cake and filling fully, pipe a firm frosting dam, and chill between assembly stages. A similar layered preparation can be compared with this chocolate raspberry cake method.
  • Prevent dry cake: Weigh the flour, avoid overmixing, and begin checking at 30 minutes. Dry edges usually indicate excess flour or overbaking.
  • Reduce doming: Use light-colored pans, divide the batter by weight, and wrap the pans with damp cake strips if available.
  • Control bleeding: Keep filling inside the buttercream dam and use freeze-dried powder—not purée—in the outer frosting.
  • Keep crumbs out: Chill the crumb coat before adding the final frosting layer. Wipe the spatula before returning it to the bowl of clean buttercream.
  • Repair split ganache: Stir in warm cream one teaspoon at a time. If it is greasy, whisk gently rather than beating in air. Additional component and assembly ideas appear in this chocolate raspberry cake technique guide.

Timing the Work Efficiently

Begin with the filling because it needs a full chill. Bake the layers while the filling cools, then prepare the buttercream after the cakes reach room temperature. Make the ganache only after the frosted cake is chilling so it remains fluid enough to drip.

If you are serving the chocolate raspberry cake recipe for a gathering, allow extra time for every component to cool. Trying to speed the process with warm cake or filling is the most common reason layers shift and buttercream softens.

Variations and Substitutions

Dairy-Free Variation

For a dairy-free cake, use unsweetened soy milk mixed with 1 tablespoon vinegar instead of buttermilk, plant-based butter in the frosting, and full-fat coconut milk in the ganache. Check every chocolate label for milk ingredients.

Gluten-Free Variation

For a gluten-free version, replace the flour with 220 g of a cup-for-cup blend containing xanthan gum and rest the batter for 15 minutes before baking. For another tested approach, see this gluten free chocolate cake recipe.

A gluten free chocolate cake recipe may absorb liquid differently depending on the flour blend. Check the layers at the stated time and rely on the spring-back and moist-crumb tests rather than extending the bake automatically.

Pan and Presentation Options

Two 9-inch pans produce thinner layers and usually bake in 25 to 30 minutes. For a half batch, use one 8-inch pan and halve the cooled layer horizontally. For a different chocolate format, browse these easy chocolate cake mix recipes.

A chocolate bundt cake recipe is useful when you want an unfussy single-pan dessert, but the deep center and curved shape require different baking and decorating methods. Keep the two-pan format here when you want distinct raspberry filling and buttercream layers.

A chocolate pound cake recipe generally has a tighter, richer crumb and is often served without a filling. This cake stays lighter and provides stronger contrast between tender chocolate layers, tart fruit, and creamy frosting.

Flavor Variations

Add fresh raspberries only as a garnish, not inside the filling layer, because whole berries can create gaps and unstable slices. For a darker finish, choose bittersweet chocolate for the ganache. For a softer chocolate note, use semisweet chocolate without changing the quantity.

Related baking ideas include a baker’s german chocolate cake recipe, chocolate bundt cake recipe, and chocolate pound cake recipe. The classic baker’s German chocolate cake recipe is especially useful when you want a rich coconut-pecan alternative.

A baker’s german chocolate cake recipe emphasizes sweet chocolate and coconut-pecan filling, whereas this chocolate raspberry cake recipe pairs cocoa layers with tart berries. Both suit celebrations, but their flavors and filling textures are distinctly different.

High-Altitude Adjustments

At elevations above 3,500 feet, reduce sugar by 2 tablespoons, reduce baking soda to 1 1/4 teaspoons, add 2 tablespoons buttermilk, and increase the oven to 365°F (185°C); begin checking at 27 minutes. Local conditions differ, so adjust one variable at a time.

Slice of chocolate raspberry cake with ganache, fresh raspberry, chocolate curl and whipped cream.

Make-Ahead Instructions

You can spread the work for this chocolate raspberry cake recipe over two days. On the first day, bake and wrap the cooled layers, cook the filling, and prepare the buttercream. On the second day, bring the frosting to a workable temperature, assemble the cake, chill it, and add the ganache and garnish.

Keep every component covered so it does not absorb refrigerator odors. Place parchment or plastic wrap directly against the surface of the chilled filling to prevent a skin. Store the cake layers flat so they retain their shape.

The completed chocolate raspberry cake recipe can be assembled one day before serving. Wait to add fresh raspberries until shortly before presentation because refrigerated berries can release moisture onto the ganache or frosting.

How to Store and Reheat

Store the assembled cake covered in the refrigerator for up to 4 days. Serve it cool but not icy; 30 minutes at room temperature restores the frosting’s texture. Reheating is unnecessary and can melt the buttercream.

Make the layers up to 2 days ahead, wrap them tightly, and refrigerate. The filling keeps for 5 days and the buttercream for 3 days refrigerated; bring the frosting to room temperature and beat it briefly before using.

Freeze unfrosted layers for up to 2 months or individual finished slices for up to 1 month. Wrap well, thaw overnight in the refrigerator, and unwrap after thawing to limit condensation. Because the cake contains dairy and eggs, do not leave it at room temperature for more than 2 hours.

For individual slices, insert a small sheet of parchment between the cut cake and its wrapping to protect the frosting. Thawing slowly helps the chocolate raspberry cake recipe retain its moist crumb and prevents excess condensation from collecting on the ganache.

Troubleshooting This Chocolate Raspberry Cake Recipe

Why Did the Cake Sink in the Center?

A sunken center can result from opening the oven too early, underbaking, or using leavening that has lost its strength. Keep the oven door closed until near the end of the baking window and confirm doneness in the center before removing the pans.

Why Is the Cake Dry or Crumbly?

Too much flour, an inaccurate oven, or extra baking time can dry the layers. Weighing 220 g of flour is the most reliable option. Remove the cakes when the tester carries a few moist crumbs rather than waiting for it to look completely dry.

Why Are the Layers Sliding?

Warm filling, weak buttercream, or too much filling can cause movement. Use exactly 3/4 cup chilled filling, keep it within the dam, and follow every chilling period. If the kitchen is warm, return the cake to the refrigerator whenever the frosting begins to soften.

Why Is the Ganache Too Thick or Too Thin?

If the ganache becomes too thick to drip, warm it gently and stir until fluid. If it is too thin, leave it at room temperature for several more minutes. Test one drip on the back of the chilled cake before decorating the visible side.

Why Does the Buttercream Look Grainy?

Unsifted confectioners’ sugar or pieces of freeze-dried fruit can create a coarse finish. Sift both ingredients and beat the butter thoroughly before adding them. If the buttercream is too firm, add heavy cream sparingly within the stated quantity.

Serving Ideas

For clean slices, dip a long sharp knife into hot water, dry it, and cut straight down. Wipe and repeat between servings. This method reveals the layers of the chocolate raspberry cake recipe without dragging pink filling through the dark crumb.

Lightly whipped cream softens the richness without introducing much additional sweetness. Vanilla ice cream provides a cooler, creamier contrast. Fresh raspberries echo the filling, while a few chocolate curls make each plate feel finished.

Serve modest slices because the buttercream and ganache are rich. Coffee, espresso, or unsweetened black tea balances the dessert well. For a celebration display, place the cake on a simple light-colored stand so the pink frosting and dark ganache remain the focus.

If your guests prefer a simpler chocolate dessert, a chocolate bundt cake recipe or chocolate pound cake recipe may be easier to transport. Choose this layered cake when presentation and the combination of chocolate and tart raspberry are the priority.

Nutrition and Allergen Information

One of 12 slices provides approximately 690 calories, with values varying by brands and garnish amounts. The cake contains wheat, eggs, and milk and may contain soy depending on the chocolate. Dairy-free and gluten-free substitutions change both allergen status and nutrition, so verify every package when cooking for an allergy.

Chocolate raspberry cake with berry filling, pink buttercream, dark ganache, raspberries and chocolate curls.

Frequently Asked Questions

Can I use frozen raspberries?

Yes. Add them directly to the saucepan without thawing, cook the filling 2 to 4 minutes longer, and confirm that it is thick before chilling. Frozen berries are best reserved for the filling; use fresh fruit for decorating.

Why is my raspberry filling runny?

It may not have simmered long enough after the cornstarch was added, or it may still be warm. Cook until it heavily coats a spoon, then chill completely. Do not add extra filling between the layers.

Can I make this chocolate raspberry cake recipe ahead?

Yes. Prepare every component one day ahead, refrigerate separately, and assemble the next day. You can also finish the cake a day before serving; add fresh garnish shortly before presentation.

Can I turn this into a gluten free chocolate cake recipe?

Yes. Use 220 g of a cup-for-cup gluten-free flour blend that contains xanthan gum, then rest the batter for 15 minutes before baking. Keep all other quantities and the stated doneness tests the same.

Is this the same as a baker’s german chocolate cake recipe?

No. A baker’s german chocolate cake recipe traditionally features a coconut-pecan filling and a different chocolate profile. This cake uses raspberry filling, raspberry buttercream, cocoa layers, and dark chocolate ganache.

Can I bake this as a chocolate bundt cake recipe?

The batter was developed for two 8-inch round pans, and the filling and frosting are designed for layers. A dedicated chocolate bundt cake recipe is the more reliable choice because a Bundt pan changes the baking time, release method, and decoration.

How is this different from a chocolate pound cake recipe?

A chocolate pound cake recipe usually produces a denser, buttery loaf or tube cake. This recipe uses oil and buttermilk for a softer crumb and includes a cooked fruit filling, buttercream, and ganache.

Can I leave out the coffee?

Yes. Use the same quantity of hot water. Coffee deepens the cocoa flavor but does not make the finished cake taste strongly of coffee, so either liquid works without changing the texture or baking time.

Can I use raspberry purée in the buttercream?

Freeze-dried raspberry powder is preferable because it supplies strong flavor without excess liquid. Purée can soften the frosting, weaken the filling dam, and make the layers less stable.

What if I do not own a stand mixer?

Use a handheld mixer for the buttercream and a whisk for the cake batter. If mixing frosting by hand, soften the butter thoroughly and add the confectioners’ sugar in small portions.

How do I transport the finished cake?

Chill the completed cake until firm, place it in a fitted cake carrier, and keep it level on a nonslip mat. Avoid a warm trunk or direct sunlight. Add delicate fresh raspberry garnish after arrival when practical.

Printable Recipe Card

Yield: 12 slices. Prep: 45 minutes. Bake: 30 to 35 minutes. Cooling and chilling: About 90 minutes. Oven: 350°F (175°C).

Method: Prepare two lined 8-inch pans. Whisk the dry ingredients, add the eggs, buttermilk, oil, and vanilla, then blend in hot coffee. Bake, cool completely, and level as needed. Cook and chill the raspberry filling; whip the raspberry buttercream; fill the cake inside a frosting dam; crumb-coat, frost, and chill. Finish with cooled ganache, raspberries, and chocolate curls.

A Celebration Cake Worth the Effort

The finished chocolate raspberry cake recipe is deeply chocolatey without overwhelming the fruit, and its structured filling makes clean slices achievable. Serve it with lightly whipped cream or vanilla ice cream for a balanced celebration dessert.

When you want coconut-pecan richness, choose a baker’s german chocolate cake recipe. For simpler shapes, consider a chocolate bundt cake recipe or chocolate pound cake recipe. For guests avoiding wheat, a gluten free chocolate cake recipe offers a practical alternative. For striking layers and bright berry flavor, this chocolate raspberry cake recipe remains the standout choice.

0
0 out of 5 stars (based on 0 reviews)
Excellent
Very good
Average
Poor
Terrible

There are no reviews yet. Be the first one to write one.

Reviews

Reader reviews are managed separately (outside this build).