Most chocolate raspberry cupcakes taste like artificial syrup or turn the cake soggy. This recipe sidesteps both problems by using freeze-dried raspberries in the buttercream and preserves in the ganache, so every bite tastes like real fruit without watering down the crumb.
The key is treating the raspberries as a dry ingredient and a concentrated wet ingredient separately, then hiding a spoonful of that stable ganache inside each cake. It’s a small shift that makes these chocolate raspberry cupcakes taste like you spent a lot more time than you actually did.
I once filled the cavities too generously with the raspberry ganache, and by the next morning the cupcakes were a sad, soggy mess. The centers had completely collapsed.
Extra yolk, extra tender crumb
One whole egg plus one yolk is a classic trick. The yolk adds fat and emulsifiers without the extra white, which would add too much moisture and structure. That extra fat coats flour proteins, keeping gluten formation in check.
The result is a cupcake that’s tender and rich, not heavy or dense. You taste it in the first bite, a soft, silky crumb that holds the chocolate flavor well. It’s a simple swap that makes a noticeable difference.
Sour cream and milk for moisture and lift
Both dairy ingredients are at room temperature so they blend into the creamed butter and sugar without seizing. Sour cream brings acidity and fat: the acidity reacts with baking soda for a good rise, and the fat tenderizes the crumb further.
Milk provides the liquid to hydrate the flour and dissolve the cocoa and sugar. Together they create a batter that bakes up moist with a fine, even crumb.
You can see the cupcakes dome nicely without cracking.
Why preserves, not fresh fruit, for the ganache filling
Raspberry preserves are concentrated, sweet, and naturally high in pectin. That pectin thickens the ganache so it stays pipeable and stable inside the cupcake. Fresh raspberries would release water as they cook into the hot cream, thinning the ganache and making the cupcake soggy.
The preserves also blend seamlessly, no seeds or pulp to clog your piping tip. Now I always let the ganache cool and thicken to a pipeable consistency, then fill only to the top of the cavity, no more than a teaspoon each. The filling stays put.
Freeze-dried raspberries: flavor without dilution
Grind freeze-dried raspberries into a fine powder for intense berry flavor and a natural pink tint. Using only preserves would add too much liquid, making the buttercream soft and prone to sliding off the cupcake.
The powder absorbs some moisture, keeping the frosting stiff enough to pipe a tall swirl. It also brings a slight tartness that cuts the sweetness of the powdered sugar. You get a clean raspberry taste with every bite, not watered down.

Prep: 45 min · Cook: 18 min · Total: 1 hr 3 min · Servings: 12
Ingredient notes for chocolate raspberry cupcakes
Dutch process cocoa powder: Use Dutch process for a deeper, smoother chocolate flavor; natural cocoa will work but tastes more acidic.
Freeze-dried raspberries: Grind them to a fine powder; the powder adds intense flavor and color without extra liquid.
Raspberry preserves: Stick with preserves, not jam or fresh fruit; the pectin in preserves keeps the ganache stable.
Semi-sweet chocolate: Use a quality bar, not chips; chips contain stabilizers that can make the ganache grainy.
Build a moist, tender crumb that holds the filling
Cream butter and sugar until fluffy
Beat softened butter with sugar on high for 1 to 2 minutes. You want a light, pale, fluffy mixture, it should look like thick, soft frosting. If it’s still grainy or yellow, keep beating.
Add eggs and vanilla; beat until light and airy
Add egg, yolk, and vanilla, then beat on medium for 1 to 2 minutes. The batter should increase in volume and look pale and airy, almost like a mousse. Stop when it’s smooth and doubled in volume.
Mix in milk and sour cream on low
Pour in milk and sour cream; mix on low until just combined. The batter may look a little curdled at first, that’s fine. It will come together once you add the dry ingredients.
Fold in dry ingredients until just combined
Add sifted dry mixture all at once, then mix on low until no streaks of flour remain. A few small lumps are okay; overmixing makes tough cupcakes. Scrape the bowl once if needed.
Fill liners to ¾ full; bake until tester comes out clean
Divide batter evenly, each liner should be about ¾ full. Bake 17 to 20 minutes, rotating halfway. The tops should spring back when pressed, and a toothpick inserted in the center should come out with a few moist crumbs, not wet batter.
Cool in pan 10 minutes, then on rack
Let cupcakes rest in the pan on a wire rack for 10 minutes. Then transfer them directly onto the rack to cool completely before filling. If you skip this, the bottoms will steam and get soggy.
Make raspberry ganache: steep preserves into cream
Heat cream until steaming and just about to bubble. Pour over chopped chocolate, let sit 2 minutes, then stir until smooth.
Add preserves; stir until fully incorporated. The ganache should be thick but still pourable, if too thin, let it cool a few more minutes.
Beat buttercream until pale and fluffy
Beat softened butter with salt on high for 5 minutes. It should become very pale, almost white, and look billowy. Then add powdered sugar and beat on low until combined, don’t skip the full 5-minute creaming or the frosting won’t hold its shape.
Add crushed freeze-dried raspberries and preserves
Crush freeze-dried raspberries to a fine powder in a baggie. Add powder, remaining preserves, and vanilla to the butter mixture. Beat on low, then on medium-high until light and fluffy.
The color should turn a soft pink and the flavor should be tart-sweet.
Fill cupcakes with ganache, pipe buttercream
Use a corer to remove a small cylinder from the center of each cooled cupcake. Spoon or pipe ganache into the hole until level with the top, don’t overfill. Then pipe a generous swirl of buttercream over the top.
Garnish with a fresh raspberry.

