Subscribe to get new recipes straight to your inbox!

    Moist Yellow Cake Recipe

    This rich, buttery, super tender yellow cake recipe is made entirely from scratch and is the best I’ve had. Its made up of moist vanilla cake layers that have extra egg yolks (for a richer flavor and color), followed by a super smooth, creamy and not-too-sweet chocolate buttercream. Perfect for celebrations!

    Yellow cake recipe

    What is a Yellow Cake?

    A yellow cake is a classic vanilla-flavored cake known for its characteristic golden hue (it has more of a yellow color compared to a traditional vanilla cake or white cake). This is usually achieved by using whole eggs and butter in the batter, and some recipes (like mine) also use extra egg yolks to add extra flavor, richness and color to the batter.

    Yellow cakes have a wonderful moist and fluffy texture and are often paired with chocolate frosting. They’re a popular choice for birthday cakes and other celebrations!

    Why You’ll Love This Yellow Cake

    When I say this homemade yellow cake recipe is one of the best I’ve tried, I honestly mean it. It is so much better than boxed cake mixes, trust me! Here are a few things about it that I think you’ll love 🙂

    Moist & Fluffy

    This yellow cake is SUPER moist and fluffy. When recipe testing, some of my taste testers said that it almost tasted like a sponge cake because of how soft it was!

    This recipe uses a combination of butter and oil for a super moist crumb (oil is liquid at room temperature so adds more moisture to the cake), and buttermilk for a fluffy texture. I also use vinegar in this recipe to provide extra lift (when reacting with the baking soda), which contributes to how fluffy the cake is as well. For more info on the benefits of using vinegar in baking, click here.

    I also opted to use cornstarch in this recipe for a softer texture. When paired with all purpose flour, it helps to mimic cake flour. For more information on this, check out this blog post.

    Ingredients

    The base yellow cake recipe uses common household ingredients that you probably already have on hand, besides maybe the buttermilk! No stress though, as you can make a homemade buttermilk substitute if you don’t have any buttermilk on hand 🙂

    Chocolate Frosting

    When experimenting with this recipe, I tried a few different chocolate frostings. I recently released a chocolate sheet cake recipe that has a easy chocolate fudge frosting and I initially paired the yellow cake with that frosting. I felt the frosting was a bit strong though and overpowered the flavor of the yellow cake.

    I then decided to experiment with something a bit more light and fluffy, and decided to turn my silky smooth buttercream frosting recipe into a chocolate frosting by adding in some melted dark chocolate and cocoa powder. This created a wonderful chocolate frosting that had good chocolate flavor, but still allowed the cake to shine as well!

    How to Make Yellow Cake

    This section will run you through the process of making the yellow cake with pictures. For the full written recipe and ingredient quantities, head to the recipe card at the bottom of the blog post (or click the ‘jump to recipe’ button at the top of the page).

    Yellow Cake

    Preheat oven to 180°C (350°F) conventional and grease and/or line two 8-inch cake pans (I use my homemade cake release). If using a convection oven, decrease the temperature to 160°C (320°F).

    In a bowl, sift together flour, cornstarch, baking soda, baking powder and salt. Using a whisk or fork, mix until well combined. Set aside.

    yellow cake

    In a large bowl, add in butter, vegetable oil and sugar. Using an electric hand mixer (or stand mixer), cream together for 2 minutes until light and creamy.

    Add in eggs one by one, mixing well in between each addition (about 10-15 seconds between eggs).

    yellow cake

    Add in egg yolks and mix until well combined.

    Add in vanilla, vinegar and buttermilk and mix until well combined. Now set your mixer aside as the remainder of the batter will be finished by hand.

    yellow cake

    Finish off by adding the flour mixture to your wet mixture, and gently fold with a spatula until just combined. Avoid overmixing (only mix until you can’t see anymore streaks of unmixed flour and the batter is uniform).

    yellow cake

    Pour the cake batter evenly into the two prepared pans. Drop the 8-inch pans lightly on the counter to remove any large air bubbles and bake for 38-40 minutes or until a toothpick comes out clean or with a few moist crumbs on it.

    yellow cake

    Once baked, allow the cake layers to cool in the cake tins for 20 minutes, before turning them out onto a wire rack to completely cool.

    yellow cake

    Chocolate Buttercream Frosting

    In a microwave safe bowl add in chocolate (break into smaller pieces if using a chocolate block), and melt in the microwave for 30 second bursts at a time, mixing in between each burst until the chocolate is almost melted (be careful not to overheat it otherwise the chocolate can burn – you can use a bain marie/double boiler if you prefer). Let the chocolate sit for a few minutes and then mix until smooth. Set aside to cool.

    In a large bowl (or the bowl of a stand mixer), add in butter, powdered sugar, vanilla and heavy cream. Mix on the lowest speed until the ingredients are combined, and then turn up the speed to a medium high and mix for a full 10 minutes. Scrape the bowl down half way through. The frosting should be fluffy and smooth.

    yellow cake

    Add in the cocoa powder and cooled melted chocolate. Mix until well combined and smooth.

    yellow cake

    yellow cake

    Assembly (see video for demonstration)

    Trim off the tops of the cake layers with a serrated knife so that they’re nice and flat. I like to trim the edges too but this is optional.

    Place the first cake layer onto a serving plate/cake stand and spread out a generous amount of frosting. I like to use my offset spatula for this.

    yellow cake

    Place the next cake layer on top and spread out more frosting on the top and a thin layer on the sides of the cake.

    yellow cake

    Using a 1M piping tip, pipe some cupcake swirls on the top of the cake (or any piping you like). Slice and enjoy!

    yellow cake

    How to Store Yellow Cake

    This yellow cake can be kept at room temperature in an airtight container for a few days, after which it’s best to place in the fridge for up to a week.

    Yellow cake recipe

    Moist Yellow Cake Recipe

    4.97 from 28 votes
    Print Pin Video
    This rich, buttery, super tender yellow cake recipe is made entirely from scratch and is the best I've had. Its made up of moist vanilla cake layers that have extra egg yolks (for a richer flavor and color), followed by a super smooth, creamy and not-too-sweet chocolate buttercream. Perfect for celebrations!
    Prep: 15 minutes
    Cook: 38 minutes
    Cooling Time: 1 hour
    Total: 1 hour 53 minutes
    Servings: 12 large slices
    Author: Cakes by MK

    IMPORTANT: For accuracy, I would recommend using the gram measurements provided, as those are the exact quantities I use. Cup measurements are given as estimates (based on US cup measurements) to make it easier for those who do not have a scale.

    Ingredients
     

    Yellow Cake

    • 2⅓ cups (295 g) all purpose flour
    • ¼ cup (30 g) cornstarch
    • ½ tsp baking soda
    • 1 tsp baking powder
    • ½ tsp salt - omit if using salted butter
    • ½ cup (113 g) unsalted butter - room temperature
    • ½ cup (105 g) unflavored vegetable oil - I use canola oil
    • 1⅔ cups (332 g) white granulated sugar
    • 2 large eggs - room temperature
    • 3 large egg yolks - room temperature
    • tbsp vanilla extract/essence
    • 1 tsp white vinegar
    • cups (285 g) buttermilk - room temperature

    Chocolate Buttercream Frosting

    • cups (215 g) dark chocolate - I use 50% dark chocolate, but any good quality semi-sweet chocolate will work (I don't recommend using compound chocolate, stick with couverture)
    • cups (340 g) unsalted butter - room temperature
    • 3 cups (375 g) powdered sugar - also known as icing/confectioners sugar
    • 2 tsp vanilla extract/essence
    • cup (80 g) heavy cream - room temperature
    • ½ cup (50 g) natural cocoa powder - you can use Dutch processed too, but it will make the frosting more dark as opposed to light brown

    Instructions

    • IMPORTANT: For this yellow cake recipe I would highly recommend using gram measurements, especially for the flour for accurate results. It has a high fat/liquid ratio so slight adjustments to the quantities can throw off the balance of the cake 🙂

    Yellow Cake

    • Preheat oven to 180°C (350°F) conventional (see note 1 if using a convection oven with a fan) and grease and/or line two 8 inch cake tins (I use my homemade cake release).
    • In a bowl, sift together flour, cornstarch, baking soda, baking powder and salt. Using a whisk or fork, mix until well combined. Set aside.
    • In a large bowl, add in butter, vegetable oil and sugar. Using an electric mixer (hand or stand mixer are both fine - see note 2), cream together for 2 minutes until light and creamy.
    • Add in eggs one by one, mixing well in between each addition (about 10-15 seconds between eggs).
    • Add in egg yolks and mix until well combined.
    • Add in vanilla, vinegar and buttermilk and mix until well combined. Now set your mixer aside as the remainder of the batter will be finished by hand.
    • Finish off by adding in your premixed dry ingredients to your wet mixture, and gently fold with a spatula until just combined. Avoid overmixing (only mix until you can't see anymore streaks of unmixed flour and the batter is uniform).
    • Distribute the batter evenly into the two 8 inch cake tins. Drop the cake tins lightly on the counter to remove any large air bubbles and bake for 38-40 minutes or until a toothpick comes out clean or with a few moist crumbs on it.
    • Once baked, allow the cake layers to cool in the cake tins for 20 minutes, before turning them out onto a wire rack to completely cool.

    Chocolate Buttercream Frosting

    • In a microwave safe bowl add in chocolate (break into smaller pieces if using a chocolate block), and melt in the microwave for 30 second bursts at a time, mixing in between each burst until the chocolate is almost melted (be careful not to overheat it otherwise the chocolate can burn - you can use a bain marie/double boiler if you prefer). Let the chocolate sit for a few minutes and then mix until smooth. Set aside to cool.
    • In a large bowl (or the bowl of a stand mixer), add in butter, powdered sugar, vanilla and heavy cream. Mix on the lowest speed until the ingredients are combined, and then turn up the speed to a medium high and mix for a full 10 minutes. Scrape the bowl down half way through. The frosting should be fluffy and smooth (see note 3 if it's not).
    • Add in the cocoa powder and cooled melted chocolate. Mix until well combined and smooth.

    Assembly (see video for demonstration)

    • Trim off the tops of the cake layers with a serrated knife so that they're nice and flat. I like to trim the edges too but this is optional.
    • Place the first cake layer onto a serving plate/cake stand and spread out a generous amount of frosting.
    • Place the next cake layer on top and spread out more frosting on the top and sides of the cake.
    • Using a 1M piping tip, pipe some cupcake swirls on the top of the cake (or any piping you like). Slice and enjoy!

    Video

    Notes

    Note 1. The fan forced (convection) function cooks cakes/cupcakes faster, so if baking on this mode then you will need to decrease the baking temperature to 160°C (320°F) so that the cake bakes at the same rate as mine 🙂
    Note 2. If using a stand mixer, then use the paddle attachment for the initial mixing, but continue to do the last step by hand as stated in the recipe.
    Note 3. If you find that your buttercream is a bit firm and has a lot of holes, then it means that either the butter or cream was too cold. To fix this, gently heat the buttercream in the microwave for 5 second bursts (don't heat it for too long otherwise the buttercream will melt), mixing in between each burst until the frosting is softer in consistency and you can easily mix it, and then rewhip it for a few minutes.

    Nutrition

    Calories: 908kcal | Carbohydrates: 96g | Protein: 8g | Fat: 56g | Saturated Fat: 30g | Polyunsaturated Fat: 8g | Monounsaturated Fat: 15g | Trans Fat: 1g | Cholesterol: 174mg | Sodium: 235mg | Potassium: 295mg | Fiber: 4g | Sugar: 67g | Vitamin A: 1260IU | Vitamin C: 0.04mg | Calcium: 98mg | Iron: 4mg

    Nutritional information are estimates only as they are automatically calculated by a third party application. Actual values may differ based on brands and types of products used.

    Keyword: classic yellow cake recipe, yellow cake, yellow cake from scratch, yellow cake recipe, yellow cake recipe from scratch, yellow cake with chocolate frosting
    Tried this recipe?I love hearing from you! Tag me @cakesbymk.nz on instagram so I can see your amazing creations 🙂

     

    More Recipes

    55 Comments

    • Rhonda

      5 stars
      I found this recipe after searching for a moist homemade yellow cake recipe and boy am I glad I picked this one! I made it for my Sister-in-law’s 60th birthday. It was a huge hit! Moist, light, fluffy and tasty. I immediately pinned for later use! Thank you Maryam!

      • Cakes by MK

        Aww yay! So glad to hear everyone loved the recipe Rhonda 😀

    • Tom

      5 stars
      Love this cake
      How can I convert this to fit a 9×13 without losing it’s height

      • Cakes by MK

        So glad you loved the recipe Tom! 🙂
        1x this recipe is perfect for a 9×13 inch pan just reduce the cook time slightly so it doesn’t overbake 🙂

    • Melissa Lewis

      5 stars
      This is the best yellow cake ever. I’m extremely picky about cake and this has a delightful crumb, stays moist, and tastes amazing, even if you forget the cornstarch. lol

      I top it with my own salted vanilla frosting and it’s so addictive I can’t stop eating it. I made it for my birthday and I ate 80% of it.

      • Cakes by MK

        Haha I love that Melissa! Thanks so much for the wonderful feedback so glad you enjoyed the recipe 🙂

    • Cheri

      5 stars
      If I am using a 9+13 pan what temperature would I use? And how long to cook it? Thank you!

      • Cakes by MK

        Hi Cheri! 😊
        You can use the same oven temperature as the recipe states. The bake time will be a bit shorter in a 9×13 pan, I’d check around the 28 minute mark and bake more as needed. Hope that helps and hope you enjoy the recipe! 😊

    • Theresa

      Can I use 2 9inch cake bake pans instead?

      • Cakes by MK

        Hi Theresa!
        Yes, you can use two 9-inch cake pans instead. Just keep an eye on the baking time as they will likely cook a little faster than the original pan size, so check with a toothpick for doneness slightly earlier than the stated cook time. Hope that helps and hope you enjoy the recipe! 😊

    • Renee

      5 stars
      I truly love to watch your videos. I did have a question. I noticed that you use all-purpose flour instead of cake flour. Please let me know why you didn’t., I have been researching and it says that cake flour makes cakes fluffier. Do you think that it would be okay to use the cake flour instead? When baking cakes I prefer using that kind of flour. Also would I need to adjust any of the ingredients in your recipe? Thank you again in advance. Looking forward to watching more of your wonderful videos. Renee

      • Cakes by MK

        Hi Renee! So happy to hear you’re enjoying the videos 😀
        For more information on why I don’t use cake flour, check out this blog post: https://cakesbymk.com/recipe/cake-flour-substitute/
        For most of my recipes where I use all-purpose flour and cornstarch in a similar ratio to a cake flour substitute (like in this yellow cake recipe), you should be able to use cake flour in replacement of the all purpose flour and cornstarch 🙂
        Hope that helps and hope you enjoy the recipe!

    • DJ

      I will try this eventually. I just went and bought all the ingredients but I don’t have an 8 inch pan. Nor is there one store in my vicinity that sells 8 inch pans. Only 9. Walmart, Target, etc. So I’ll have to order from amazon.

      • Cakes by MK

        Hi DJ! 🙂
        For this recipe you’ll need two pans, and you could get away with 9 inch pans if you’re okay with thinner cake layers (you will just need to reduce the cook time so the layers don’t overbake), or you could make 1.5x the recipe for thicker 9inch cake layers 🙂
        Hope that helps and hope you enjoy the recipe!

    4.97 from 28 votes (16 ratings without comment)

    Leave a Reply

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

    Recipe Rating





    About me

    Welcome to my blog! My name is Maryam and I LOVE baking! :) I hope to provide you with the tools (i.e. simple, from-scratch, quality tested recipes), so that you can confidently bake up delicious treats to share with your family and friends!

      Categories
      Tips & Tricks
      Specialty Desserts
      Single Layer Cakes
      Sheet Cakes
      Quick Desserts
      Puddings & Custards