Ingredients
Equipment
Method
- Combine raspberries, sugar, and lemon juice in a medium saucepan over medium heat, breaking down the fruit with a spatula for 2 to 3 minutes until bubbling, then reduce to medium-low and cook for 5 to 6 more minutes until the compote coats the back of a spatula and moves slowly when the pan is tilted — do not overcook. Transfer to a bowl, press plastic wrap directly on the surface, and cool completely for at least 30 minutes.
- Position oven rack in the center, preheat to 350°F (175°C), and line a standard 12-cup aluminum muffin tin with cupcake liners, then spray the top surface of the pan lightly with non-stick spray.
- Whisk flour, Dutch-process cocoa, both sugars, baking soda, baking powder, and salt together in a large bowl for a full 30 seconds until completely uniform with no cocoa clumps.
- In a separate bowl, whisk together the melted cooled butter, room-temperature eggs, room-temperature milk, and vanilla until smooth, then add the hot coffee or hot water and whisk for 5 more strokes.
- Pour the wet mixture into the dry ingredients and fold with a silicone spatula using slow upward strokes from the bottom of the bowl — count 18 to 22 strokes and stop the moment no flour streaks remain. Do not overmix.
- Portion the batter evenly into the 12 lined cups, filling each approximately two-thirds full (approximately 65g per cup), and bake at 350°F (175°C) for 18 to 20 minutes until the tops spring back when pressed and a toothpick inserted in the center comes out with moist crumbs — not wet batter, not completely clean.
- Leave cupcakes in the pan for exactly 5 minutes after removing from the oven, then transfer to a wire rack and cool completely for at least 45 minutes before filling.
- Beat the softened butter on medium-high speed with a hand mixer for 3 full minutes until pale and fluffy, then add the sifted powdered sugar one cup at a time on low speed, followed by the seedless raspberry jam, heavy cream, and pinch of salt, then beat on medium-high for 2 more minutes until smooth, pale pink, and holding a firm peak.
- Using a cupcake corer or small sharp paring knife, remove a cavity from the center of each cooled cupcake approximately ¾ inch (2cm) wide and 1 inch (2.5cm) deep, leaving at least ½ inch (1.2cm) of cake at the base, then fill each cavity with approximately 1½ tablespoons (22ml) of the cooled raspberry compote.
- Transfer the buttercream to a piping bag fitted with a large round tip or Wilton 1M star tip and pipe a generous dome of frosting over each filled cupcake starting from the outer edge and spiraling inward and upward.
- Make the ganache by pouring heated cream (steamed, not boiled) over finely chopped chocolate in a dry heatproof bowl, let sit 90 seconds, then stir slowly from the center outward until smooth and glossy — cool for 3 to 4 minutes until thick but pourable, then drizzle freely over each frosted cupcake.
- Top each cupcake with one fresh whole raspberry pressed gently into the frosting at the center, scatter dark chocolate shavings over the surface, and serve at room temperature for the best lava effect.
Notes
- Dutch-process cocoa: cannot substitute natural cocoa without adjusting leavening — color, flavor, and texture will all differ from the photos.
- Butter (batter): melted and cooled to room temperature — warm melted butter added to eggs produces a greasy, dense crumb.
- Butter (frosting): must be 65–68°F (18–20°C) — too warm produces soupy frosting that will not hold a piped shape.
- Eggs: large, room temperature — cold eggs break the emulsion and cause the batter to look curdled.
- Compote: do not overcook past the spatula-coating stage — overcooked compote sets firm and will not pour when the cupcake is broken open.
- Fill depth: core only 1 inch (2.5cm) deep — coring through the base eliminates the floor and the compote drains to the liner.
- Ganache: all equipment must be completely dry — one drop of water causes chocolate to seize.
- Storage: single layer in a tall airtight container — do not stack, do not use plastic wrap directly on frosting.
- Freeze: freeze cupcake bases unfrosted and unfilled, wrapped individually — fill and frost after thawing.
- Make ahead: bases up to 2 days ahead, compote up to 3 days ahead, buttercream up to 3 days ahead — assemble no more than 4 to 6 hours before serving.
- Scaling: this recipe doubles cleanly — bake in two tins on the same rack if your oven fits, or sequentially. Do not increase baking soda proportionally when doubling — use 1¾ tsp (10.5g) rather than 2 tsp (12g) for a double batch.
- Altitude: above 3,500 feet, reduce baking soda by ¼ tsp (1.5g), reduce sugar by 2 tbsp (25g), and increase oven temperature by 15–25°F (8–14°C).
- Allergens: contains gluten, dairy, and eggs. For dairy-free, substitute the butter with vegan butter (same weight), the milk with full-fat oat milk, and the heavy cream with full-fat coconut cream — results will vary from the photos.
- Dairy-free: substitute butter with vegan butter (same weight), milk with full-fat oat milk, cream with full-fat coconut cream.
- Tip: bring refrigerated cupcakes to room temperature for 25 to 30 minutes before serving — cold compote will not pour.