Chocolate Raspberry Cupcakes
Ingredients
For the Chocolate Cupcakes
- 1 cup all-purpose flour 125 g, spooned and leveled
- 1/4 cup Dutch process cocoa powder 25 g, plus 1 tbsp
- 1/2 tsp baking powder
- 1/2 tsp baking soda
- 1/4 tsp salt
- 1 tsp espresso powder optional
- 1/4 cup unsalted butter 56 g, softened
- 3/4 cup granulated white sugar 150 g
- 1 large egg at room temperature
- 1 large egg yolk at room temperature
- 1 tsp vanilla extract
- 1/2 cup whole milk 120 ml, at room temperature
- 1/4 cup sour cream 61 g, at room temperature
For the Raspberry Chocolate Ganache
- 4 oz semi-sweet chocolate 113 g, chopped
- 1/4 cup heavy cream 90 ml, plus 2 tbsp
- 1/4 cup raspberry preserves 85 g
For the Raspberry Buttercream
- 3/4 cup unsalted butter 168 g, softened
- salt pinch
- 1 1/2 cups powdered sugar 195 g
- 1/2 cup freeze-dried raspberries 16 g, measured then ground
- 1 tsp vanilla extract
- 1/4 cup raspberry preserves 85 g
Assembling the Cupcakes
- 12 fresh raspberries for decoration
Instructions
For the Chocolate Cupcakes
Preheat Oven and Prep Pan:
Set oven to 350°F (175°C). Place liners in a 12-cup muffin pan.Sift Dry Ingredients:
In a small bowl, sift flour, cocoa powder, baking powder, baking soda, salt, and espresso powder if using. Reserve.Cream Butter and Sugar:
In a large bowl, beat sugar and softened butter with an electric mixer on high until fluffy, 1-2 minutes. A stand mixer with paddle attachment also works.Beat in Eggs and Vanilla:
Add egg, egg yolk, and vanilla; beat on medium until light and airy, about 1-2 minutes.Mix in Milk and Sour Cream:
On low speed, mix in milk and sour cream.Combine Wet and Dry Mixtures:
Add dry mixture to wet mixture; blend on low just until incorporated.Fill Liners and Bake:
Fill each liner to 3/4 capacity. Bake 17-20 minutes, until a toothpick inserted into the center emerges clean.Cool Cupcakes in Pan:
Cool in pan for 10 minutes, then move to a wire rack to cool fully.
For the Raspberry Chocolate Ganache
Warm Heavy Cream:
In a small saucepan over medium heat, warm heavy cream until steaming and nearly boiling.Make Chocolate Ganache:
Put chopped chocolate in a medium bowl. Pour hot cream over it; let sit 2 minutes, then stir until smooth.Add Raspberry Preserves:
Mix in 1/4 cup (85 g) raspberry preserves until uniform.Cool and Pipe Ganache:
Allow ganache to cool for 15 minutes, then transfer to a piping bag.
For the Raspberry Buttercream
Beat Butter and Salt:
In a large bowl, beat softened butter and salt with an electric mixer on high until smooth, pale, and fluffy, about 5 minutes.Add Powdered Sugar:
Add powdered sugar; mix on low until incorporated.Crush Freeze-Dried Raspberries:
Place freeze-dried raspberries in a bag and crush with a rolling pin to a fine powder.Make Raspberry Buttercream:
Add crushed raspberries, remaining 1/4 cup (85 g) raspberry preserves, and vanilla to the butter mixture. Mix on low to combine, then on medium-high until light and fluffy.Prepare Piping Bag:
Transfer frosting to a piping bag fitted with a decorative tip such as Wilton 1M.
Assembling the Cupcakes
Core Cupcakes and Fill:
Once cupcakes are fully cool, use a cupcake corer to extract a small center from each. Fill each cavity with raspberry chocolate ganache.Pipe Frosting and Garnish:
Pipe a generous swirl of raspberry buttercream onto each cupcake. Top with a fresh raspberry. Serve.

