The Best Moist Chocolate Cupcakes with Raspberry Frosting

Moist chocolate cupcakes topped with creamy raspberry frosting. Easy homemade recipe that’s rich, fluffy, and bakery-style.

Published: February 2, 2026

Last Updated: May 9, 2026

Author: Sweet Recipe Team

Why You’ll Love This Recipe

These moist chocolate cupcakes with raspberry frosting have the kind of balance I look for in a bakery-style cupcake: a tender crumb, deep cocoa flavor, and a frosting that tastes bright rather than heavy. The cupcake base is rich and soft, but not dense, because the hot water or coffee loosens the cocoa powder and helps it bloom. That one small step makes the batter smell intensely chocolatey before it even reaches the oven.

When I tested this recipe, the biggest mistake happened when I filled the cupcake liners too high. The batter is intentionally thin, so it rises quickly and can dome over the edges if the cups are more than two-thirds full. The fix is simple: use a scoop and keep the portions even. You get neater tops, a lighter texture, and enough space for a generous swirl of raspberry buttercream.

The frosting is where the cupcakes become memorable. Raspberry puree cuts through the richness of the butter and cocoa with a clean, tangy finish. Straining the puree matters because raspberry seeds can make an otherwise silky frosting feel gritty. Once whipped, the frosting should look pale pink, creamy, and light enough to pipe while still holding its shape.

For the best result, let the cupcakes cool completely before frosting. Even a slightly warm cupcake can soften the buttercream and make it slide. When cooled properly, each bite gives you soft chocolate cake, smooth berry frosting, and a gentle cocoa aroma with a fresh raspberry note. They are especially good for birthdays, bake sales, afternoon coffee, or any occasion where you want a dessert that feels polished without being fussy.

pinterest 1

Moist Chocolate Cupcakes with Raspberry Frosting

These moist chocolate cupcakes are rich, fluffy, and deeply chocolatey, topped with a smooth raspberry frosting that adds the perfect fruity contrast. Easy to make and bakery-style, they’re ideal for parties, birthdays, or whenever you crave a decadent dessert.
Prep Time 20 minutes
Cook Time 18 minutes
18 minutes
Total Time 58 minutes
Servings: 12 cupcakes
Course: Dessert
Cuisine: American
Calories: 567

Ingredients
  

  • Chocolate Cupcakes
  • 1 ½ cups all-purpose flour
  • ¾ cup unsweetened cocoa powder
  • 1 cup granulated sugar
  • 1 teaspoon baking powder
  • ½ teaspoon baking soda
  • ½ teaspoon salt
  • 2 large eggs room temperature
  • ½ cup vegetable oil
  • ¾ cup whole milk
  • 1 teaspoon vanilla extract
  • ¾ cup hot water or hot coffee
  • Raspberry Frosting
  • 1 cup unsalted butter softened
  • 3 cups powdered sugar sifted
  • ½ cup raspberry puree fresh or frozen, strained
  • 1 teaspoon vanilla extract
  • Pinch of salt

Equipment

  • Mixing bowls
  • Electric mixer or whisk
  • Muffin tin
  • Cupcake liners
  • Measuring cups and spoons
  • Cooling rack

Method
 

  1. Make the Cupcakes
  2. Preheat the oven to 180°C / 350°F and line a muffin tin with cupcake liners.
  3. In a large bowl, whisk together flour, cocoa powder, sugar, baking powder, baking soda, and salt.
  4. Add eggs, oil, milk, and vanilla extract. Mix until smooth.
  5. Slowly pour in the hot water (or coffee) and mix until the batter is thin and well combined.
  6. Divide the batter evenly among the cupcake liners, filling each about ⅔ full.
  7. Bake for 16–18 minutes, or until a toothpick inserted comes out clean.
  8. Remove from oven and let cupcakes cool completely on a wire rack.
  9. Make the Raspberry Frosting
  10. Beat the softened butter until creamy and pale.
  11. Gradually add powdered sugar, mixing on low speed.
  12. Pour in the raspberry puree, vanilla extract, and salt.
  13. Beat on medium-high speed for 2–3 minutes until fluffy.
  14. Frost cooled cupcakes using a piping bag or spatula.

Notes

  • You can replace raspberry puree with strawberry or cherry puree.
  • For extra chocolate flavor, use hot coffee instead of water.
  • Store cupcakes in an airtight container for up to 3 days at room temperature or 5 days refrigerated.
  • These cupcakes freeze well (without frosting) for up to 2 months.

