Dark Chocolate Raspberry Filled Cupcakes Recipe
In this article
Dark chocolate raspberry filled cupcakes deliver a moist, fudgy crumb with a bright, tart raspberry center and a smooth dark chocolate ganache topping. They suit weekend baking or small gatherings, and can be made a day ahead—store unfilled baked shells at room temperature, fill and top just before serving. Serve with coffee, espresso drinks, or a glass of milk.
What These Cupcakes Are
Each cupcake has a dense, chocolate-rich cake base, a warm raspberry compote center, and a cool, glossy ganache finish. The raspberry filling is cooked down to avoid excess moisture that could make the cake soggy, while the ganache sets firm at room temperature but melts on the tongue. This recipe yields 12 standard cupcakes, with enough filling for a generous pocket and enough ganache for a full top coat.
Ingredients
- 1 cup (125 g) all-purpose flour
- ½ cup (40 g) unsweetened cocoa powder, natural or Dutch-processed
- ¾ cup (150 g) granulated sugar
- ¼ cup (50 g) packed light brown sugar
- 1 tsp baking soda
- ½ tsp salt
- ½ cup (120 ml) vegetable oil (or melted coconut oil)
- ½ cup (120 ml) brewed hot coffee (or hot water)
- ½ cup (120 ml) buttermilk (or ½ cup milk + 1½ tbsp lemon juice, rested 5 min)
- 1 large egg, room temperature
- 1 tsp pure vanilla extract
- 6 oz (170 g) fresh or frozen raspberries
- 2 tbsp (25 g) granulated sugar (for filling)
- 1 tbsp (15 ml) lemon juice
- ½ cup (90 g) semi-sweet chocolate chips
- ½ cup (120 ml) heavy cream
Instructions
- Prep and preheat: Position oven rack in center. Preheat oven to 350°F (175°C). Line a 12-cup standard muffin tin with paper liners. Lightly grease the liners with nonstick spray.
- Make the raspberry filling: In a small saucepan, combine raspberries, 2 tbsp sugar, and lemon juice. Cook over medium heat, stirring often, until berries break down and mixture thickens (about 8–10 minutes). Transfer to a heatproof bowl and cool completely, about 30 minutes. Stir once cool—some seeds are fine; strain only if desired for a smoother texture.
- Make the cupcake batter: In a medium bowl, whisk flour, cocoa powder, granulated sugar, brown sugar, baking soda, and salt. In a separate bowl, whisk oil, hot coffee, buttermilk, egg, and vanilla until smooth. Add wet ingredients to dry ingredients and stir with a spatula until just combined—do not overmix. Batter will be thin.
- Fill muffin cups: Divide half the batter (about 6 tbsp each) into 12 liners. Spoon 1½ tsp cooled raspberry filling into the center of each, then top with remaining batter (about 1 tbsp more per cup), covering the filling completely. Tap tin gently on counter once or twice to settle batter and release air bubbles.
- Bake: Bake for 18–22 minutes, until tops are firm and a toothpick inserted near the center comes out with moist crumbs (not wet batter). Rotate pan halfway through for even baking. Cool in pan 10 minutes, then transfer cupcakes to a wire rack to cool completely before topping (at least 1 hour).
- Make the ganache: Place chocolate chips in a heatproof bowl. Heat heavy cream in a small saucepan until just simmering (small bubbles at edges). Pour over chocolate, wait 1 minute, then stir gently until smooth and glossy. Cool at room temperature, stirring occasionally, until thickened enough to coat the back of a spoon (about 20–25 minutes). Do not refrigerate—it will harden too much.
- Top cupcakes: Once ganache reaches spoon-coating consistency, spoon about 1 tbsp over each cupcake, spreading gently with the back of the spoon to form a smooth layer. Let set at room temperature 30–45 minutes before serving.
Serves 12 · Prep 45 min · Cook 25 min · Total 2 hr 10 min
Substitutions and Swaps
If buttermilk is unavailable, use ½ cup (120 ml) regular milk plus 1½ tbsp lemon juice or vinegar, stirred and rested 5 minutes before using. For the coffee, hot water works, but coffee enhances chocolate flavor without making cupcakes taste like coffee—do not omit it if you want deeper chocolate notes. Swap semi-sweet chocolate chips for dark chocolate (60–70% cacao); avoid milk chocolate as it can make ganache too soft. For a nut-free version, ensure all ingredients are certified nut-free—cocoa powder and chocolate chips sometimes share equipment with nuts. Use frozen raspberries in place of fresh (no thawing), adding ½ tsp extra lemon juice to compensate for lower acidity.
Equipment Notes
A 12-cup standard muffin tin is ideal—jumbo tins will require 25–30 minutes baking time and yield 9–10 cupcakes. Use a 1-ounce (30 ml) ice cream scoop or two tablespoons to portion batter evenly. A small squeeze bottle or piping bag with a tip cut to ¼ inch helps place filling precisely without puncturing the bottom of the liner. A digital instant-read thermometer is helpful for checking doneness; cupcakes are done at 200–205°F (93–96°C) internal temperature.
Storage and Reheating
Store unfilled, cooled cupcakes in an airtight container at room temperature up to 2 days. Once filled and topped with ganache, refrigerate in a single layer with parchment between layers (if stacking) for up to 4 days. Bring to room temperature 30 minutes before serving for best texture. Ganache may soften in warm rooms—chill 10 minutes to firm up if needed. Freeze unfilled cupcakes (wrapped tightly in plastic and foil) up to 2 months; thaw overnight in fridge, then bring to room temperature before filling and topping. Do not freeze filled cupcakes—raspberry filling separates and cake texture turns gummy.
What to Watch For
Overfilling the muffin cups can cause batter to overflow and seal the filling inside, leading to steam pockets or ruptured liners. Fill no more than ⅔ full with batter before adding filling. Underbaking leaves the center gummy and the ganache sink risk high—check with a toothpick near the base, not just the top. Raspberry filling must cool completely before adding to batter; warm filling will melt the batter and cause sinking. Ganache that is too hot will melt the cupcake top; wait until it coats the back of a spoon thickly but still flows slowly. If ganache seizes (becomes grainy), add 1 tsp warm heavy cream and stir until smooth.
Common Issues and Fixes
Soggy filling pockets: Caused by too much liquid in the compote or warm filling added to batter. Reduce compote until it holds a ridge when dragged with a spoon, and cool fully. Cake sinks around filling: Usually from underbaking or overmixing batter. Mix just until combined and bake until toothpick returns with moist crumbs. Ganache too runny: Chill ganache 5-minute intervals, stirring each time, until thickened. Ganache too thick: Warm gently in a microwave in 10-second bursts, stirring, or stir in ½ tsp warm cream at a time. Raw flour taste: Use heat-treated flour—spread flour on a baking sheet and bake at 350°F (175°C) for 5 minutes, cool completely before measuring and using.
Make-Ahead Tips
Bake and cool cupcakes 1 day ahead; store covered at room temperature. Make raspberry compote up to 3 days ahead—cool, cover, and refrigerate. Bring to room temperature before using. Prepare ganache up to 2 hours ahead; keep at room temperature, stirring every 20 minutes. For best texture, fill and top cupcakes no more than 2 hours before serving. If preparing for a party, fill and top half in the morning and the rest just before guests arrive to avoid condensation on the ganache.
Temperature Safety Notes
Refrigerate cupcakes with ganache within 2 hours of topping (1 hour if room temperature is above 90°F/32°C). Do not leave filled cupcakes out for extended periods—raspberry filling and dairy-based ganache are perishable. Reheat refrigerated cupcakes in a 300°F (150°C) oven for 8–10 minutes, or until warmed through; do not microwave as ganache may separate. Leftover cupcakes keep 4 days refrigerated; reheat to 165°F (74°C) internal temperature if serving to high-risk guests (pregnant, elderly, immunocompromised).