Print
chocolate cupcake with vanilla frosting and rainbow sprinkles

Chocolate Cupcakes with Vanilla Frosting

  • Author: Sally
  • Prep Time: 25 minutes
  • Cook Time: 20 minutes
  • Total Time: 3 hours, 25 minutes
  • Yield: 12-14 cupcakes
  • Category: Dessert
  • Method: Baking
  • Cuisine: American

Description

Made from simple everyday ingredients, these chocolate cupcakes with vanilla frosting will be your new favorite. For best results, use natural cocoa powder and buttermilk.


Ingredients

  • 3/4 cup (95g) all-purpose flour (spoon & leveled)
  • 1/2 cup (45g) unsweetened natural cocoa powder
  • 3/4 teaspoon baking powder
  • 1/2 teaspoon baking soda
  • 1/4 teaspoon salt
  • 2 large eggs, at room temperature*
  • 1/2 cup (100g) granulated sugar
  • 1/2 cup (100g) packed light brown sugar
  • 1/3 cup (80ml) vegetable or canola oil (or melted coconut oil)
  • 2 teaspoons pure vanilla extract
  • 1/2 cup (120ml) buttermilk, at room temperature*

Vanilla Buttercream

  • 1 cup (230g) unsalted butter, softened to room temperature
  • 45 cups (480-600g) confectioners’ sugar
  • 1/4 cup (60ml) heavy cream, half-and-half, or whole milk, at room temperature
  • 2 teaspoons pure vanilla extract
  • salt, to taste
  • rainbow sprinkles (optional)

Instructions

  1. Preheat the oven to 350°F (177°C). Line a 12-cup muffin pan with cupcake liners. Line a second pan with 2 liners – this recipe makes about 14 cupcakes. Set aside.
  2. Cupcakes: Whisk the flour, cocoa powder, baking powder, baking soda, and salt together in a large bowl until thoroughly combined. Set aside. In a medium bowl, whisk the eggs, granulated sugar, brown sugar, oil, and vanilla together until combined. Pour half of the wet ingredients into the dry ingredients. Then half of the buttermilk. Gently whisk for a few seconds. Repeat with the remaining wet ingredients and buttermilk. Stir until *just* combined; do not overmix. The batter will be thin.
  3. Pour or spoon the batter into the liners. Fill only halfway (this is imperative! only halfway!) to avoid spilling over the sides or sinking.
  4. Bake for 18-21 minutes, or until a toothpick inserted in the center comes out clean. Allow to cool completely before frosting. I usually let them cool in the pan.
  5. Frosting: With a handheld or stand mixer fitted with a paddle attachment, beat the butter on medium speed until creamy, about 2 minutes. Add 4 and 1/2 cups confectioners’ sugar, the heavy cream, and vanilla extract. Beat on low speed for 30 seconds, then increase to medium-high speed and beat for 2 full minutes. Add up to 1/2 cup more confectioners’ sugar if frosting is too thin or another Tablespoon of cream if frosting is too thick. Add a pinch of salt if frosting is too sweet. (I add 1/8 teaspoon salt.) Use frosting immediately or cover tightly and store for up to 1 week in the refrigerator or up to 3 months in the freezer. After freezing, thaw in the refrigerator then beat the frosting on medium speed for a few seconds so it’s creamy again. After thawing or refrigerating, beating in a splash of heavy cream or milk will help thin the frosting out again, if needed.
  6. Frost cooled cupcakes however you’d like. I used Wilton 1M piping tip for these pictured cupcakes. Top with sprinkles, if desired. Store leftovers in the refrigerator for up to 5 days.

Notes

  1. Make Ahead Instructions: You can prepare cupcakes 1 day in advance. Keep cupcakes covered tightly at room temperature and frost the day of serving. Unfrosted cupcakes can be frozen up to 2 months. Thaw overnight in the refrigerator and bring to room temperature before frosting and serving. Frosting freezing instructions included in step 5.
  2. Buttermilk: Buttermilk is required for this recipe. You can make your own DIY version of buttermilk if needed. Add 1 teaspoon of white vinegar or lemon juice to a liquid measuring cup. Then add enough whole milk to the same measuring cup until it reaches 1/2 cup. (In a pinch, lower fat or nondairy milks work for this soured milk, but the cupcakes won’t taste as moist or rich.) Stir it around and let sit for 5 minutes. The homemade “buttermilk” will be somewhat curdled and ready to use in the recipe.
  3. Heavy Cream in Frosting: I love using heavy cream for the creamiest consistency. You can use half-and-half or whole milk instead if needed. The lower the fat, the less creamy your buttercream will be. Whichever you use, make sure it’s at room temperature. Otherwise your frosting could separate or appear grainy.
  4. Mini Cupcakes: Fill mini liners only halfway and bake for 10-12 minutes at 350°F (177°C). Yields about 3 dozen.
  5. Cake: Here’s a chocolate cake that is just as moist and chocolate-y.
  6. Why Room Temperature? All refrigerated items should be at room temperature so the batter mixes together easily and evenly. Read here for more information. If needed, you can use whole milk mixed with 1/2 teaspoon of white vinegar or fresh lemon juice instead of buttermilk. Fill a measuring cup with the lemon juice/vinegar then the rest with whole milk to reach 1/2 cup.

Keywords: cupcakes, chocolate, chocolate cupcakes, vanilla frosting