These chocolate raspberry cupcakes are rich, moist, and surprisingly simple to make. A tender chocolate cupcake is filled with a homemade raspberry compote and topped with a light whipped raspberry buttercream. The recipe adapts easily for gluten-free, dairy-free, or vegan diets.

The Best Chocolate Raspberry Cupcakes
These cupcakes combine deep chocolate flavor with fresh raspberry brightness. The batter comes together in one bowl and the components — chocolate cupcakes, raspberry filling, and whipped raspberry buttercream — pair for an elegant, handheld dessert perfect for parties or everyday indulgence. Highlights:
- Simple – One-bowl cupcake batter and straightforward assembly.
- Real flavor – No artificial extracts; real cocoa and raspberries.
- Great texture – Soft, moist cupcakes with fluffy frosting.
- Flexible – Easily made gluten-free, dairy-free, or vegan by swapping flour, milk, and butter.
What’s in These Cupcakes
Chocolate cupcake: a rich, cocoa-forward base that stays tender and moist.
Raspberry filling: a quick compote made from fresh or frozen raspberries, sugar, lemon, and a thickener.
Raspberry buttercream: a whipped buttercream brightened with the cooled raspberry filling for color and real fruit flavor.

Ingredients Overview
This recipe has been tested with both regular and gluten-free/vegan alternatives. The full ingredient amounts are in the recipe card below; here are key notes about substitutions:
- Flour: Use a 1:1 gluten-free all-purpose baking blend if needed, or regular all-purpose flour.
- Cocoa: Unsweetened cocoa powder gives the best chocolate depth.
- Milk: Any milk works; plant-based milks like unsweetened almond milk are a suitable dairy-free option.
- Fat: Neutral oil (canola or vegetable) keeps the cupcakes moist. You can substitute melted butter, ghee, yogurt, or applesauce, though texture will vary.
- Butter: Use block-style butter (regular or plant-based) for the buttercream.
- Raspberries: Fresh or frozen raspberries both work well for the filling and frosting.

How to Make Chocolate Raspberry Cupcakes
You’ll make three components: raspberry filling, chocolate cupcakes, and raspberry buttercream. Here’s a concise guide to each.
Raspberry Filling
- Combine raspberries, lemon juice, sugar, and cornstarch in a pot and bring to a boil over medium-high heat.
- Reduce heat and simmer for a few minutes until the mixture thickens, stirring occasionally.
- Remove from heat and pour into a shallow dish. Press plastic wrap onto the surface to prevent a skin and cool completely. If you prefer a seedless filling, strain the mixture before cooling.
Chocolate Cupcakes
- Preheat oven to 350°F (175°C) and line a 12-cup muffin tin with liners.
- Whisk together the dry ingredients: flour (or gluten-free blend), sugar, cocoa powder, cornstarch, baking powder, baking soda, and salt.
- Pour in hot milk and oil, whisking until smooth; using hot milk helps “bloom” the cocoa for deeper chocolate flavor.
- Divide batter evenly among liners (about 2/3 full) and bake 17–20 minutes or until a toothpick comes out clean.
- Cool in the pan for a few minutes, then transfer to a wire rack to cool completely before filling and frosting.
Raspberry Buttercream
- Cream room-temperature butter with an electric mixer until light and fluffy (5–10 minutes).
- Add powdered sugar and salt, mixing on low until incorporated.
- Mix in cooled raspberry filling on low until combined, then beat on high for about 5 minutes until the buttercream is airy and spreadable.
Assembly
- Core or cut a small hole in each cooled cupcake and fill with raspberry filling.
- Pipe or spread the raspberry buttercream on top.
- Optional: drizzle melted chocolate and top with a fresh raspberry, a small chocolate square, or sprinkles.
- Serve and enjoy.

Variations and Ideas
Try these simple swaps to change the flavor profile:
- Different berries: Use strawberries, blackberries, or blueberries in place of raspberries.
- Chocolate filling: Replace the raspberry filling with chocolate ganache for an extra-decadent treat.
- Vanilla base: Use a vanilla cupcake base with the raspberry filling and buttercream for a lighter contrast.
Tips & Tricks
- Portion batter: Use a 3-tablespoon scoop or similar to portion batter evenly for uniform cupcakes.
- Fully cool: Ensure cupcakes and raspberry filling are completely cooled before filling and frosting to prevent the buttercream from melting.
- Bloom the cocoa: Hot milk in the batter intensifies and deepens the chocolate flavor.

Storage & Make-Ahead
Store finished cupcakes in an airtight container at room temperature or in the refrigerator for up to 5 days. If refrigerated, bring to room temperature for 20–30 minutes before serving so the frosting softens. You can freeze unfrosted or fully decorated cupcakes; thaw overnight in the fridge and then bring to room temperature before serving.
Common Questions
Can I double the recipe? Yes — the recipe scales well. For best results, bake trays one at a time for even baking.
How do I keep cupcakes moist? Fat is crucial. This recipe uses oil and milk for moisture; don’t skimp on those ingredients.
Are cupcakes different from muffins? Yes. Cupcakes are sweeter and lighter, while muffins are denser and more bread-like.

Final Thoughts
These chocolate raspberry cupcakes balance rich chocolate with bright fruit for an elegant, crowd-pleasing dessert. They adapt well to dietary needs without sacrificing flavor. If you try them, enjoy the process and feel free to experiment with fillings and decorations to make them your own.
More Easy Cupcake Recipes
If you’re looking for other simple cupcake ideas, try lemon, coconut, or carrot cupcakes for more party-ready options.


