Time: 1 hr 10 min · Serves: 10 · The key step: Cream the butter and sugar until light and fluffy to trap air for a tender crumb. This is a classic vanilla layer cake made without any nuts or nut flours, perfect for birthdays, school events, or any celebration where nut allergies are a concern. It’s moist, buttery, and frosted with a simple chocolate buttercream.
Why This Cake Is Nut-Free
Many cakes rely on almond flour or ground nuts for texture, but this recipe uses only wheat flour and cornstarch. It’s safe for most nut allergies, but always check labels on baking powder, vanilla extract, and chocolate to ensure they are produced in a nut-free facility. If you need a completely nut-free environment, also verify that your butter and milk are safe.
Ingredients
- 2 1/2 cups (300 g) all-purpose flour
- 1/4 cup (30 g) cornstarch
- 2 1/2 tsp baking powder
- 1/2 tsp salt
- 1 cup (226 g) unsalted butter, softened
- 1 3/4 cups (350 g) granulated sugar
- 3 large eggs, at room temperature
- 1 tbsp vanilla extract
- 1 cup (240 ml) whole milk, at room temperature
For the Chocolate Buttercream
- 1 cup (226 g) unsalted butter, softened
- 3 1/2 cups (420 g) powdered sugar
- 1/2 cup (45 g) unsweetened cocoa powder
- 1/4 cup (60 ml) heavy cream
- 1 tsp vanilla extract
- Pinch of salt
Instructions
- Preheat your oven to 350°F (175°C). Grease and flour two 9-inch (23 cm) round cake pans.
- In a medium bowl, whisk together the flour, cornstarch, baking powder, and salt. Set aside.
- In a large bowl, beat the butter and sugar with an electric mixer on medium speed for 3–4 minutes, until light and fluffy. Scrape down the sides as needed.
- Add the eggs one at a time, beating well after each addition. Beat in the vanilla.
- With the mixer on low, add the flour mixture in three additions, alternating with the milk, starting and ending with flour. Mix just until combined—do not overmix.
- Divide the batter evenly between the prepared pans. Bake for 25–30 minutes, until a toothpick inserted in the center comes out clean and the tops spring back when lightly pressed.
- Cool the cakes in the pans for 10 minutes, then turn out onto a wire rack to cool completely before frosting.
- For the buttercream: In a large bowl, beat the butter until creamy. Gradually add the powdered sugar and cocoa powder, beating on low until combined. Add the cream, vanilla, and salt, then beat on medium-high for 2–3 minutes until light and fluffy.
- Place one cake layer on a serving plate. Spread about 1 cup of frosting on top. Place the second layer on top and frost the top and sides with the remaining frosting.
Storage and Make-Ahead
Store the frosted cake in an airtight container at room temperature for up to 2 days, or in the refrigerator for up to 4 days. Bring to room temperature before serving. You can also freeze the unfrosted cake layers, wrapped tightly in plastic wrap and foil, for up to 3 months. Thaw overnight in the refrigerator before frosting.
Common Mistakes and Fixes
Overmixing the Batter
Overmixing develops gluten, which makes the cake tough and dense. Mix just until the flour disappears, then stop.
Cold Ingredients
Cold butter and milk don’t emulsify properly, leading to a curdled batter and a coarse crumb. Bring all ingredients to room temperature before starting.
Opening the Oven Too Early
Opening the oven during the first 20 minutes lets heat escape and can cause the cake to sink in the middle. Wait until the minimum baking time has passed before checking.
Variations and Pairings
For a nut-free chocolate cake, replace 1/4 cup (30 g) of the flour with an equal amount of unsweetened cocoa powder. For a lemon version, add 2 tbsp lemon zest and substitute lemon juice for the vanilla. This cake pairs well with fresh berries, whipped cream, or a simple dusting of powdered sugar.
Allergy Notes
Always check labels for “may contain nuts” warnings, as many processed ingredients are made in shared facilities. For a dairy-free version, use plant-based butter and milk, and use a dairy-free chocolate frosting. For an egg-free version, use a commercial egg replacer according to package directions, but note that the texture will be slightly different.
Frequently Asked Questions
Can I make this cake gluten-free?
Yes, you can substitute a 1:1 gluten-free baking flour blend for the all-purpose flour. Add 1/2 tsp xanthan gum if your blend doesn’t include it. The texture will be slightly more crumbly.
Can I use a different frosting?
Absolutely. A simple vanilla buttercream, cream cheese frosting, or a dusting of powdered sugar all work well.
How do I know when the cake is done?
Insert a toothpick into the center; it should come out clean or with a few moist crumbs. The edges will pull away from the pan slightly.
Related
- Nut Free Chicken Casserole Recipe
- Dairy Free Banana Nut Bread Recipe
- Gluten Free Nut Pie Crust Recipe
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).