Go Back
5 from 1 vote
Dark Chocolate Cupcakes with Raspberry Buttercream | A Nerd Cooks
Dark Chocolate Cupcakes with Raspberry Buttercream
Prep Time
25 mins
Cook Time
25 mins
Cooling time
2 hrs
Total Time
2 hrs 50 mins
Course: Dessert
Cuisine: American
Servings: 36 cupcakes
Author: Joy the Baker
For the cupcakes
  • 3 cups cake flour
  • 3/4 cup unsweetened dark cocoa powder
  • 2 tsp baking powder
  • 1 1/2 tsp baking soda
  • 1 tsp kosher salt
  • 2 sticks unsalted butter, softened
  • 1 1/2 cups light brown sugar, packed
  • 1 1/2 cups granulated sugar
  • 4 large eggs, room temperature
  • 1 tbs vanilla extract
  • 2 cups buttermilk
For the buttercream
  • 2 sticks unsalted butter, softened
  • 1/2 tbs vanilla extract
  • 5-6 cups powdered sugar
  • 1-2 tbs heavy cream or milk
  • 1/3 cup raspberry preserves
To make the cupcakes
  1. Preheat the oven to 350 degrees F. Line a 12-cup muffin tin with liners. Depending on how many muffin tins you have, you may need to work in batches. Set aside.

  2. In a medium bowl, whisk together the cake flour, dark cocoa powder, baking powder, baking soda, and salt. Set aside.
  3. In the bowl of a stand mixer, cream the butter and sugars together. Add the eggs, one at a time, mixing well between additions. Add the vanilla extract.
  4. Alternate between adding some of the dry ingredients with the buttermilk. After the last addition, mix until just combined. Scrape down the sides, making sure to get the bottom, too. Turn on the stand mixer for another 30 seconds - 1 minute, just for good measure.
  5. Fill the liners 2/3 of the way full. Bake for 20-25 minutes (make sure to start checking after 20!), or until a knife/toothpick, when inserted into the center of the cupcake, comes out clean.
  6. Allow the cupcakes to cool for 10 minutes in the muffin tin, then remove and place them on a wire rack to finish cooling completely.
To make the raspberry buttercream
  1. Using a stand mixer fitted with the paddle attachment, beat the butter on medium speed until it is softened (about 1 minute).
  2. Add 2 cups of the powdered sugar and beat on low speed until well combined.

  3. Add another 2 cups of powdered sugar along with 1 tbs of heavy cream/milk. Beat until combined.
  4. Add the remaining 1-2 cups of sugar (depending on your desired consistency) and remaining cream/milk and beat until the frosting reaches the desired thickness.
  5. Add the raspberry preserves and beat until thoroughly mixed through. Beat on medium speed until the frosting is smooth and fluffy (about 4 minutes).
  6. Frost the cupcakes however you like. I'm partial to piping roses with a Wilton 1M piping tip and piping bag.