Homemade Yellow Cake

Everyone will devour this Homemade Yellow Cake recipe. It’s rich, tender, and made from scratch with ease.

Homemade yellow cake with chocolate frosting and sprinkles in a baking pan.

This Homemade Yellow Cake is the kind of classic dessert that never goes out of style, with its soft, buttery crumb and warm vanilla flavor that tastes far richer than anything from a box mix. Made with butter, fresh eggs, and just the right touch of sugar, it bakes up tender, moist, and perfectly golden every time. The texture is light yet sturdy enough to hold a thick layer of chocolate frosting, making it ideal for birthdays, celebrations, or simple weeknight treats.

Yellow cakes are often called yellow butter cakes and are ultra-rich, moist, tender, and fluffy. Everyone needs a good scratch yellow cake recipe in their recipe box, and this one takes the cake! For more must-make cake recipes, try my Homemade Funfetti Cake, Tres Leches Cake, and Classic Carrot Cake.

Why We Love This Simple Yellow Cake

  • Homemade Yellow Cake makes the perfect birthday cake—it’s a classic favorite that everyone looks forward to.
  • Trust me, making it from scratch is worth the little bit of extra effort.
  • This cake stays fresh and tasty for days, delicious to enjoy throughout the week.

Recipe Ingredients

A slice of frosted yellow cake with sprinkles on a plate.
  • Vanilla Extract: Brings a warm, sweet aroma that makes the whole cake taste amazing.
  • Full-Fat Sour Cream: Keeps the cake super moist and adds a nice tangy flavor.
  • Unsweetened Cocoa Powder: Gives the frosting a deep, rich chocolate flavor.

See the recipe card for full information on ingredients and quantities.

Variations

  • Plain Milk Substitute: Try swapping out the plain milk with buttermilk for an extra soft and tender cake.
  • Frosting Options: Besides the classic chocolate frosting, you can try cream cheese frosting for a tangy twist, or a light and fluffy whipped cream frosting for a less sweet alternative. For a rich and decadent touch, consider using chocolate ganache made from dark chocolate and heavy cream.

How to Make Homemade Yellow Cake

Step 1: Preheat oven to 350°F (175°C). Lightly spray a 9×13 inch pan with baking spray, or line with parchment paper. Set aside.

Step 2: In the bowl of a stand mixer fitted with the paddle attachment, or a large mixing bowl with a handheld mixer, add the butter. Beat on medium-low speed for 3 minutes or until light. Add sugar and beat on medium speed for 1 minute.

Step 3: Add eggs one at a time, mixing well after each addition. Add the vanilla, sour cream, milk (or buttermilk), and the food coloring, and mix just until combined.

Vanilla cake batter in a mixing bowl.

Step 4: In a medium mixing bowl, whisk together the flour mixture, baking soda, and salt. With mixing speed on low, gradually add the dry ingredients. Mix on medium for 15 seconds.

Step 5: Pour the cake batter into the prepared pan. Spread into a smooth, even layer.

Step 6: Place in the oven and bake for 25-30 minutes or until the top springs back when touched. Remove from the oven and allow to cool for at least 30 minutes before frosting.

To Make the Frosting

Step 1: In the bowl of a stand mixer fitted with the paddle attachment, or a large mixing bowl with a handheld attachment, add the butter. Beat on medium-high speed for 2 minutes.

Step 2: With mixing speed on low, gradually add the powdered sugar, cocoa powder, milk, corn syrup, vanilla, and salt.

Step 3: Carefully bring the speed up to medium-high, and beat for 2 minutes.

Chocolate frosting in a glass bowl.

Step 4: Spread over the cooled cake, and decorate as desired.

Spreading chocolate frosting on a homemade yellow cake.

FAQs

Do I need an electric hand mixer to make my Homemade Yellow Cake recipe?

No, you don’t need an electric mixer. While it makes things easier and quicker, you can absolutely mix the batter by hand with a whisk. It just takes a bit of elbow grease to get it nice and smooth.

What makes yellow cake different from white cake?

Yellow cake is made with whole eggs and butter, giving it a pale yellow color. White cake uses only egg whites and shortening instead of butter, which gives it a white appearance.

Storage Info

To STORE Homemade Yellow Cake, cover it tightly and keep it at room temperature in an airtight container for up to 3-5 days. For longer storage, you can FREEZE the cake for up to 3 months by wrapping it in plastic wrap and aluminum foil.