Storage and Serving
For the best texture, serve assembled cupcakes the day they are made. The buttercream is firm, the ganache filling stays put, and the crumb is tender. If you need to make ahead, bake the cupcakes up to 2 days in advance; store them unfilled and unfrosted in an airtight container at room temperature.
Make the ganache and buttercream up to 1 day ahead and refrigerate in separate airtight containers. Bring both to room temperature before filling and piping. Store fully assembled cupcakes in an airtight container at room temperature for up to 2 days, but if your kitchen is warm, refrigerate to keep the buttercream firm.
Refrigerated cupcakes should come to room temperature for 30 minutes before serving. The buttercream may soften slightly, but the texture will be close to fresh.
Freeze unfilled, unfrosted cupcakes for up to 3 months, wrapped individually in plastic and then foil. Thaw at room temperature, then fill and frost. The assembled cupcakes do not freeze well; the buttercream and fresh raspberry garnish lose their texture.
Tips
- When you core the cupcakes, save the removed cake crumbs and crumble them over the buttercream as a garnish instead of fresh raspberries for a more durable presentation.
- If your buttercream seems too soft after adding the freeze-dried raspberry powder, chill the bowl in the refrigerator for 5 to 10 minutes, then re-whip briefly before piping.
Swap the cocoa, adjust the leavening
Dutch process cocoa powder: Natural cocoa powder. Replace the 1/4 tsp baking soda with 1/2 tsp baking powder. Natural cocoa is more acidic, so it needs extra leavening to rise properly.
The crumb will be slightly less tender and the chocolate flavor a bit sharper.
Sour cream: Full-fat Greek yogurt. Use the same 1/4 cup.
Greek yogurt is thicker, so the batter may be stiffer, add a splash of milk if needed. The fat content is similar, so the cupcakes stay moist, but the tang is milder.
All-purpose flour: Gluten-free 1-to-1 blend. Use the same 1 cup. The texture will be more crumbly and less tender.
Avoid overmixing, as gluten-free batters can turn gummy. The rise may be slightly less, so fill liners to 3/4 as usual.
Freeze-dried raspberries: More raspberry preserves. Start with same amount (1/4 cup) and add more after tasting.
The preserves add extra sugar and moisture, so the buttercream will be softer, chill it before piping if needed. The color will be less bright.

Frequently Asked Questions
Can I make these cupcakes a day ahead?
Yes, but only the components, not the assembled cupcakes. Bake the cupcakes up to 2 days ahead and store them unfilled and unfrosted in an airtight container at room temperature.
Make the ganache and buttercream up to 1 day ahead and refrigerate in separate airtight containers. Bring everything to room temperature before filling and piping. Assemble the day you serve for the best texture.
Why did my buttercream turn out runny?
Most likely the butter wasn’t creamed long enough. Beat the softened butter and salt on high for a full 5 minutes until it’s very pale and fluffy, if it’s still yellow and dense, it won’t hold the other ingredients.
Another possibility: the preserves added too much liquid. The recipe uses freeze-dried raspberry powder to keep the frosting stiff; if you added extra preserves, the buttercream will soften. Chill it for 15 minutes, then re-whip.
What’s the difference between this recipe and a standard chocolate cupcake?
This recipe uses one whole egg plus one yolk instead of two whole eggs. The extra yolk adds fat and emulsifiers without the extra egg white, which would add too much moisture and structure.
That makes the crumb tender and rich, not heavy. It also uses sour cream for acidity and tenderness, plus Dutch process cocoa for a deeper, smoother chocolate flavor.
