Skip to Content

Best Yellow Cake Recipe

Having a good yellow cake recipe up your sleeve is always a good idea.

A lot of people grew up eating yellow cake, and I feel like it has a special place in so many of our hearts.

While most of us enjoyed yellow cake in the form of a sheet cake, there’s nothing stopping us from transforming that delicious childhood favorite into an amazing yellow layer cake!

Sheet cakes are definitely easier, and quicker to decorate, but (as I’m sure you know by now) I just love making layer cakes.

What Makes A Cake A Yellow Cake?

When you ask someone what the defining characteristics of a yellow cake are, a lot of people don’t really know!

They know it has a tender crumb, and a buttery taste, but beyond that most people aren’t sure.

In my head, every yellow cake also has an amazing chocolate buttercream frosting 🙂


Yellow cake recipes always call for butter as the fat. This gives the cake its buttery taste, and tender crumb.

It also helps contribute to the yellow color of the cake layers.

I usually use butter that is pretty light in color, but this is one situation where I encourage you to use as yellow of a butter as you can find!

Some brands of butter are more yellow than others.

This can be based on the diet of the cows. Cows that eat a lot of grass make yellower butter due to the beta carotene in the grass. Some brands also add artificial coloring (always check the ingredients).

I’ve found that artisanal and/or organic butter usually have a deeper color.

image of yellow cake slice close up

Whole Eggs

Another defining factor in a yellow cake recipe? Lots of eggs!

A lot of white cake recipes (like my WASC cake)just use egg whites, so using whole eggs add to both the color and the flavor of the cake. The yolks add a richer taste to the cake.

Similar to my sentiments above, I recommend using brown eggs instead of white eggs. They have a darker colored yolk, which will also help make the batter actually look yellow!

One of my pet peeves is when a “yellow cake recipe” makes relatively white cake layers.

The recipe will still taste great if you use white eggs, but the color of the batter will be more yellow if you opt for brown eggs.

Chocolate Buttercream

The final component of a yellow cake is the frosting!

To truly be a yellow cake recipe, a cake has to have chocolate frosting. The two go hand in hand!

photo of easy yellow layer cake with chocolate buttercream

I use my chocolate buttercream in this yellow cake recipe, because it is my favorite!!

It uses both cocoa powder AND melted chocolate, which gives it a rich chocolate flavor.

I chose to use milk chocolate, but you can also use dark chocolate if you prefer.

Decorating This Cake

Sticking with theme of the simple, delicious cakes we remember eating as kids, I kept the decoration of this cake pretty simple.

In fact, I used a spoon to decorate it!!

I made some swooshes in my chocolate buttercream, them swirled in a bit of melted dark chocolate.

The look only took a few minutes to make, and was such a fun change of pace!

photo of decorating a cake with a spoon

This is also a great decoration design if you struggle to get smooth sides on your cake.

Tips for Making The Best Yellow Layer Cake:

  • Take the time to properly cream together your butter and sugar! This incorporates air into the butter, and gives your cake that perfectly fluffy texture
  • Be sure to properly measure your flour (spoon into the cup measure then level) or use a kitchen scale to measure your dry ingredients
  • Chill your cake layers in the freezer for about 20 minutes before assembling the cake, to make it easier to stack and frost.
  • Mix your cake batter just until the ingredients are incorporated; this will ensure your cake layers are tender and fluffy
  • If you want to make a yellow sheet cake, use my yellow sheet cake recipe to make a 9x13in cake.

Making These Cake Layers in Advance and Storage Tips:

  • Make your cake layers in advance and freeze them: It breaks the process up and make it more approachable.
  • Make your frosting ahead of time too, or save any leftover frosting! It can be stored in an airtight container in the fridge for up to a month, or in the freezer for up to 3 months. Be sure to give it a good stir once it thaws to get the consistency nice and smooth again.
  • A frosted cake can last in the fridge for up to a week, or in the freezer for up to a month. The buttercream locks in all the moisture, keeping the cake fresh and delicious!
  • If you cut into the cake and have leftovers, use any remaining frosting to cover the cut section to keep it moist and store in the fridge for up to a week.
image of chelsey white with yellow cake

Let Me Know What You Think!

If you make this yellow cake recipe, I’d love to hear how it goes! Please leave a rating, and let me know your thoughts by sharing a comment 🙂

Or if you share your creations on social media, be sure to tag me @chelsweets!

Yield: 24

Best Yellow Cake Recipe

image of the best yellow cake recipe, sliced and frosted with chocolate buttercream

This is my go-to yellow layer cake recipe! It makes soft, tender, yellow cake layers that are frosted with irresistible chocolate buttercream!

Prep Time 10 minutes
Cook Time 35 minutes
Additional Time 30 minutes
Total Time 1 hour 15 minutes


Yellow Cake Ingredients

  • 2 cups granulated sugar (400 grams)
  • 1 cup unsalted butter, room temperature (226 grams) – 2 sticks
  • 1/2 tsp salt (3 grams)
  • 1 Tbsp. vanilla extract (12 grams)
  • 3 1/2 cups cake flour (420 grams)
  • 1 1/2 Tbsp baking powder (18 grams)
  • 5 large eggs, room temperature (280 grams)
  • 1 1/3 cup buttermilk, room temperature (303 grams)
  • 1/4 cup vegetable oil (56 grams)

Chocolate Buttercream Frosting

  • 2 cups (or 4 sticks) unsalted butter, room temperature (452 grams)
  • 6 cups powdered sugar (750 grams)
  • 1 1/3 cups of melted dark chocolate, cooled (232 grams)
  • 1 cup unsweetened baking cocoa, sifted (100 grams)
  • 1/2 tsp salt (3 grams)
  • 1/2 cup heavy cream (115 grams)

