This classic yellow cake is light, buttery, and perfectly tender, making it an ideal canvas for a silky milk‑chocolate frosting. The combination of a subtly sweet crumb and a rich, creamy topping creates a balanced dessert that works for birthdays, celebrations, or a simple weekend treat.
Ingredients
- 2 ½ cups (312 g) all‑purpose flour
- 2 ½ tsp baking powder
- ½ tsp baking soda
- ¼ tsp salt
- 1 ½ cups (300 g) granulated sugar
- ½ cup (115 g) unsalted butter, softened
- ¼ cup (60 ml) vegetable oil
- 4 large eggs, room temperature
- 1 ½ tsp pure vanilla extract
- 1 cup (240 ml) whole milk, room temperature
- ½ cup (120 ml) sour cream, room temperature
- 8 oz (225 g) milk chocolate, finely chopped
- ¼ cup (60 ml) heavy cream
- 2 tbsp (30 g) unsalted butter, softened (for frosting)
- Pinch of sea salt (optional, for frosting)
Instructions
- Preheat the oven to 350°F (177°C). Grease two 9‑inch round cake pans with butter, then line the bottoms with parchment circles. Lightly flour the sides, tapping out excess.
- In a medium bowl whisk together the flour, baking powder, baking soda, and salt. Set aside; this dry mixture will provide lift and structure.
- In a large stand‑mixing bowl, beat the granulated sugar and ½ cup butter on medium speed until the mixture is pale and fluffy, about 3–4 minutes. This aerates the batter and contributes to the cake’s light crumb.
- Add the oil and beat for another 30 seconds. The oil keeps the cake moist even after it cools.
- One at a time, add the eggs, beating well after each addition. Scrape the sides of the bowl to ensure even incorporation.
- Stir in the vanilla extract.
- With the mixer on low, alternately add the dry ingredients and the milk, beginning and ending with the dry mixture. Pour in the sour cream with the final splash of milk; this adds tang and tenderness.
- Divide the batter evenly between the prepared pans, smoothing the tops with a spatula.
- Bake for 25‑30 minutes, or until a toothpick inserted into the center comes out clean and the tops are lightly golden. Rotate the pans halfway through baking for even color.
- Allow the cakes to cool in the pans for 10 minutes, then turn them out onto a wire rack to cool completely. Cooling fully prevents the frosting from melting when applied.
- While the cakes cool, make the frosting. Place the chopped milk chocolate and heavy cream in a heat‑proof bowl. Heat the cream in a small saucepan until it just begins to simmer, then pour it over the chocolate. Let sit 1 minute, then stir until smooth. \n
- Whisk in the softened butter and a pinch of sea salt until the frosting is glossy and thick enough to hold its shape. If the frosting is too thin, chill it for 5‑10 minutes and re‑whisk.
- Once the cake layers are completely cool, place one layer on a serving plate. Spread a generous dollop of frosting over the top, then position the second layer on top.
- Using an offset spatula, frost the sides and top of the cake with the remaining frosting. For a smooth finish, dip the spatula in hot water, wipe dry, and smooth the surface quickly.
- Allow the frosted cake to sit at room temperature for 20‑30 minutes before slicing. This lets the frosting set, making clean cuts easier.
Tips
- Ingredient temperature matters: Using room‑temperature eggs, butter, and milk creates an emulsion that traps air, resulting in a fluffier crumb. Cold ingredients can cause the batter to curdle.
- Substitutions: For a dairy‑free version, replace butter with a solid coconut oil and use coconut‑milk‑based heavy cream. The flavor will shift slightly but remain delicious.
- Avoid over‑mixing: Once the flour is added, mix just until combined. Over‑mixing develops gluten, which makes the cake dense and tough.
- Frosting consistency: If the frosting becomes too firm after chilling, gently re‑heat it in a microwave (10‑second bursts) and whisk until silky again.
Serving Suggestions
Serve this cake at room temperature, sliced into 12 even wedges. A dollop of lightly sweetened whipped cream or a scoop of vanilla ice cream adds a cool contrast to the rich frosting. For a festive touch, sprinkle toasted hazelnuts or a dusting of cocoa powder over the top just before serving.
Variations
Want to experiment? Try adding ½ cup fresh orange zest to the batter for a citrus‑infused yellow cake, then pair it with a dark‑chocolate ganache instead of milk chocolate. For a seasonal twist, fold in ¾ cup chopped fresh strawberries into the batter and garnish the finished cake with whole berries. If you prefer a lighter frosting, replace half of the heavy cream with Greek yogurt; the tang complements the sweet chocolate nicely.
Storage and Reheating
Store the cake in an airtight container at 40‑45°F (4‑7°C) for up to 4 days. For longer storage, wrap the cake tightly in plastic wrap, then foil, and freeze for up to 2 months. Thaw frozen cake overnight in the refrigerator, then let it sit at room temperature for 30 minutes before serving. If the frosting softens during thawing, re‑whisk it briefly or chill it for a few minutes to regain stiffness.
Frequently Asked Questions
Can I use cake flour instead of all‑purpose flour?
Yes. Cake flour contains less protein, which yields an even softer crumb. If you substitute, use the same volume but sift it with the other dry ingredients to avoid clumping.
Is it safe to use raw eggs in this recipe?
Because the eggs are baked to an internal temperature of at least 160°F (71°C), they are safe for most people. If you are serving vulnerable groups (young children, pregnant people, immunocompromised), you may opt for pasteurized eggs to eliminate any risk.
How do I know when the frosting is ready?
The frosting is ready when it holds a thick, glossy ribbon when the spatula is lifted. It should be spreadable but not runny. If it feels too soft, chill it; if too firm, warm it slightly.
Can I make this cake in a sheet pan?
Absolutely. Use a 9×13‑inch pan, increase the baking time by 5‑10 minutes, and check doneness with a toothpick. The frosting amount can stay the same; you’ll simply spread it over a larger surface.
What is the safest internal temperature for the baked cake?
While cakes are not a high‑risk food, USDA recommends an internal temperature of 190°F (88°C) for a fully set crumb. Use an instant‑read thermometer inserted into the center of the cake to verify.