Reading the Bake Instead of the Timer

The toothpick test is the standard advice and it is unreliable for anything rich. In a batter containing melted chocolate or a lot of fat, the streaks left on the skewer are simply the fat, not raw batter, so a fully baked cake reads as underdone and gets returned to the oven. That is a common route to a dry result.

Internal temperature is the honest measure. Most butter cakes are done between 93 and 96 °C. Leaner sponges run a little higher, around 96 to 99 °C. An instant-read thermometer in the centre removes the guesswork entirely, and once you have checked a few bakes against it you start recognising the visual cues properly.

Those cues are worth learning. The edges pull very slightly away from the sides of the tin. The top springs back rather than holding a fingerprint. And the sound changes: a baking cake hisses quietly as steam escapes, and that noise fades as it finishes.

One more thing decides the crumb, and it happens early. Do not open the oven during the first two thirds of the bake. Until the structure sets, the batter is essentially a liquid held up by expanding gas, and the temperature drop from an open door is enough to collapse it. Once the top has domed and coloured, a quick look does no harm.

Getting the Crumb Right

Use room-temperature eggs and milk so the batter blends smoothly instead of tightening around cold ingredients. Cocoa powder absorbs liquid aggressively, which is why the hot water or coffee is added last. It hydrates the cocoa, deepens the flavor, and creates that soft, plush cupcake crumb instead of a dry, sandy one.

Do not worry if the batter looks thinner than a vanilla cupcake batter. That is expected. The mistake to avoid is adding extra flour to “fix” it. Extra flour makes the cupcakes heavy and dulls the chocolate flavor. If the batter splashes while mixing, switch to a spatula for the final few turns.

For frosting, add raspberry puree gradually. Buttercream can split if too much liquid goes in at once. If it looks loose, beat in 2 to 4 tablespoons of sifted powdered sugar. If it tastes too sweet, add a tiny pinch of salt and another teaspoon of strained raspberry puree. Store frosted cupcakes covered at cool room temperature for one day, or refrigerate up to five days and bring them back to room temperature before serving.

Frostings and Finishes

For a deeper chocolate cupcake, use hot coffee instead of hot water. The cupcakes will not taste like coffee; it simply makes the cocoa taste darker and more rounded. For a sweeter berry flavor, replace raspberry puree with strawberry puree, but reduce it slightly on the stove first so the frosting does not become runny.

To make a gluten-free version, use a high-quality 1:1 gluten-free baking flour that contains xanthan gum. The crumb may be slightly more delicate, so let the cupcakes cool fully before moving them. For dairy-free cupcakes, use unsweetened oat milk or almond milk in the cake and a plant-based butter suitable for baking in the frosting.

You can also fill the cupcakes with a teaspoon of raspberry jam after baking. Cut a small center from each cooled cupcake, spoon in jam, then frost over the top. This gives the dessert a brighter, fruitier center and a more pastry-shop finish.

Frequently Asked Questions

  • Q: Why is my cupcake batter so thin? This recipe uses hot water or coffee to bloom the cocoa powder, so the batter should be pourable. Thin batter helps create a moist, tender cupcake once baked.
  • Q: Can I use frozen raspberries for the frosting? Yes. Thaw them first, blend until smooth, then strain well. If the puree seems watery, simmer it for a few minutes and cool it before adding it to the buttercream.
  • Q: Why did my frosting curdle or look separated? The raspberry puree was probably added too quickly or was too cold. Keep beating for a minute, then add sifted powdered sugar one spoonful at a time until the frosting becomes smooth again.
  • Q: Can I make these cupcakes ahead? Yes. Bake the cupcakes one day ahead and store them unfrosted in an airtight container. Frost them the day you plan to serve for the freshest texture.
  • Q: How do I know the cupcakes are done? A toothpick should come out with a few moist crumbs, not wet batter. Overbaking dries out chocolate cupcakes quickly, so start checking at 16 minutes.

About Sweet Recipe

Sweet Recipe is an editorial dessert publication. Our recipes are built from documented pastry ratios and established technique, then checked for internal consistency. That the measurements, timings, and quantities agree with one another.

We are not a professional kitchen, and we do not claim to have cooked every recipe ourselves. What we do claim is that the numbers add up and the method is sound.

If a step does not work as written in your kitchen, tell us on the contact page and we will correct the recipe. We would rather fix an error than leave it standing.

Leave a Comment

Your email address will not be published. Required fields are marked *

Recipe Rating




Scroll to Top