Yellow Sheet Cake with Chocolate Frosting

This buttery yellow sheet cake is simple and straightforward. Made from basic ingredients, it’s soft, tender, and perfectly moist. Baked in a half sheet pan or quarter sheet pan, this classic birthday cake doesn’t require any special assembly or decoration. Top with my creamy and rich chocolate fudge frosting.

9x13 inch yellow sheet cake in pan

If you’re not making confetti cake, this buttery yellow cake with rich chocolate frosting is the quintessential treat for your birthday candles this year. After plenty of recipe testing, I landed on a simple combination of basic ingredients that yield a tender and flavorful cake crumb.

You know the super moist cakes that stick to your fork? That’s what this is!

This Yellow Sheet Cake Is:

  • Simple to make, assemble, and decorate
  • Flavorful and moist
  • Extra buttery and soft
  • Perfect for a half sheet or quarter sheet pan
  • Covered in fudge-like chocolate frosting
slice of yellow sheet cake with chocolate frosting and sprinkles

Best Ingredients to Use for Yellow Sheet Cake & Why

  • Cake Flour: Cake flour produces a wonderfully light and cakey crumb. I highly recommend it. If you don’t have cake flour, you can use this DIY cake flour substitute.
  • Baking Powder & Baking Soda: I used to make this cake as written below, but with 1 teaspoon of baking soda. (No baking powder.) In recent years, I began using a particular mix of baking powder and baking soda. This change is in the recipe below. The crumb was instantly lifted and the cake was even fluffier. Note: I use a *touch* extra baking powder here than in my layered yellow cake.
  • Salt & Vanilla Extract: Flavor.
  • Unsalted Butter: Like vanilla cake, creamed butter and sugar is the base of this yellow sheet cake. There’s simply no other way to achieve the same cakey and soft crumb. (For denser cakes, such as carrot cake, we use oil since we’re looking for a different texture.) Make sure you are using proper room temperature butter.
  • Granulated Sugar: Sweetens the cake.
  • Eggs: My layered yellow cake uses whole eggs, plus additional egg yolks. In that recipe, I also whip egg whites into peaks before folding into the cake batter. Layer cakes require a little more finesse because you’re stacking cakes on top of one another, squishing them down. I don’t find either addition (more egg yolks and whipped egg whites) necessary here. However, feel free to mix in just the egg yolks where you add the whole eggs in the written recipe below. Then whip the egg whites separately before folding into the batter after you add the milk. I don’t take that extra step here though.
  • Sour Cream: Sour cream promises a tender cake crumb. Plain yogurt works as a substitute if needed.
  • Whole Milk: Liquid is key in most cakes because it thins out the batter. You can use nondairy or lower fat milks in a pinch, but the cake’s texture isn’t as rich or moist.

I use the same ingredients in my yellow cupcakes, too.

yellow cake batter for sheet cake
yellow cake batter in a glass cake pan

Check out this chocolate fudge frosting! It’s the same frosting I use for my piรฑata cake. (Another cake that’s perfect for a birthday celebration.) What I love most about this particular frosting is that it’s dense and smooth, not whipped or fluffy like I usually make it.

The recipe yields enough for a thick layer of frosting.

spreading chocolate frosting on a yellow sheet cake

The Many Benefits of Sheet Cakes

I love sheet cakes because they feed a large crowd, bake up fast, and cool pretty quickly. There’s also no assembly required or special decorating techniques needed.

I call sheet cakes the fuss-free cakes.

You can use a 9×13-inch cake pan for a quarter sheet cake or a 12×17-inch sheet pan for a half sheet cake (pictured below). The quarter sheet cake, which is pictured above, is thicker and requires a little longer in the oven. Both bake times are included below. If sheet cakes are your preference too, try this cookies and cream cake, apple cake, zucchini cake, or funfetti sheet cake next!

slice of yellow cake from a 12x17 inch sheet pan
yellow sheet cake topped with chocolate frosting
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
9x13 inch yellow sheet cake in pan

Yellow Sheet Cake with Chocolate Fudge Frosting

