The short answer: a classic birthday cake is two 9-inch yellow butter cake layers baked at 350°F for 28 to 32 minutes, cooled, then filled and frosted with fluffy vanilla buttercream and sprinkles. It serves 12, and the layers can be baked a day ahead.
- Key numbers: 2 1/2 cups flour · 1 3/4 cups sugar · 4 eggs · 1 cup milk · 1 1/2 hr cooling.
- Easiest win: bring the butter, eggs and milk to room temperature first.
Prep time: 40 minCook time: 30 minTotal time: 2 hr 40 minServings: 12 slices (one 2-layer 9-inch cake)Total includes 1 hr 30 min of cooling the layers before frosting.
This birthday cake recipe was checked November 15, 2026, against NYT Cooking's cake-baking basics. Below: ingredients, directions, frosting, decorating ideas, sizes and a make-ahead plan.
Birthday cake ingredients
Yellow cake layers
| Ingredient | Amount |
|---|---|
| All-purpose flour (spooned and leveled) | 2 1/2 cups (300 g) |
| Baking powder | 2 1/2 tsp |
| Salt | 1/2 tsp |
| Unsalted butter, softened | 1 cup (2 sticks) |
| Granulated sugar | 1 3/4 cups (350 g) |
| Large eggs, room temperature | 4 |
| Vanilla extract | 1 Tbsp |
| Whole milk, room temperature | 1 cup |
Vanilla frosting and decoration
| Ingredient | Amount |
|---|---|
| Unsalted butter, softened | 1 1/2 cups (3 sticks) |
| Powdered sugar | 4 1/2 cups (540 g) |
| Heavy cream or milk | 3 to 4 Tbsp |
| Vanilla extract | 2 tsp |
| Salt | 1 pinch |
| Rainbow sprinkles | 1/3 cup |
You need two 9-inch round pans, parchment, a stand or hand mixer and a wire rack.
Birthday cake directions
- Prep the pans (5 minutes). Heat the oven to 350°F. Grease two 9-inch round pans and line the bottoms with parchment.
- Mix the dry ingredients (3 minutes). Whisk the flour, baking powder and salt in a bowl.
- Cream the butter and sugar (4 minutes). Beat the butter and sugar on medium-high until pale and fluffy.
- Add the eggs (3 minutes). Beat in the eggs one at a time, then the vanilla.
- Finish the batter (5 minutes). On low speed, add the flour mixture in 3 parts and the milk in 2 parts, starting and ending with flour. Mix only until no dry streaks remain.
- Bake (28 to 32 minutes). Divide the batter between the pans and bake until a toothpick in the center comes out with a few moist crumbs.
- Cool (1 hour 30 minutes). Cool in the pans 10 minutes, then turn out onto the rack and cool completely.
- Make the frosting (8 minutes). Beat the butter until creamy, add the powdered sugar a cup at a time, then the cream, vanilla and salt. Beat 3 minutes until fluffy.
- Fill, frost and decorate (12 minutes). Spread 1 cup of frosting between the layers, cover the top and sides, then press sprinkles around the bottom edge.
Nutrition (per serving, estimated)
Serving size: 1 serving.
| Calories | 790 |
|---|---|
| Total fat | 43 g |
| Saturated fat | 26 g |
| Cholesterol | 170 mg |
| Total carbohydrate | 99 g |
| Dietary fiber | 1 g |
| Total sugars | 78 g |
| Protein | 6 g |
Excludes ingredients listed without an amount (to taste, for serving, for the pan). Sodium is not shown because salt or salty items are added to taste.
This is an estimate calculated from USDA FoodData Central data for the listed ingredients and amounts. Actual values vary with brands, portions and substitutions.
NYT Cooking recommends weighing flour or scooping and sweeping it level without tapping the cup, using butter at room temperature (65 to 70°F), creaming it with the sugar for 4 to 5 minutes, and checking the cake a little before the shortest bake time with an oven thermometer you trust.
Rate this recipe
Birthday cake decorating ideas
| Idea | What to add | Time |
|---|---|---|
| Funfetti layers | Fold 1/2 cup jimmies into the batter | 1 min |
| Sprinkle border | Press 1/3 cup sprinkles around the base | 3 min |
| Drip cake | 1/2 cup chocolate chips melted with 1/3 cup hot cream | 10 min |
| Piped message | 1/2 cup tinted frosting in a snipped bag | 5 min |
| Candy topper | Mini candy bars or cookies on top | 2 min |
| Naked cake | Thin frosting coat, fresh berries | 10 min |
Birthday cake sizes and servings
| Pan | Batter | Bake at 350°F | Serves |
|---|---|---|---|
| Two 9-inch rounds | 1 batch | 28 to 32 min | 12 |
| Three 8-inch rounds | 1 batch | 22 to 26 min | 14 |
| 9x13-inch sheet | 1 batch | 35 to 40 min | 15 to 18 |
| 24 cupcakes | 1 batch | 18 to 20 min | 24 |
For the basics of pans, doneness and layering any cake, see how to bake a cake. Want chocolate instead? Use our chocolate cake layers, or switch the topping to cream cheese frosting.
Birthday cake make-ahead plan
- 2 days before: shop, and set out a party plan.
- 1 day before: bake and cool the layers, then wrap each one tightly.
- Party morning: make the frosting, fill and frost, and chill 30 minutes to set.
- 1 hour before serving: take a refrigerated cake out so the frosting softens.
Safety tip: the FDA says raw flour can carry harmful bacteria, so don't let kids lick raw batter off the beaters. Let them lick the frosting bowl instead.
Finish the cake with vanilla buttercream made with 5 ingredients, with amounts for spreading or piping.
More birthday food ideas
Plan the meal with our birthday dinner ideas, find party bites in easy party food ideas, and pick another treat from our easy dessert recipes. Throwing the whole party? Start with how to plan a birthday party.

More printables are in our Printables shop.
More cakes and frostings you'll love
Frequently asked questions
How do you make a birthday cake from scratch? To make a birthday cake from scratch, cream 1 cup of softened butter with 1 3/4 cups of sugar, beat in 4 room-temperature eggs and vanilla, then add the flour mixture and milk in turns. Bake two 9-inch layers at 350°F for 28 to 32 minutes, cool them fully, then fill and frost with vanilla buttercream and sprinkles.
How long does it take to make a birthday cake? Plan about 2 hours 40 minutes from start to finish. That is roughly 20 minutes to mix the batter, 30 minutes of baking, 1 hour 30 minutes of cooling, and 20 minutes to make the frosting and decorate. Bake the layers a day ahead to make the party day easier.
What is the best flavor for a birthday cake? A yellow or vanilla cake with vanilla frosting is the classic birthday cake because nearly everyone likes it and it takes any sprinkle color or filling. Chocolate is the next most common pick. For a crowd, a yellow cake with chocolate frosting splits the difference.
How many people does a 9-inch birthday cake serve? A 2-layer 9-inch round birthday cake serves about 12 people with generous slices. Cut thinner party wedges and it stretches to 16. For 24 guests, bake two cakes or double the batter in a 9-by-13-inch sheet pan and add a few minutes of baking time.
How do I know when my cake layers are done? The cake is done when a toothpick in the center comes out with a few moist crumbs but no wet batter, the top springs back when pressed lightly, and the edges start pulling away from the pan. Start checking at 28 minutes, because ovens run hot or cold.
Why should eggs and milk be at room temperature? Room-temperature butter, eggs and milk blend smoothly, which gives a lighter, more even cake. NYT Cooking says butter at 65 to 70°F creamed with sugar traps air that the baking powder expands in the oven. Set the butter, eggs and milk out 30 to 60 minutes before baking.
Can I make a birthday cake the day before? Yes. Bake and cool the layers, wrap each one tightly in plastic wrap, and keep them at room temperature overnight or in the freezer for up to a month. Frost the cake the day of the party, or frost it the night before and refrigerate, then let it sit out 1 hour before serving.
How do you get sprinkles into the cake batter? Fold 1/2 cup of rainbow jimmies into the finished batter right before it goes into the pans to make a funfetti-style birthday cake. Use long jimmies, not round nonpareils, because nonpareils bleed color into the batter as it bakes.
How do you write on a birthday cake? Chill the frosted cake for 15 minutes so the surface is firm, then pipe the message with a zip-top bag of tinted frosting with a tiny corner snipped off. Lightly trace the letters with a toothpick first so you can fix spacing before you pipe.
Is it safe to taste raw cake batter? No. The FDA warns that raw flour can carry harmful bacteria and that you should not eat raw dough or batter, even without eggs. Taste the frosting instead and save the cake for after it bakes.
How do I plan the shopping for a birthday cake? List butter, eggs, milk, flour, sugar, powdered sugar and sprinkles a week ahead.
Where can I save our family birthday cake recipe? Write it in the Family Recipe Binder ($6.99) from HomeBase Paper Co. Its printable recipe pages hold the exact amounts, pan sizes and decorating notes, so the same birthday cake can be made by anyone in the family every year.
Newsletter
Get the HomeBase email
Fresh tips three times a week, Mon/Wed/Fri, with our deals and new products, from printables, spreadsheets and bundles to paperback planners and apparel, plus simple home, money and planning tips.
Sources
- NYT Cooking: How to Bake a Cake cooking.nytimes.com
- U.S. Food and Drug Administration: Handling Flour Safely fda.gov








Made this? Tell us how it went
Your notes help the next cook: what you changed, how long it took, how it turned out.