• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Sweetly Cakes
  • Home
  • Recipe index
  • Cakes
  • Frosting & filling
  • Cupcakes
  • Cake basics
  • Brownies
  • Cookies
  • About
  • Contact
  • Français
menu icon
go to homepage
subscribe
search icon
Homepage link
  • Home
  • Recipe index
  • Cakes
  • Frosting & filling
  • Cupcakes
  • Cake basics
  • Brownies
  • Cookies
  • About
  • Contact
  • Français
    • Facebook
    • Instagram
    • Pinterest
    • Twitter
    • YouTube
  • ×
    Home / Desserts / Cupcakes

    Chocolate Raspberry Cupcakes

    Updated Jan 21, 2026 · Published Sep 20, 2023 by Fadela

    Chocolate raspberry cupcakes with a raspberry filling and whipped chocolate ganache frosting.

    chocolate raspberry cupcakes with ganache frosting on a table

    Soft chocolate cupcakes filled with homemade raspberry compote, finished with a light chocolate ganache that’s easy to pipe and not overly sweet.

    Why you'll love this recipe

    • Moist chocolate cupcakes with a rich cocoa flavor
    • Sweet-tart raspberry filling that pops in every bite
    • Fluffy whipped chocolate ganache that pipes beautifully and sets cleanly in the fridge

    Ingredients you need

    • Cake flour or all-purpose flour
    • Unsweetened cocoa powder (natural or Dutch-process)
    • Baking soda (or baking powder if needed)
    • Granulated sugar
    • Neutral oil (or unsalted butter)
    • Eggs, room temperature
    • Vanilla extract + fine salt
    • Buttermilk (or milk + lemon / yogurt / sour cream)
    • Raspberries (fresh or frozen)
    • Lemon juice (for the filling)
    • Semi-sweet chocolate (chips or baking chocolate)
    • Heavy cream (30–35% fat)
    ingredients for chocolate raspberry cupcakes in bowls

    Tips before you start

    • Use room-temperature eggs and dairy for a smooth cupcake batter.
    • Let the raspberry filling cool completely before filling the cupcakes.
    • Fill cupcake liners only halfway to keep an even rise.
    • Cool cupcakes fully before filling or frosting to prevent melting.
    • Chill the ganache well before whipping for a light, stable texture.

    How to make chocolate raspberry cupcakes

    This recipe uses my classic chocolate cupcake base, which I rely on for most of my chocolate cupcake variations.

    Whisk the dry ingredients together in a small bowl: flour, cocoa powder, baking soda, and salt.

    Mix the oil, sugar, eggs, vanilla, and buttermilk in a large bowl until smooth and fully combined.

    wet ingredients mixed for chocolate cupcake batter

    Add the dry ingredients in two to three additions, mixing gently just until the batter is smooth.

    dry ingredients mixed for chocolate cupcake batter

    Fill the cupcake liners halfway using an ice cream scoop or spoon.

    chocolate cupcake batter in a cupcake pan before baking

    Bake in apreheated oven at 350°F (175°C) for 14–15 minutes, until a toothpick inserted into the center comes out clean.

    Check doneness by inserting a toothpick into the center; it should come out clean or with a few moist crumbs.

    Cool slightly in the pan, then transfer the cupcakes to a wire rack to cool completely.

    baked chocolate cupcakes cooling in the pan

    This filling is made using my homemade raspberry sauce, cooked down for a thicker, cupcake-friendly texture.

    Cook raspberries, sugar, and lemon juice in a small saucepan over medium heat until thick and jam-like.

    Cool completely, then use to fill the center of the cupcakes before frosting.

    raspberry compote cooking in a saucepan

    This step uses my chocolate ganache frosting recipe, made to be smooth, stable, and easy to pipe.

    Heat the heavy cream until just simmering, then pour it over the chopped chocolate and stir until smooth.

    Chill the ganache 2–3 hours until cold, then whip until thick and pipe onto the cupcakes before decorating.

    bowl of chocolate ganache frosting

    Serving Suggestions

    Serve these chocolate raspberry cupcakes slightly chilled or at cool room temperature to keep the whipped ganache stable and creamy.

    Storage

    • Store frosted cupcakes in an airtight container in the fridge for up to 3–4 days.
    • Unfrosted cupcakes can be frozen for up to 3 months.

    Recipe Variations

    • Different fruit filling: replace raspberry compote with strawberry or cherry compote.
    • Simpler version: skip the filling and frost directly with whipped chocolate ganache.
    • Mini cupcakes: use a mini cupcake pan and reduce baking time.

    If you love this flavor combo, try the full-size version with this chocolate raspberry cake recipe.

    Recipe Questions

    Can I use raspberry jam instead of homemade filling?

    Yes, thick raspberry jam works well if you’re short on time.

    Do I need to refrigerate these cupcakes?

    Yes, because of the whipped ganache, they should be stored in the fridge.

    Can I make them ahead of time?

    Yes, bake the cupcakes and prepare the filling up to 2 days ahead, then assemble before serving.

    chocolate cupcakes filled with raspberry filling cut in half

    More Chocolate Cupcake Recipes

    • Hi hat chocolate cupcakes
    • Birthday chocolate cupcakes
    • Nutella cupcakes
    • Marble cupcakes
    • White chocolate raspberry cupcakes

    I hope you’ll love this recipe! If you try this recipe, feel free to leave a comment. It always helps. Happy baking!

    Print
    clock clock iconcutlery cutlery iconflag flag iconfolder folder iconinstagram instagram iconpinterest pinterest iconfacebook facebook iconprint print iconsquares squares iconheart heart iconheart solid heart solid icon

    Chocolate Raspberry Cupcakes


    5 Stars 4 Stars 3 Stars 2 Stars 1 Star

    5 from 2 reviews

    • Author: Fadela
    • Total Time: 55 minutes
    • Yield: 12 cupcakes
    Print Recipe
    Save Recipe Recipe Saved

    Description

    These chocolate raspberry cupcakes are extremely indulgent and very easy to make, with a super-soft chocolate cupcake base, a tangy raspberry filling, and a creamy whipped chocolate ganache frosting (for about 12 cupcakes).


    Ingredients

    Chocolate cupcakes

    • 100 g (¾ cup) cake flour
    • 40 g (½ cup) unsweetened cocoa powder
    • ½ tsp baking soda
    • ¼ tsp salt
    • 150 g (¾ cup) granulated sugar
    • 2 large eggs, room temperature
    • 1 tsp vanilla extract
    • 85 ml (⅓ cup) vegetable oil
    • 125 ml (½ cup) buttermilk

    Raspberry filling & sauce

    • 300 g (10.5 oz) raspberries – fresh or frozen
    • 60 g (¼ cup) granulated sugar
    • 1 tbsp lemon juice

    Chocolate ganache frosting

    • 300 g (10 oz) chocolate – 54–64% semi-sweet
    • 360 g (1 ½ cups) heavy cream – full fat

    Instructions

    Chocolate cupcakes

    1. Preheat the oven to 350°F / 180°C and line a cupcake pan with paper cases.
    2. Mix and sift together the flour, cocoa powder, baking soda, and salt in a large bowl.
    3. In another bowl, beat the oil, sugar, eggs, and vanilla for about 3 minutes until smooth.
    4. Add the buttermilk, then the dry ingredients, and whisk gently until smooth and fluid.
    5. Fill the cupcake cases halfway with batter.
    6. Bake for 15–20 minutes, until the centers are set and a toothpick comes out clean.
    7. Let the cupcakes cool completely at room temperature.

    Raspberry filling

    1. Cook raspberries, sugar, and lemon juice over medium heat until soft and jammy.
    2. Use part of the compote to fill the cupcakes, then blend and strain the remaining compote to make a smooth raspberry sauce.

    Chocolate ganache frosting

    1. Place the chopped chocolate in a heatproof bowl.
    2. Heat the cream until it just comes to a boil, then pour it over the chocolate.
    3. Rest 30 seconds, then stir until fully melted and smooth.
    4. Blend with an immersion blender until glossy.
    5. Cover with plastic wrap touching the surface and chill 2–3 hours until cold but pliable (about 22–23°C).
    6. Whip on low speed for about 2 minutes until smooth and firm.
    7. Pipe large swirls on top of the cupcakes, scoop a small center, and add raspberry sauce.
    8. Decorate with a fresh raspberry.

    Equipment

    Airtight container

    Buy Now →
    Image of Cupcakes corer

    Cupcakes corer

    Buy Now →

    Cupcakes liners

    Buy Now →

    Hand mixer

    Buy Now →

    Muffin pan

    Buy Now →

    Stand mixer

    Buy Now →

    Notes

    Storage: Store the cupcakes in an airtight container in the fridge for up to 3 days.

    Bring to room temperature 15–20 minutes before serving.

    Tips:

    • Use room-temperature eggs for a smoother batter.
    • Do not overfill the cupcake cases to avoid overflow.
    • Let the cupcakes cool completely before filling and frosting.
    • Whip the ganache slowly to keep a smooth, stable texture.
    • The raspberry filling must be fully cold before assembling.
    • Prep Time: 40 minutes
    • Cook Time: 15 minutes
    • Category: Cupcakes
    • Method: baking
    • Cuisine: American

    Nutrition

    • Serving Size: 1 cupcake
    • Calories: 386
    • Sugar: 28.3 g
    • Sodium: 185.5 mg
    • Fat: 26.1 g
    • Carbohydrates: 37.8 g
    • Protein: 5.2 g
    • Cholesterol: 66.1 mg

    Did you make this recipe?

    Tag @sweetlycakes on Instagram

    This post may contain affiliate links

    More Cupcakes

    • Birthday Chocolate Cupcakes
    • Birthday Cupcakes
    • Carrot Cake Cupcakes with Cream Cheese Frosting
    • Cinnamon Cupcakes

    Reader Interactions

    Comments

    1. Chachou

      October 15, 2023 at 3:14 pm

      Absolutely delicious! The combination of chocolate and raspberries is truly a success. I'm not a fan of cupcakes that are often more about appearance than taste, but here, everything is carefully crafted: the cupcake batter, the raspberry filling, and the ganache. The recipe is easy and very well explained (as always). It's truly a perfect base, adaptable to various ideas (I'll try it with kiwis, which I think go really well with chocolate). Thank you for this fantastic recipe!

      Reply
      • Fadela

        October 02, 2023 at 10:32 am

        Thank you so much Chachou for your feedback on this recipe ❤️ The chocolate kiwi combination must be wonderful, so don't hesitate to let me know when you've tested your recipe.

        Reply
    2. JoJo

      August 20, 2025 at 11:38 pm

      I made this after watching the most recent episode of The Summer I Turned Pretty, after the viral chocolate cake moment from it, and am so glad that I did! I ended up making the cupcakes and raspberry filling the night before just to save time, and made the icing the day of. The flavors work so well together, and I can't wait to make them again. Personally, I think this is better than Jeremiah's requested two tier dark chocolate wedding cake with a mirror glaze and raspberry coulis filling 🙂

      Reply

    Leave a Reply Cancel reply

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

    Recipe rating 5 Stars 4 Stars 3 Stars 2 Stars 1 Star

    Primary Sidebar

    Hello and welcome to my blog! Fully addicted to cakes, blogging, and beautiful pictures! I share with you on this blog some tips and my favorite baking recipes which I hope will help you to enjoy your loved ones!

    More about me →

     Popular Posts

    • Caramel Whipped Cream Frosting
    • Vanilla Cake
    • Soft Sugar Cookies
    • No Chill Sugar Cookies

    Follow us

    Search on the blog

    Footer

    ↑ back to top

    About

    • Privacy Policy
    • About me
    • Recipes

    Newsletter

    • Sign Up! for emails and updates

    Contact

    • Contact
    • Work with me
    • Français

    As an Amazon Associate, I earn from qualifying purchases.

    Copyright © 2023 SWEETLYCAKES