5 Stars 4 Stars 3 Stars 2 Stars 1 Star 4.6 from 73 reviews
  • Author: Sally
  • Prep Time: 30 minutes
  • Cook Time: 22 minutes
  • Total Time: 2 hours
  • Yield: half sheet serves 25, quarter sheet serves 12
  • Category: Cake
  • Method: Baking
  • Cuisine: American
Save Recipe

Description

The ultimate birthday cake is right here! This yellow sheet cake with chocolate fudge frosting is the only yellow cake recipe you’ll ever need.


Ingredients

  • 2 and 1/4 cups (266g) cake flourย (spooned & leveled)
  • 2 and 1/2 teaspoons baking powder
  • 1/4 teaspoon baking soda
  • 1/2 teaspoon salt
  • 1 cup (16 Tbsp; 226g) unsalted butter, softened to room temperature
  • 1 and 1/2 cups (300g) granulated sugar
  • 2 large eggs, at room temperature
  • 2 teaspoons pure vanilla extract
  • 1/2 cup (120g) sour cream, at room temperature*
  • 1 cup (240ml) whole milk, at room temperature*

Chocolate Fudge Frosting

  • 1 cup (16 Tbsp; 226g) unsalted butter, softened to room temperature
  • 4 and 1/2 cups (540g) confectioners’ sugar
  • 3/4 cup (62g) natural unsweetened or dutch-process cocoa powder
  • 1/2 cup (120ml) whole milk
  • 1 Tablespoon light corn syrup*
  • 1 and 1/2 teaspoons pure vanilla extract
  • 1/8 teaspoon salt
  • optional: rainbow sprinkles


Instructions

  1. Preheat oven to 350ยฐF (177ยฐC). Generously grease and lightly flour a 12×17-inch half sheet pan or a 9×13-inch quarter sheet pan. Set aside.
  2. Whisk the cake flour, baking powder, baking soda, and salt together in a large bowl. Set aside.
  3. Using a handheld or stand mixer fitted with a paddle attachment, beat the butter and sugar together on high speed for 3 full minutes. Scrape down the sides and up the bottom of the bowl with a silicone spatula as needed. Turn the mixer down to medium-high speed and beat in the eggs and vanilla extract until combined. Scrape down the sides and up the bottom of the bowl as needed. Beat in the sour cream.
  4. Add 1/2 of the cake flour mixture/dry ingredients and 1/2 of the milk and beat on low speed until combined. Add the remaining dry ingredients and milk and beat on low speed until combined. Do not overmix this batter. The batter will be smooth, velvety, and slightly thick. You may need to whisk it all by hand to make sure there are no lumps at the bottom of the bowl.
  5. Spread the cake batter into the prepared pan. Smooth it out into a thin, even layer. For a 12×17-inch sheet cake, bake for 20-22 minutes or until the top is lightly browned and a toothpick inserted in the center comes out clean. For a 9×13-inch sheet cake, bake for 36-40 minutes or until the top is lightly browned and a toothpick inserted in the center comes out clean. With either size, make sure you rotate the cake pan once or twice during bake time.
  6. Remove from the oven and allow the cake to cool in the pan placed on a wire rack. As the cake cools, make the frosting.
  7. Make the frosting: Using a handheld or stand mixer fitted with a paddle attachment, beat the butter on high speed until pale, smooth, and creamy, about 2 minutes. Using a fine mesh strainer, sift the confectioners’ sugar and cocoa together. Add the sugar/cocoa mixture to the butter, then beat on low speed for 20 seconds. Stop the mixer, then add the milk, corn syrup, vanilla, and salt. Beat on medium-high speed for 2 minutes. If the frosting is too thick, beat in an extra splash of milk.
  8. Frost cooled cake and top with sprinkles.ย Slice and serve.ย Cover leftovers tightly and store in the refrigerator for up to 5 days.