For the Decoration

  • spoon
  • 1/3 cup dark chocolate, melted and cool


Yellow Cake Layers

    1. Preheat oven to 350°F. Line 4, 7-inch or 3, 8-inch cake pans with parchment paper, and spray with nonstick baking spray.
    2. Place the butter and sugar in the bowl of a stand mixer. Beat on medium high speed using a whisk attachment for 2 minutes, to incorporate air into mixture.
    3. Mix in the eggs on a low speed, two at a time. Scrape down the sides of the bowl as needed with a rubber spatula
    4. In a separate bowl, whisk together the dry ingredients (cake flour, baking powder, and salt).
    5. Add 1/3 of the dry ingredients into the butter mixture and mix on a low speed.
    6. Mix in half of the buttermilk (1/2 cup) on a low speed.
    7. Repeat this process, finishing with the last 1/3 of the dry ingredients.
    8. Mix in the vanilla extract and oil, the pour the batter into the prepared pan.
    9. Tap the pans on your counter to remove any air bubbles, then bake for 25-26 minutes.
    10. Allow the cake to cool in the pan for about 15 minutes, then carefully flip it onto a cooling rack to finish cooling.

Chocolate Buttercream Frosting

  1. While the cake layers bake and cool, make the chocolate buttercream frosting.
  2. Beat the butter on a medium speed for 30 seconds with a paddle attachment, until smooth. 
  3. Add in the sifted cocoa, and mix on low until the cocoa is fully incorporated, and no clumps remain.
  4. Slowly add in the powdered sugar, 1 cup at a time. Alternate with small splashes of cream.
  5. Mix in the cooled, melted chocolate.
  6. Once fully mixed, add in the salt.
  7. Beat on low until the ingredients are fully incorporated, and the desired consistency is reached.
  8. If the frosting is too thick, add an extra Tbsp of heavy cream. If it's too thin, add in another 1/2 cup of powdered sugar.
  9. Stir by hand with a rubber spatula for a couple minutes to get the frosting SUPER smooth.

To Assemble The Cake:

  1. Stack and frost cake layers on a greaseproof cake board, using a dab of frosting to help stick the first cake layer to the board.
  2. Add an even layer of chocolate buttercream between each cake layer.
  3. Apply a thin coat of frosting around the the cake, to fully cover the cake layers. Smooth using a bench scraper, then chill the cake in the fridge (10 minutes) or freezer (5 minutes) until the frosting is firm to the touch.
  4. Add a second, thicker layer of frosting to the cake, and smooth using a bench scraper.
  5. Use a spoon to make swirls in the frosting, then dip the back of the spoon into the melted dark chocolate, and add some chocolate swoops.


These cake layers can be made in advance!! Learn more about how far in advance they can be made, and how to properly wrap them in my post on how to make cake layers ahead of time.

This buttercream can also be made in advance!! I highly recommend making it ahead of time to make the decoration of a cake less stressful and more fun. It keeps in the fridge for several weeks, if stored in an airtight container.

When you're ready to use the chilled buttercream, remove it from the fridge a few hours in advance (or overnight) and allow it to come to room temperature. Give it a good stir with a rubber spatula or your kitchen aid, to get rid of any air bubbles that may have formed. Once the buttercream is smooth again, it's ready to use!

Nutrition Information



Serving Size


Amount Per Serving Calories 479Total Fat 19gSaturated Fat 10gTrans Fat 0gUnsaturated Fat 8gCholesterol 69mgSodium 244mgCarbohydrates 72gFiber 2gSugar 52gProtein 5g

Linda kraner

Sunday 3rd of September 2023

How??much batter needed for one layer 12 inch round cake!? Thank you linda

Linda kraner

Monday 28th of August 2023

I cannot wait to make your yellow cake , chocolate cake and vanilla bean cake. What is the correct temp for baking? 350 or 325? Plus. Can u make a spice cake using your yellow cake recipe and can u make a strawberry cake or cupcakes from your vanilla bean cake? Thank you so much.


Tuesday 18th of July 2023

I wish i could submit a photo. The dark chocolate swirls didnt stand out on the chocolate frosting at all. Wonder what happened. But this is by far the mosy delicious yellow cake and most divine chocolate frosting i have ever made. Thank you for the recipe.??


Sunday 23rd of July 2023

Hi Via,

So happy to hear you loved this recipe!! But that is a bummer about the swirls! I have to use a pretty high % dark chocolate to get the swirls to show, usually anything about 70% works for me. Do you know what type of chocolate you used for the swirls? Hopefully we'll be able to figure it out together!

Katrina Johnson

Friday 5th of May 2023

Hey Chelsey! Just wondering, can I substitute all purpose flour instead of using cake flour? I know there will be a slight texture difference but I'm wondering if it would be that big of a difference?


Monday 8th of May 2023

Hi Katrina,

Great question! You can substitute it, but the texture of the layers will be way different! I like my yellow cake to be super soft and the cake flour helps achieve that texture. It'll still taste great with AP flour, but the texture will be less soft. Hope that helps, happy baking!


Tuesday 25th of April 2023

Can this yellow cake recipe be used for yellow cupcakes?


Sunday 30th of April 2023

Hi Tammi,

Great question! You can use this recipe to make yellow cupcakes. Bake them at 350F / 175C for 17-20 minutes. One batch of batter will make about 3 dozen cupcakes (yield will vary based on the size of your liners). Hope that helps, happy baking!

Skip to Recipe