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
Close up of a yellow cupcake decorated with chocolate frosting and sprinkles in an open cupcake wrapper, with more cupcakes in the background.

Yellow Cupcake Recipe

5 Stars 4 Stars 3 Stars 2 Stars 1 Star 5 from 2 reviews
  • Author: Julianne Dell
  • Prep Time: 20 minutes
  • Cook Time: 15 minutes
  • Total Time: 35 minutes
  • Yield: 24 cupcakes
  • Category: Cupcakes
  • Method: Oven
  • Cuisine: American

Description

This is my favorite classic yellow cupcake recipe made completely from scratch! Fluffy, moist, and buttery, these are way better than a cake mix. Just add chocolate frosting and sprinkles!


Ingredients

For the Cupcakes

  • 1 1/2 cups (285g) Granulated sugar
  • ½ cup (118 ml) Vegetable oil
  • 2 tablespoons (28g) Unsalted butter, melted
  • 2 Large eggs, at room temperature
  • 2 Egg yolks, at room temperature
  • 1 tablespoon (15ml) Pure vanilla extract
  • 1/2 cup (120g) Full-fat sour cream, at room temperature
  • 2 ½ cups (350g) All-purpose flour, sifted
  • 2 teaspoons (7.5g) Baking powder
  • 1 teaspoon (4g) Baking soda
  • 1 teaspoon (5g) Salt
  • 1 1/3 cup (315ml) Buttermilk, at room temperature

For the Frosting

  • ¾ cup (170g) Unsalted butter, cold
  • 12 ounces (339g) Full-fat cream cheese, cold
  • ¾ cup (60g) Cocoa powder (Hershey’s Special Dark preferred)
  • 6 cups (780-911g) Powdered sugar
  • 1 tablespoon (15ml) Pure vanilla extract
  • 12 tablespoons (30ml) Heavy whipping cream (or milk)

Instructions

For the Cupcakes

  1. Preheat the oven to 350°F. Line a cupcake pan with cupcake liners.
  2. In a large mixing bowl, combine the sugar, vegetable oil, butter, eggs and egg yolks and vanilla extract. Beat on medium speed until the eggs and oil are well incorporated and the batter is lighter in color, about 2 minutes. Scrape down the bowl as needed. Next mix in the sour cream and beat until well combined.
  3. In a separate bowl, combine the remaining dry ingredients and sift together. Alternate adding half the dry ingredients and half the buttermilk at a time mixing at a low speed just until the flour starts to incorporate. Then add the remaining dry ingredients and buttermilk and beat until well combined. Use a spatula to scrape down the sides of the bowl and stir the batter from the bottom to the top to ensure it’s well mixed.
  4. Using a large cookie scoop, divide the batter evenly, filling each liner 2/3 full. Bake at 350°F for 14-16 minutes. Test the cupcakes for doneness by inserting a toothpick into the center of the cupcake. If the toothpick comes out clean, the cupcakes are done. Cool Completely.

For the Frosting

  1. Cut the butter into 1-inch blocks. Beat the butter until it’s whipped and fluffy and resembles the spreadable consistency of cream cheese.
  2. Then add the cream cheese and cream together for 2-3 minutes until fluffy and free of lumps, scraping down the bowl occasionally.
  3. Add the cocoa powder and vanilla extract and beat until well combined. Next, add the confectionary sugar 2 cups at a time, followed by one tablespoon of heavy whipping cream, and beat for 60-90 seconds until completely smooth.
  4. Add the remaining powdered sugar and beat until desired consistency, at least 2 minutes. If frosting seems too thin, add an additional ½ cup of powdered sugar at a time. If the frosting seems to thick, add 1 tablespoon heavy cream.
  5. Pipe the frosting over the cooled cake and then cover it with sprinkles. 

Notes

If you’d like the original frosting recipe, it is this Chocolate Fudge Frosting.

Ingredient Notes

  • Sour cream: use a plain or Greek yogurt
  • Buttermilk substitute: You can use milk or make homemade buttermilk. To make homemade buttermilk, use 1 tablespoons of lemon juice or vinegar and then add enough milk to make 1 cup. Allow to sit for 5-10 minutes and then stir.

Storage Instructions

  • Whenever possible, cupcakes should be stored in an airtight container at room temperature. If you live in a hot and humid environment, you may want to store this in the refrigerator. Serve at room temperature.
  • Freezing: Flash-freeze the baked and cooled cupcakes on a baking sheet until they’re solid, and transfer them to an airtight, freezer-safe container. Freeze your cupcakes for up to 1 month and defrost them at room temperature before frosting.

Nutrition

  • Serving Size: 1 slice
  • Calories: 406
  • Sugar: 43.3 g
  • Sodium: 231.2 mg
  • Fat: 19.3 g
  • Saturated Fat: 12.2 g
  • Carbohydrates: 56.2 g
  • Fiber: 1.2 g
  • Protein: 4.6 g
  • Cholesterol: 96.7 mg