These cupcakes combine a rich chocolate base, a smooth vanilla layer, and a bright raspberry swirl for a bakery-style treat that holds together without sinking. The three-flavor effect is achieved by layering batters and gently dragging a skewer to create a marbled top. They work for weekend baking, potlucks, or dessert trays where visual appeal and balanced sweetness matter.
Serves 12 · Prep 25 min · Cook 20-25 min · Total 1 hr 15 min
Use Separate Batters for Clean Flavor Layers
Layering distinct chocolate, vanilla, and raspberry batters prevents flavor blending while baking. The chocolate base adds depth, the vanilla layer remains neutral to carry the fruit, and the raspberry puree is thick enough to swirl without bleeding. Each batter is made in sequence using the same bowl to reduce cleanup.
Ingredients
- ¾ cup (180 ml) whole milk
- ½ cup (120 ml) vegetable oil or melted unsalted butter
- 2 large eggs, at room temperature
- 2 ¼ cups (280 g) all-purpose flour
- 2 cups (400 g) granulated sugar
- 2 tsp (10 ml) pure vanilla extract, divided
- 1 ½ tsp (7.5 ml) baking powder
- ½ tsp (2.5 ml) baking soda
- ½ tsp (2.5 g) fine sea salt
- ¾ cup (180 ml) buttermilk
- ⅓ cup (30 g) unsweetened cocoa powder
- ½ cup (120 g) seedless raspberry jam or ⅓ cup (80 g) raspberry puree (strained)
Prepare the Vanilla Batter First
- Preheat oven to 350°F (175°C). Line a 12-cup muffin tin with paper liners.
- In a liquid measuring cup, whisk together milk, oil, and eggs. Set aside.
- In a large bowl, mix flour, 1 ½ cups (300 g) sugar, 1 tsp vanilla extract, baking powder, baking soda, and salt.
- Add the milk mixture to dry ingredients. Mix with an electric mixer on medium for 1 minute until smooth.
- Pour in buttermilk. Mix for another 30 seconds. Set vanilla batter aside.
Make the Chocolate and Raspberry Portions
- Divide the vanilla batter evenly between two bowls: one with about 1 ½ cups (360 g), the other with the remainder.
- To the smaller bowl, add cocoa powder. Mix until no streaks remain. This is the chocolate batter.
- To the larger bowl of vanilla batter, add remaining 1 cup (200 g) sugar and 1 tsp vanilla extract. Mix to combine.
- Stir raspberry jam or puree into the sweetened vanilla batter until evenly swirled but not fully blended.
Layer Batters in the Cupcake Liners
- Fill each muffin cup one-third full with the chocolate batter.
- Add a heaping tablespoon of raspberry-vanilla batter on top, pressing gently to spread.
- Finish with another tablespoon of plain vanilla batter to cover.
- Drag a toothpick or skewer once through each cup in a figure-eight motion to create a marbled effect.
- Tap the pan lightly on the counter to release air bubbles.
Bake Until Set and Springy
- Bake at 350°F (175°C) for 20–25 minutes, until a toothpick inserted in the center comes out with moist crumbs (not wet batter).
- Cool cupcakes in the pan for 5 minutes, then transfer to a wire rack to cool completely before frosting.
Frost with Vanilla Buttercream or Cream Cheese
Apply frosting only after cupcakes reach room temperature to prevent melting. A vanilla buttercream made with ½ cup (115 g) butter, 2 cups (250 g) powdered sugar, 1–2 tbsp (15–30 ml) milk, and 1 tsp vanilla pairs with all three flavors. For tang, use cream cheese frosting: beat 4 oz (115 g) softened cream cheese with ¼ cup (60 g) butter, then add sugar and vanilla to taste. Frosting yield: about 1 ½ cups (360 ml), enough for 12 cupcakes.
Decorate with Fresh Raspberries or Sprinkles
Top each frosted cupcake with one fresh raspberry for color contrast. Avoid using frozen berries unless thawed and patted dry, as excess moisture softens the frosting. Colored sprinkles or mini chocolate chips add visual interest without altering flavor.
Store in a Single Layer to Prevent Smearing
Refrigerate frosted cupcakes in an airtight container for up to 3 days. Unfrosted cupcakes can be stored at room temperature in a sealed container for 2 days or frozen for up to 2 months. Wrap individually in plastic wrap before freezing. Thaw at room temperature for 1–2 hours. Do not store cupcakes with fresh fruit topping for more than 6 hours at room temperature; refrigerate after 2 hours if served.
Serve at Room Temperature for Best Texture
Let refrigerated cupcakes sit at room temperature for 30 minutes before serving to soften the frosting and restore crumb softness. Serve as a dessert after dinner, at brunch, or as a midday treat with coffee or milk. Pair with a fruit platter or lemonade to balance sweetness.
Swap Ingredients Based on Availability
For buttermilk, mix ¾ cup (180 ml) milk with 2 tsp (10 ml) white vinegar or lemon juice; let sit 5 minutes. Use light olive oil or melted coconut oil instead of vegetable oil at 1:1 ratio; coconut oil may add a faint tropical note. Replace all-purpose flour with gluten-free 1:1 baking blend; texture may be slightly more fragile. Use dairy-free milk and vegan butter to make dairy-free cupcakes; results are slightly denser. Raspberries can be replaced with seedless strawberry or blackberry jam at equal weight. Do not substitute frozen jam or low-sugar pectin jams unless thickened, as excess liquid disrupts batter structure.
Avoid Batter Overmixing and Uneven Layers
Overmixing after adding flour develops gluten, leading to tough cupcakes. Mix batters only until combined. If layers sink during baking, the raspberry portion may have been too wet or the cupcake liners overfilled. Fill no more than ¾ full. If flavors bleed into each other, reduce swirling or use thicker jam. Do not open the oven during the first 18 minutes to prevent temperature drops that cause collapse.
Check Oven Temperature with a Thermometer
Oven dials often misread. Use a standalone oven thermometer to verify 350°F (175°C) before baking. An oven running hot causes domed, cracked tops; one running cool extends baking time and may leave centers wet. Adjust baking time by 3–5 minutes if needed, checking at 20 minutes with a toothpick.