Zimt

Chocolate Cupcakes with Cream Cheese and Raspberry Filling

· 5 min read · Cakes

In this article
  1. Essential Baking Equipment
  2. Batch Scaling Table
  3. Ingredients
  4. Instructions
  5. Ensuring Proper Doneness
  6. Safety with Raw Ingredients
  7. Storing the Cupcakes
  8. Filling and Frosting Adjustments

These chocolate cupcakes feature a tart raspberry center and a tangy cream cheese frosting, making them a strong choice for weekend gatherings or birthday parties. They pair well with a glass of cold milk or a cup of black coffee to balance the sweetness of the frosting. Because they require chilling time for the filling and frosting, they are best prepared a day in advance.

Essential Baking Equipment

A standard 12-cup cupcake pan (about 3 x 2 inches or 7.5 x 5 cm per cup) is required for this recipe. If you do not have one, a muffin tin works, though the cupcakes will be larger and may require an extra 3-5 minutes of bake time. A hand mixer or stand mixer is necessary to aerate the cream cheese and butter for the frosting; using a whisk by hand often results in lumps. For the filling, a small saucepan is needed to reduce the raspberries. To fill the cupcakes, a small knife or an apple corer (about 0.5 inches or 1.3 cm in diameter) is useful for removing the center of the cake without collapsing the sides.

Batch Scaling Table

Adjusting the yield depends on your pan size and guest count. Use the following ratios to scale the ingredients list.

Batch Size Yield Ingredient Ratio
Half Batch 6 cupcakes Multiply all by 0.5
Standard Batch 12 cupcakes 1:1 (As written)
Double Batch 24 cupcakes Multiply all by 2

Serves 12 · Prep 45 min · Cook 22 min · Total 2 hr 15 min

Ingredients

Chocolate Cake

  • 1 1/2 cups (190 g) all-purpose flour (heat-treated to 160°F/71°C)
  • 1 cup (200 g) granulated sugar
  • 1/3 cup (35 g) unsweetened cocoa powder
  • 1 tsp (5 g) baking soda
  • 1/2 tsp (3 g) baking powder
  • 1/2 tsp (3 g) salt
  • 1 cup (240 ml) buttermilk, room temperature
  • 1/2 cup (120 ml) vegetable oil
  • 1 large egg, pasteurised, room temperature
  • 1 tsp (5 ml) vanilla extract
  • 1/2 cup (120 ml) hot water

Raspberry Filling

  • 1 cup (125 g) fresh or frozen raspberries
  • 2 tbsp (25 g) granulated sugar
  • 1 tsp (5 ml) lemon juice
  • 1 tsp (5 g) cornstarch mixed with 1 tbsp (15 ml) water

Cream Cheese Frosting

  • 8 oz (226 g) full-fat cream cheese, softened
  • 1/2 cup (113 g) unsalted butter, softened
  • 3 cups (360 g) powdered sugar, sifted
  • 1 tsp (5 ml) vanilla extract
  • 1 tbsp (15 ml) heavy cream (if needed for consistency)

Instructions

  1. Preheat your oven to 350°F (175°C). Line a 12-cup cupcake pan with paper liners.
  2. Whisk together the heat-treated flour, sugar, cocoa powder, baking soda, baking powder, and salt in a large bowl. Ensure there are no large clumps of cocoa.
  3. Add the buttermilk, oil, pasteurised egg, and vanilla extract to the dry ingredients. Mix on medium speed for about 2 minutes until smooth.
  4. Stir in the hot water by hand. The batter will be very thin; this is normal and ensures a moist crumb.
  5. Divide the batter evenly among the 12 liners, filling each about 2/3 full.
  6. Bake at 350°F (175°C) for 18-22 minutes. The cupcakes are done when a toothpick inserted into the center comes out clean or with just a few moist crumbs.
  7. Remove from the oven and let them cool in the pan for 5 minutes, then transfer to a wire rack to cool completely.
  8. Prepare the filling by combining raspberries, sugar, and lemon juice in a small saucepan over medium heat. Simmer for 5-8 minutes until the berries break down.
  9. Stir in the cornstarch slurry and boil for 1 minute until thickened. Remove from heat and let the filling cool completely in the refrigerator for at least 30 minutes.
  10. To fill, use a small knife or corer to remove the center 1 inch (2.5 cm) of each cooled cupcake. Spoon or pipe about 1 tbsp (15 ml) of cooled raspberry filling into the hole.
  11. Make the frosting by beating the softened cream cheese and butter together for 3 minutes until pale and fluffy.
  12. Gradually add powdered sugar and vanilla extract, beating on low then medium speed until smooth. If the frosting is too stiff, beat in heavy cream one teaspoon at a time.
  13. Pipe or spread the frosting over the filled cupcakes, covering the hole completely.

Ensuring Proper Doneness

The most reliable way to tell if the chocolate cupcakes are done is the toothpick test. Insert a wooden toothpick into the center of the cupcake; it should come out clean or with a few moist crumbs attached. If the toothpick has wet batter on it, bake for another 2-3 minutes. Avoid overbaking, as chocolate cakes dry out quickly and can develop a domed, cracked top that makes filling difficult. The edges should just begin to pull away from the sides of the liner, and the top should spring back when lightly pressed with a finger.

Safety with Raw Ingredients

This recipe involves raw flour and raw eggs, both of which can carry bacteria. To ensure safety, heat-treat the flour by spreading it on a baking sheet and heating it in the oven at 350°F (175°C) until it reaches an internal temperature of 160°F (71°C) on a food thermometer, then let it cool before measuring. Use pasteurised eggs to further reduce risk. Pregnant people, young children, older adults, and anyone with a weakened immune system should strictly avoid consuming raw flour or raw eggs.

Storing the Cupcakes

Because of the cream cheese frosting and the fruit filling, these cupcakes must be refrigerated. Place them in an airtight container and store them in the refrigerator for 3-4 days. If left at room temperature, perishable dairy and fruit components can spoil; do not leave them out for more than 2 hours (or 1 hour if the room temperature is above 90°F/32°C). For longer storage, you can freeze the unfrosted, unfilled cupcakes for up to 3 months. To freeze, wrap them tightly in plastic wrap and place them in a freezer bag. Thaw in the refrigerator overnight before filling and frosting.

Filling and Frosting Adjustments

If you prefer a different fruit profile, you can replace the raspberries with blackberries or blueberries using the same measurements. For a different frosting texture, you can substitute the cream cheese with a mixture of equal parts butter and mascarpone, which creates a richer, denser topping. If the raspberry filling is too tart, add an extra tablespoon of sugar during the simmering process. If the filling is too runny to stay inside the cupcake, simmer it for an additional 2-3 minutes or add a pinch more cornstarch to the slurry to increase the thickness.