This two-year-old birthday cake is a moist, tender vanilla layer cake with a thick buttercream frosting, sized for a small party and sturdy enough for a toddler to dig into. It is lightly sweet, with a soft crumb that holds together well, and it suits a first or second birthday, a smash cake session, or a small family celebration. The recipe uses a 6-inch (15 cm) pan, so it makes a single 2-layer cake that serves about 8 small slices.
Ingredients
- 1 1/2 cups (190 g) all-purpose flour
- 1 1/2 tsp baking powder
- 1/4 tsp salt
- 1/2 cup (1 stick, 113 g) unsalted butter, softened
- 3/4 cup (150 g) granulated sugar
- 2 large eggs, room temperature
- 1 tsp vanilla extract
- 1/2 cup (120 ml) whole milk, room temperature
- For the frosting: 1/2 cup (1 stick, 113 g) unsalted butter, softened
- 2 cups (240 g) powdered sugar, sifted
- 2 tbsp (30 ml) heavy cream or milk
- 1 tsp vanilla extract
- Pinch of salt
Instructions
- Preheat oven to 350°F (177°C). Grease two 6-inch (15 cm) round cake pans and line the bottoms with parchment paper.
- In a medium bowl, whisk together flour, baking powder, and salt.
- In a large bowl, beat butter and sugar with an electric mixer on medium speed until light and fluffy, about 2 minutes. Add eggs one at a time, beating well after each. Beat in vanilla.
- With mixer on low, add half the flour mixture, then all the milk, then the remaining flour mixture, mixing just until combined. Do not overmix.
- Divide batter evenly between the prepared pans. Bake for 25–30 minutes, until a toothpick inserted in the center comes out clean and the cakes are golden. Cool in pans on a wire rack for 10 minutes, then turn out and cool completely, about 1 hour.
- For the frosting, beat butter on medium speed until smooth. Gradually add powdered sugar, then cream, vanilla, and salt. Beat on high for 1–2 minutes until fluffy.
- Place one cake layer on a serving plate. Spread about 1/3 cup frosting on top. Top with the second layer. Frost the top and sides with the remaining frosting. Refrigerate for 30 minutes before serving to set the frosting.
Why Does the Cake Come Out Dry or Dense?
A dry cake usually comes from overmixing or overbaking. Mix just until the flour disappears; overmixing develops gluten and makes the crumb tough. Check for doneness at 25 minutes and pull the cake as soon as the toothpick comes out clean. A dense cake can happen if the butter and sugar are not creamed long enough or if the baking powder is old. Cream for the full 2 minutes, and check that your baking powder is within its expiration date. If the cake is still dry, brush each layer with 2 tablespoons of simple syrup (equal parts sugar and water heated until dissolved) before frosting.
Can I Make This Cake Ahead of Time?
Yes, the cake layers can be baked up to 2 days ahead. Wrap them tightly in plastic wrap and store at room temperature. Frosted cake keeps in the refrigerator for up to 3 days; let it sit at room temperature for 30 minutes before serving. The unfrosted layers also freeze well for up to 2 months—wrap in plastic wrap and foil, then thaw overnight in the refrigerator.
What Substitutions Work for This Cake?
For a dairy-free version, use plant-based butter and unsweetened almond or oat milk in the same amounts; the crumb will be slightly less tender. For an egg-free version, use 1/4 cup (60 ml) unsweetened applesauce per egg; the cake will be a bit more moist and less fluffy. To make it gluten-free, swap the all-purpose flour for a 1:1 gluten-free baking flour blend that contains xanthan gum; the texture will be slightly more crumbly. For a less sweet cake, reduce the sugar to 2/3 cup (130 g) and use a cream cheese frosting (8 oz/226 g cream cheese, 1/2 cup/113 g butter, 2 cups/240 g powdered sugar, 1 tsp vanilla) instead of the buttercream.
How Should I Serve and Store This Cake?
Serve the cake at room temperature, with a side of fresh berries or a small scoop of vanilla ice cream. For a toddler’s birthday, cut slices into small fingers and watch for any choking hazards like sprinkles or hard decorations. Store leftover cake in an airtight container in the refrigerator for up to 3 days, or freeze unfrosted layers for up to 2 months. Bring refrigerated cake to room temperature before serving for the best texture.
Can I Use a Different Pan Size?
Yes, you can bake this batter in a 9-inch (23 cm) round pan. The cake will be thinner, so reduce the baking time to 18–22 minutes. For a 9×13-inch (23×33 cm) pan, bake for 25–30 minutes. If you double the recipe for a larger crowd, use two 9-inch pans and bake for 25–30 minutes. Always test with a toothpick at the lower end of the time range.
What If I Don’t Have a 6-Inch Pan?
You can also use a 6-inch springform pan or a 6-inch square pan; the baking time stays the same. If you only have a 9-inch pan, the cake will be shorter but still works. If you want a taller cake, double the recipe and bake in three 6-inch pans, reducing the time to 22–26 minutes.
How Long Does This Cake Keep?
Frosted cake keeps in the refrigerator for up to 3 days. Unfrosted layers keep at room temperature for up to 2 days, or in the freezer for up to 2 months. Because the frosting contains butter and cream, do not leave the cake at room temperature for more than 2 hours. If you are serving it outdoors in warm weather, keep it chilled until just before serving.
Related
- Little Quick Bread Recipe for One or Two
- Happy Birthday Cake Pops Recipe
- Dairy Free Ice Cream Birthday Cake
Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.
Spotted an error? Tell us and we will correct it (corrections policy).