The Only Yellow Cake Recipe You'll Ever Need

This easy all-purpose yellow cake takes just a bit longer to make than one from a packaged mix, but is it ever worth it. An instant test-kitchen favorite, it is absolutely delicious and will rise to any occasion.

Cake

1 stick unsalted butter, softened, plus more for cake pans and parchment
2 cups all-purpose flour
1 tablespoon baking powder
1/2 teaspoon fine salt
1 1/2 cups granulated sugar
3 large eggs, room temperature
1 cup whole milk
1 teaspoon pure vanilla extract

Frosting

1 stick unsalted butter, softened
4 ounces cream cheese, room temperature
5 cups confectioner's sugar
1/4 teaspoon fine salt
1/4 cup whole milk
1/2 teaspoon pure vanilla extract

Related: 15 Kitchen Shortcuts That Will Change the Way You Cook

1. Cake: Preheat oven to 350 degrees. Butter two 8-inch round cake pans and line bottoms with parchment; butter parchment as well. Whisk together flour, baking powder, and salt. Beat together butter and granulated sugar with a mixer on medium speed until combined, 1 to 2 minutes. Add eggs and beat well, scraping down sides of bowl as necessary. Reduce speed to low and gradually add flour mixture, beating until combined. Add milk and vanilla and beat until just combined.

2. Divide batter between pans; smooth tops with an offset spatula. Bake until golden and a toothpick inserted into centers comes out clean, 33 to 35 minutes. Let cakes cool in pans on wire racks 15 minutes. Turn out cakes onto racks to cool completely.

3. Frosting: Beat together butter and cream cheese with a mixer on medium-high speed until pale and creamy, about 1 minute. Reduce speed to medium. Add confectioner's sugar, 1 cup at a time, beating well after each addition. Add salt, milk, and vanilla and beat until fluffy, about 3 minutes. If not using immediately, cover surface of frosting with plastic wrap. Frosting can be refrigerated in an airtight container up to 1 week. Before using, bring to room temperature, then beat on low speed until smooth.

4. Place 1 cake layer on a cake plate and spread 1 cup frosting on top. Place remaining cake layer on top. Spread top and sides of cake with remaining frosting, swirling to coat in a decorative fashion. (If frosting becomes too soft, refrigerate to firm up.) Cake can be covered with a cake dome and refrigerated overnight. Bring cake to room temperature before serving.

Read More: Hands Down, The 20 Grilling Recipes You Must Try This Summer

Cook's Note

This tender, light cake is a tribute to basic ingredients: butter, sugar, eggs, vanilla. Cream cheese is the key to frosting that's sweet but not cloying.

More from Martha Stewart:
35 Beyond Delicious No-Bake Dessert Recipes

Quick, One-Pot Meal Ideas To Feed the Whole Family
Easy, Everyday Meatless Recipes
Bacon, 46 Ways to Cook and Eat It