This post may contain affiliate links. Please read our disclosure policy. As an Amazon Associate, I earn from qualifying purchases.
This old-fashioned yellow cake with chocolate frosting is made from scratch with real butter, extra egg yolks, and a rich chocolate cream cheese frosting. The cake has a soft, tender crumb and that classic buttery vanilla flavor you just don’t get from a boxed mix.
It’s the kind of cake that belongs at a birthday party, but you certainly don’t need a special occasion to make it. Especially when there’s a thick layer of chocolate cream cheese frosting involved.

What Makes This Yellow Cake Different
All butter, no oil: Butter gives this cake its rich vanilla flavor and a tender, slightly denser crumb than you get with most boxed cakes.
Six egg yolks: Using yolks instead of whole eggs gives the cake its golden yellow color and adds richness without making it heavy.
Cake flour: The lower protein content helps keep the crumb soft and delicate, which is especially important in an all-butter cake.
Double chocolate cream cheese frosting: Chocolate and cream cheese make a rich, creamy frosting with a little tang to balance the sweetness of the cake.

Why I Use the Traditional Creaming Method
This recipe was loosely adapted from Rose Levy Beranbaum’s The Cake Bible, which uses the reverse creaming method. I tested both methods several times, comparing the cakes side by side and getting feedback from taste testers.
There was very little difference in flavor or texture, although the traditional creaming method gave the cake a slightly higher rise. I stuck with that method because it’s familiar to most home bakers and produces excellent results.
If you’re curious about reverse creaming, you can see the technique in our lavender cake recipe.

Frosting and Filling Ideas
This yellow cake is paired with our double chocolate cream cheese frosting, but it’s easy to change things up. Try a layer of homemade lemon curd between the cakes, add fresh berries, or use my easy American buttercream frosting instead.

Recipe Tips
Start with room-temperature ingredients: Let the butter, eggs, and milk come to room temperature before mixing. Softened butter creams more easily with the sugar, and ingredients at similar temperatures blend into a smoother batter.
Measure the flour carefully: Too much flour can make the cake dry and dense. A kitchen scale is the most accurate option. If you’re using measuring cups, spoon the flour into the cup and level it off rather than scooping directly from the container.
Don’t rush the creaming step: Beat the butter and sugar for the full 4 to 5 minutes, until the mixture is noticeably lighter and fluffy. This incorporates air into the batter and helps the cake rise.
Save those egg whites: This cake uses six egg yolks, so don’t toss the whites! Put them to work in our Italian meringue or lemon meringue cookies. You can also freeze the egg whites for another day.
Use light-colored metal pans: Dark pans absorb more heat and can cause the edges to brown before the center finishes baking. For flatter cake layers, you can also use damp cake strips around the pans.
Watch for doneness: Start checking a few minutes before the recommended baking time. A toothpick inserted into the center should come out with a few moist crumbs, not wet batter. Overbaking will dry out the cake.
Serve at room temperature: Butter cakes firm up in the refrigerator, so let the cake sit at room temperature before serving. As the butter softens, the crumb becomes more tender and the flavor comes through better.

A Classic Yellow Cake Worth Making from Scratch
This old-fashioned yellow cake is a good reminder that a homemade layer cake doesn’t need to be complicated. It’s buttery, tender, and topped with plenty of chocolate cream cheese frosting. Make it for a birthday, bring it to a celebration, or bake it just because you’re in the mood for cake.
Pin this now to find it later!
Pin It
Yellow Cake with Chocolate Frosting
If you make this recipe, please leave a star rating and comment.
Ingredients
- 3 cups sifted cake flour, (360 grams)
- 4 teaspoons baking powder
- ¾ teaspoon salt
- 12 tablespoons butter, softened
- 1 ½ cups granulated sugar, (300 grams)
- 6 large egg yolks
- 2 ¼ teaspoons vanilla extract
- 1 cup whole milk, (242 grams)
- Chocolate Cream Cheese Frosting
Instructions
- Preheat oven to 350°F. Grease and flour two 8-inch cake pans and line the bottoms with parchment paper.
- Sift the cake flour, baking powder, and salt in a medium bowl and set aside.

- In a large mixing bowl beat the butter and sugar on medium high speed for about 4 to 5 minutes until it is light and fluffy.

- Add half the egg yolks and beat until combined. Add the remaining yolks and beat on medium speed until fully incorporated. Mix in the vanilla extract.

- Add one-third of the flour mixture and mix on low speed until just combined. Add half the milk and mix until incorporated. Repeat with another third of the flour mixture, followed by the remaining milk. Finish with the last third of the flour mixture, mixing just until combined.

- Divide the batter evenly between the prepared cake pans. Bake for 28 to 33 minutes, until a toothpick inserted into the center comes out with a few moist crumbs.

- Let the cakes cool in the pans for 10 to 15 minutes, then carefully turn them out onto a wire rack. Removing them too soon can cause the warm, delicate cakes to crack or break.

- Let the cakes cool completely before frosting. For easier frosting, place the cooled cake layers in the freezer for 15 to 20 minutes to firm them up slightly.
- Frost the cake: Place one cooled cake layer on a serving plate and spread a generous layer of chocolate cream cheese frosting over the top. Add the second cake layer, then spread the remaining frosting over the top and sides of the cake.

Notes
Nutrition
Nutrition information is automatically calculated, so should only be used as an approximation.
Like this recipe? Rate & comment below!














What kind of Milk sweet, butter or half and half
Whole milk works best for this recipe. You can also use 2% milk if that’s what you have on hand. I wouldn’t recommend sweetened condensed milk or buttermilk since they will change the flavor and texture of the cake. Half-and-half has more fat than you need for this recipe.
I chose this recipe specifically to try out my new 6” pans, but as I write this, both pans are in the oven, with overflow dripping below onto my oven floor. I’ll make an effort to save it, but am disappointed. Too much batter for two 6” pans.😦
Sorry that happened! This recipe is written for two 8-inch pans, so two 6-inch pans won’t hold the full batch and will definitely overflow. As a general rule, pans should only be filled about 1/2 to 2/3 full to prevent overflow.
hello I have a great recipes for the filling of a Boston Cream Pie using Vaniila pudding mix ., could I swap out the Vanilla for chocolate so I would have a chocolate filling??
Sure! That sounds delicious.
Can I use some whole eggs along with just yokes? If so, what do you recommend please?
You can replace 2 egg yolks with a whole egg but the cake will have a richer flavor if you use all egg yolks.
This cake did not work for me. Followed the recipe exactly. After letting it cool for recommended time could not get it to come out of the pan. Let it cool a little longer. Used a knife to go around the edges and it just crumbled when it came out. Very disappointed. But, the ruble did taste good.
Sorry it didn’t work for you Amanda. This can happen if you over-measure the flour. I recommend using a scale to get the flour amounts correct. I also highly recommend using parchment paper and greasing the pan then dusting it with flour so it does not stick to the pan. Non-stick spray works pretty well too. All is not lost though, you can combine the crumbs in a bowl with some frosting and make cake balls. Yummm 🙂
That is one DEELISH looking cake!!! Can you please post the ingredients for the frosting in grams?? Thank you!!
Chandra, I’m happy to add that to the recipe, thanks for the comment. Enjoy the cake.