Notes

  1. Make Ahead & Freezing Instructions: Cake can be made 1 day in advance, covered tightly at room temperature, and then frosted right before serving. Frosting can also be made 1 day ahead of time. Cover tightly and refrigerate overnight. Bring frosting to room temperature, then beat the frosting on medium speed for a few seconds so itโ€™s creamy again. Adding a splash of milk will help thin the frosting out, if needed. Frosted or unfrosted cake can be frozen up to 3 months. Thaw overnight in the refrigerator before serving.
  2. Special Tools (affiliate links):ย 12×17-inch Half Sheet Pan or 9×13-inch Quarter Sheet Pan | Glass Mixing Bowl | Whisk | Electric Mixer (Handheld or Stand) | Silicone Spatula | Cooling Rack | Fine Mesh Strainer | Icing Spatula
  3. Cake Flour: Cake flour produces an extra light cake. I recommend it, especially if making the thicker 9×13 inch cake. If desired, you can use the same amount of all-purpose flour instead. The original recipe was written with all-purpose flour. Or you can try this cake flour substitute.
  4. Sour Cream: Full-fat sour cream lends the best flavor. You can substitute plain yogurt in a pinch. I suggest a full-fat variety.
  5. Milk: For a rich and moist cake, I highly recommend whole milk. You can use lower fat or nondairy milk in a pinch, but the cake won’t taste as rich or moist. You can use buttermilk instead, too. I recommend whole milk or even half-and-half in the frosting, but lower fat or nondairy milk works in a pinch.
  6. Corn Syrup: A little corn syrup makes the frosting uniquely glossy and shiny. You can leave it out if you’d like.
  7. Yellow Cupcakes: You can use this cake batter to make about 20 cupcakes. I also have a yellow cupcakes recipe that produces the same buttery moist texture and flavor. If using this cake batter, follow the same baking instructions as the yellow cupcakes.
  8. Yellow Layer Cake: Here is my layered yellow cake recipe.
sally mckenney headshot purple shirt.
About the Author

Sally McKenney

Sally McKenney is a baker, food photographer, and New York Times best-selling author. Her kitchen-tested recipes and step-by-step tutorials have given millions of readers the knowledge and confidence to bake from scratch. Sallyโ€™s work has been featured on TODAY, Good Morning America, Taste of Home, People, and more.

Read More

Leave a Comment

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