To REHEAT, let it thaw at room temperature, then warm individual slices in the microwave for 10-15 seconds.

Close-up of simple yellow cake with chocolate frosting and colorful sprinkles.

Did you try this recipe? Leave a ⭐️ rating below and share it on Instagram, Facebook and Pinterest!

Simple yellow cake with chocolate frosting and sprinkles in a baking pan.

Homemade Yellow Cake Recipe

Everyone will devour this Homemade Yellow Cake recipe. It's rich, tender, and made from scratch with ease.
5 from 7 votes
Pin Rate
Course: Dessert
Cuisine: American
Diet: Vegetarian
Prep Time: 45 minutes
Cook Time: 22 minutes
Total Time: 1 hour 7 minutes
Servings: 20 slices
Calories: 423kcal
Author: Andrea
Print (email required)

Ingredients

  • 1 cup unsalted butter - (2 sticks), room temperature
  • 1 2/3 cup granulated sugar
  • 2 eggs - room temperature
  • 2 tsp vanilla extract*
  • 1/2 cup full-fat sour cream - room temperature
  • 1 cup whole milk - OR buttermilk, room temperature
  • yellow food coloring - optional
  • 2 1/2 cup all-purpose flour
  • 1 tsp baking soda
  • 1/2 tsp kosher sea salt

For the Frosting

  • 1 cup unsalted butter - (2 sticks), room temperature
  • 4 1/4 cup powdered sugar
  • 3/4 cup unsweetened cocoa powder
  • 1/3 cup whole milk
  • 1 tbsp light corn syrup
  • 2 teaspoons vanilla extract
  • pinch kosher sea salt
Save this recipe!
Get this sent to your inbox, plus get new and favorite recipes from us!

Instructions

  • Preheat oven to 350°F (175°C). Lightly spray a 9×13 inch pan with baking spray, or line with parchment paper. Set aside.
  • In the bowl of a stand mixer fitted with the paddle attachment, or a large mixing bowl with a handheld mixer, add the butter. Beat on medium-low speed for 3 minutes or until light. Add sugar and beat on medium speed for 1 minute.
  • Add eggs one at a time, mixing well after each addition. Add the vanilla, sour cream, milk (or buttermilk), and the food coloring, and mix just until combined.
  • In a medium mixing bowl, whisk together the flour mixture, baking soda, and salt. With mixing speed on low, gradually add the dry ingredients. Mix on medium for 15 seconds.
  • Pour the cake batter into the prepared pan. Spread into a smooth, even layer.
  • Place in the oven and bake for 25-30 minutes or until the top springs back when touched. Remove from the oven and allow to cool for at least 30 minutes before frosting.
To Make the Frosting
  • In the bowl of a stand mixer fitted with the paddle attachment, or a large mixing bowl with a handheld attachment, add the butter. Beat on medium-high speed for 2 minutes.
  • With mixing speed on low, gradually add the powdered sugar, cocoa powder, milk, corn syrup, vanilla, and salt.
  • Carefully bring the speed up to medium-high, and beat for 2 minutes.
  • Spread over the cooled cake, and decorate as desired.

NOTES

  • I like to add an additional 1 tsp of buttery vanilla emulsion to this recipe.
To STORE Homemade Yellow Cake, cover it tightly and keep it at room temperature in an airtight container for up to 3-5 days. For longer storage, you can FREEZE the cake for up to 3 months by wrapping it in plastic wrap and aluminum foil.
To REHEAT, let it thaw at room temperature, then warm individual slices in the microwave for 10-15 seconds.

Nutrition

Serving: 20serving | Calories: 423kcal | Carbohydrates: 58g | Protein: 4g | Fat: 21g | Saturated Fat: 13g | Polyunsaturated Fat: 1g | Monounsaturated Fat: 5g | Trans Fat: 1g | Cholesterol: 71mg | Sodium: 132mg | Potassium: 111mg | Fiber: 2g | Sugar: 44g | Vitamin A: 653IU | Vitamin C: 0.1mg | Calcium: 41mg | Iron: 1mg

Want more inspiration?

More Recipes You'll Love

About the Author

Andrea

Hi I'm Andrea!

Hotelier turned Food Blogger to help make your life simple, one recipe at a time.

5 from 7 votes (1 rating without comment)

Join the Conversation

Rate and Comment

Your email address will not be published. Required fields are marked *

Please click on the Stars below to share your Rating of this Recipe




Comments: