Easy Birthday Cake Recipe from Scratch
In this article
A classic birthday cake made from scratch doesn’t need to be complicated. This easy recipe delivers a tender, moist vanilla cake with simple frosting, perfect for any celebration. Baked in two standard rounds, it layers beautifully and holds up well to decorations, yet requires no special equipment or hard-to-find ingredients—just common pantry staples and about an hour of active time.
Ingredients
- 2 ½ cups (315g) all-purpose flour
- 2 cups (400g) granulated sugar
- 2 ½ teaspoons baking powder
- ½ teaspoon baking soda
- 1 teaspoon salt
- 1 cup (240ml) whole milk, at room temperature
- ½ cup (120ml) vegetable oil or melted unsalted butter
- 2 large eggs, at room temperature
- 2 teaspoons pure vanilla extract
- 1 cup (240ml) boiling water
Instructions
- Preheat the oven to 350°F (175°C). Grease and flour two 9-inch round cake pans, or line them with parchment paper and lightly grease the parchment.
- In a large mixing bowl, whisk together the flour, sugar, baking powder, baking soda, and salt until evenly combined.
- In a separate medium bowl, whisk together the milk, vegetable oil (or melted butter), eggs, and vanilla extract until smooth.
- Add the wet ingredients to the dry ingredients and beat with an electric mixer on medium speed for about 2 minutes. The batter will be thick.
- Slowly pour in the boiling water while mixing on low speed. Continue mixing just until the batter is smooth and uniform. It will become very thin—this is normal.
- Divide the batter evenly between the two prepared cake pans. Tap the pans gently on the counter to release air bubbles.
- Bake for 30 to 35 minutes, or until a toothpick inserted into the center comes out clean and the tops spring back when lightly touched.
- Remove the cakes from the oven and let them cool in the pans for 10 minutes. Then, run a knife around the edges and invert them onto wire racks. Carefully peel off the parchment if used, and let the cakes cool completely before frosting—about 1 to 2 hours.
- Once cooled, prepare your frosting. A simple vanilla buttercream works well: beat 1 cup (230g) softened unsalted butter with 4 cups (500g) powdered sugar, 2–3 tablespoons of milk, and 2 teaspoons vanilla extract until smooth and spreadable.
- Frost the cake: place one layer on a serving plate, spread frosting on top, then place the second layer on top. Frost the sides and top evenly. Decorate as desired with sprinkles or candles.
Tips
- Room temperature ingredients blend more smoothly. Take eggs and milk out 30 minutes before baking.
- If using butter instead of oil, the cake will be slightly richer but denser. Either works.
- Don’t skip the boiling water step—it activates the leaveners and creates a tender crumb.
- Overmixing after adding the boiling water can deflate the batter. Mix only until combined.
Serving Suggestions
Serve this birthday cake at room temperature for the best texture. Pair it with vanilla ice cream or a fruit compote like strawberry or raspberry for a balanced dessert. It’s ideal for celebrations with kids or casual gatherings. Add candles for birthdays, or use colored sprinkles to match a party theme. For a more elegant presentation, pipe frosting borders or add fresh berries on top.
Variations
Turn this into a chocolate version by replacing ½ cup of flour with ½ cup (50g) unsweetened cocoa powder. For lemon cake, add 2 tablespoons lemon zest and replace the vanilla with lemon extract. To make cupcakes, divide the batter into lined muffin tins and bake for 18–22 minutes. This recipe can also be baked in a 9x13-inch pan for a sheet cake—adjust baking time to 35–40 minutes.
Storage and Reheating
Store the unfrosted cake layers at room temperature, wrapped in plastic, for up to 2 days. Once frosted, keep the cake covered at room temperature for up to 3 days or refrigerate for up to 5 days. Bring to room temperature before serving for best texture. Do not reheat cake—warming it will melt the frosting and dry out the crumb. If the cake has dairy-based frosting, refrigeration is recommended in warm environments.
Frequently Asked Questions
Can I make this cake ahead of time?
Yes, you can bake the cake layers up to 2 days in advance. Cool them completely, wrap in plastic, and store at room temperature. Frost the day of serving for freshness.
Can I use low-fat milk or oil substitutes?
Whole milk is recommended for moisture and texture. Low-fat milk may result in a drier cake. Oil can be replaced with melted butter, but avoid non-fat substitutes like applesauce in this recipe, as they may alter structure and density.
Why did my cake sink in the middle?
Common causes include underbaking, opening the oven door too early, or overmixing. Ensure the oven is fully preheated, avoid opening the door during the first 25 minutes, and check doneness with a toothpick at 30 minutes.
Can I freeze this cake?
Yes. Wrap unfrosted layers tightly in plastic and foil, then freeze for up to 3 months. Thaw overnight in the refrigerator, then bring to room temperature before frosting. Frosted cakes can be frozen but may lose texture; best to freeze layers only.
What if I don’t have two 9-inch pans?
You can bake this as a single layer in a 9x13-inch pan for 35–40 minutes, or use three 8-inch pans (reduce time to 25–30 minutes). Adjust frosting amount accordingly.
Is it safe to eat raw cake batter?
No. This recipe contains raw eggs and unheated flour, which can carry harmful bacteria. Do not taste raw batter. Use only heat-treated flour and pasteurized eggs if sampling is desired.