Recipe rating 5 Stars 4 Stars 3 Stars 2 Stars 1 Star

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Reader Comments and Reviews

  1. Alexis says:
    November 15, 2025

    Can this recipe be doubled (or maybe it needs to be tripled?) for a layered 1/2 sheet cake?

    Reply
    1. Beth @ Sally's Baking says:
      November 15, 2025

      Hi Alexis, if youโ€™re looking for a thicker cake in a half sheet pan, we recommend multiplying the recipe by 1.5. Doubling it may be a bit too much batter and could lead to uneven baking or spillover. Just keep an eye on the bake time and use a toothpick to test for doneness. (When it comes out clean, the cake is done.) So if you’re layering 2 of this size, you’d need to triple the amounts. For best results, we’d recommend making 1.5x the recipe twice, instead of tripling and then dividing. Hope it turns out great!

      Reply
  2. Shannon says:
    October 18, 2025

    Gosh, was this ever good. I bake a lot and always enjoy trying new cake & frosting flavors, but sometimes you just want a good old-fashioned birthday cake type cake. And this recipe definitely fits that bill. Delicious, soft yellow cake and the fudgy frosting was so smooth and chocolaty. Wonderful recipe that I know I’ll use again when the cake craving hits.

    Which is fairly often in my case.

    Reply
  3. Anita says:
    October 17, 2025

    Love this frosting. I would like to make it a little more firm – what would you suggest, please? Perhaps add some melted bar chocolate? Other? Thanks so much.

    Reply
    1. Lexi @ Sally's Baking says:
      October 17, 2025

      Hi Anita, you can try adding a bit more confectioners’ sugar to help thicken the frosting more. So glad it’s a favorite!

      Reply
  4. Ana says:
    September 19, 2025

    Made this to take over a neighbors house for dinner. Itโ€™s easy and tasty. I used a 9×13 5 qt dish that was labeled as deep dish. So there was no way it was over flowing. I also added espresso powder to the frosting. It was the first time adding corn syrup to my buttercream. Iโ€™ll probably leave it out next time. I donโ€™t think itโ€™s worth buying some if you donโ€™t already have it on hand. I also added more cocoa powder. I find Sallyโ€™s buttercreams to be a little too sweet for me.

    Reply
  5. Becky T. says:
    September 1, 2025

    As always, Sallyโ€™s recipe was a hit! So many compliments! Will definitely be a new favorite!

    Reply
  6. Erica says:
    July 24, 2025

    Followed directions exactly. Didnโ€™t have cake flour so made some with the recipe linked and it was so thin. Used 9×13 pan and itโ€™s only barely over an inch thick. Very disappointing. Tasted great so gave it 2 stars. Not sure what happened

    Reply
    1. Chels says:
      September 12, 2025

      Check your baking soda and baking powder expiration dates, sometimes that can be the issue

      Reply
  7. Abby says:
    July 23, 2025

    I LOVED this recipe!! 5 stars. I baked in a 9×13 glass pan and it was great. I halved the frosting recipe and it was perfect for us. My hubby said it was the best cake Iโ€™ve ever made. So Iโ€™ll be making this again ๐Ÿ™‚ thank you!

    Reply
  8. Tif says:
    July 5, 2025

    My son has gotten into baking, so we originally made a blender cake recipe from a popular cooking show that came out super dense. We decided to try again with this recipe and it came out so soft and fluffy! I think this will be our go-to yellow cake from now on!

    Reply
  9. Ce says:
    June 16, 2025

    Too much sugar and butter for this type of cake, way to much frosting, I won’t make this again..I used a whole pound of butter in the recipe..

    Reply
  10. Chris says:
    June 15, 2025

    This was a miss. It was very crispy around the edges & sunk in the middle. I followed the recipe, weighing everything & baked in a 9×13 metal pan & baked for 40 minutes. It was very dense & didn’t have much flavor. The frosting was great. Everyone tried a slice & no one cared for it. I’m going to throw in in the mixer & make cake pops with what’s left.

    Reply
  11. Cecilia says:
    May 30, 2025

    In the recipe you mention that baking this as a half sheet will yield a thinner cake slice. If I want to bake a thicker half sheet, would you recommend multiplying the recipe by 1.5 or just doubling?

    Reply
    1. Sally @ Sally's Baking says:
      June 7, 2025

      Hi Cecilia! If youโ€™re looking for a thicker cake in a half sheet pan, I recommend multiplying the recipe by 1.5. Doubling it may be a bit too much batter and could lead to uneven baking or spillover. Just keep an eye on the bake time and use a toothpick to test for doneness. (When it comes out clean, the cake is done.)

      Reply
  12. trish says:
    May 26, 2025

    How would this do in a bundt pan? I have an old family recipe for a chocolate chip bundt cake that uses a yellow cake mix from a box and I would love a more homemade version. Also if I do add chocolate chips do you suggest any other changes? Thank you!

    Reply
    1. Michelle @ Sally's Baking says:
      May 26, 2025

      Hi Trish, this batter will fit into a Bundt pan. We’re unsure of the exact bake time. Same oven temperature. You can add chocolate chips here. We recommend lightly tossing the chocolate chips in flour before adding to the batter to help prevent / minimize sinking.

      Reply
  13. Ruth Pitts says:
    May 25, 2025

    This is a great cake but would be super thin in a 1/2 sheet pan and way too much frosting for a 9×13 pan

    Reply
  14. Sarah McLaughlin says:
    April 20, 2025

    Love the cake, but it overflows a quarter sheet pan! I made this cake and chose the quarter sheet pan option only to have my kitchen fill with the smell of burning cake. I looked back at the recipe and saw that you used a 9×13 casserole in the pictures. Please change the directions accordingly.

    P.S. the cake still tasted fantastic!

    Reply
  15. Amelia says:
    April 19, 2025

    Hello! If I use your frosting recipe on some cupcakes a day in advance, will they store well? I would like to finish baking the cupcakes and frost them a day in advance of my party.

    Reply
    1. Trina @ Sally's Baking says:
      April 19, 2025

      Hi Amelia, after decorating anything with buttercream or cream cheese frosting, itโ€™s fine for 1 day at room temperature. After that, we would refrigerate it. But, use your best judgment and whatever you are comfortable with- weโ€™ve never had any problems leaving frosted desserts at room temperature for a day

      Reply
  16. Colleen Gray says:
    March 25, 2025

    Wow, this was the best yellow cake Iโ€™ve ever made!
    I love to bake and I made this for my older sonโ€™s birthday. Our family was there and they all agree, this cake is a home run. Definitely their new favorite.
    I did use the extra dark chocolate in the frosting and filled with chocolate mousse. it turned out so well and I wish there was a place to add a picture to show you the end results.
    Thank you for sharing your recipes with us!

    Reply
  17. Lori Keating says:
    March 11, 2025

    Hi Sally,
    I have a question regarding you Homemade yellow cake recipe however I couldn’t find a place to leave a comment.
    I’m making a spiral cake and would like to use your yellow cake recipe. Since the cake requires some carving I’m wondering if the cake will be sturdy enough to do so.

    Reply
    1. Lexi @ Sally's Baking says:
      March 12, 2025

      Hi Lori, are you looking to make a cake roll like this or a vertical cake like this? We haven’t used this batter in either way, so we’re unsure how it would work. Let us know if you do give it a try.

      Reply
      1. Lori Keating says:
        March 13, 2025

        It’s called a spiral cake as it has a track going up the sides of the layers. Can be used for a race track, a road, train track etc. It involves some carving around the sides in order to carve out the road. It requires a sturdy cake so I’m unsure if either recipe is sturdy enough to withstand carving.

  18. Hannah says:
    March 9, 2025

    Sooo good! Came out perfectly!! First from scratch cake, so relieved it was a success lol!

    Reply
  19. Dawn Theobald says:
    March 8, 2025

    I made the yellow cake for 2 layers recipe, but I put in a 9×13 pan. It was delicious, but very crumbly. Iโ€™m not sure what happened, was it because I made the layer cake with the round cake recipe? The frosting was delicious as well.

    Reply
  20. Britta says:
    February 27, 2025

    I was looking forward to the dark, fudgy frosting, but mine came out light and fluffy. Don’t get me wrong, it’s DELICIOUS, but it had the flavor and consistency of regular chocolate frosting, nothing fudgy about it. Any idea what I did wrong or what I could change next time to make it thicker and fudgier?

    This is probably the first time a Sally recipe didn’t come out perfectly so I assume it’s user error. Thank you for any advice!

    Reply
    1. Lexi @ Sally's Baking says:
      February 28, 2025

      Hi Britta, we’re glad you enjoyed it! Was the frosting over whipped by chance? Over whipping introduces more air can also make the color lighter, too. For next time, mix until everything is just combined. Hope this helps!

      Reply
      1. Britta says:
        March 10, 2025

        Hi Lexi, thank you for your advice. I did as you suggested and got a much thicker, fudgier frosting. Still not quite as dark as the pictures of the Chocolate Fudge frosting on here, but delicious and a great texture. Will be making 100 cupcakes with this frosting next weekend so I’m glad I got it down. Thank you!

  21. Maria says:
    February 22, 2025

    Hi Sally
    I want to make this cake using two 9 inches cake pans. I think I did that once before and as I remember it came out ok. What do you think about using 9inch pans.

    Reply
    1. Lexi @ Sally's Baking says:
      February 24, 2025

      Hi Maria, for a round cake, weโ€™d use this yellow layer cake recipe instead. Same great taste!

      Reply
      1. Christine says:
        March 31, 2025

        I have seen multiple comment responses on the layer cake back from 2022 indicating a need to modify the recipe to include both butter and oil. Wanted to check if that version was thoroughly tested? Iโ€™m wanting to make the layer cake version and hoping that the same recipe but with the butter+oil switch is sally team approved?!