Two way cake is a moist, tender layer cake with a vanilla base and a chocolate swirl or a marble pattern, baked in two pans so you get two layers from one batter. It is a practical choice for birthdays, potlucks, or any time you want a homemade cake without a fussy frosting. The batter is thin enough to pour, and the two-tone effect comes from dividing the batter and adding cocoa to one half.
Ingredients
- 2 1/2 cups (300 g) all-purpose flour
- 2 1/2 tsp baking powder
- 1/2 tsp salt
- 1 cup (2 sticks, 226 g) unsalted butter, softened
- 1 3/4 cups (350 g) granulated sugar
- 4 large eggs, room temperature
- 1 tbsp vanilla extract
- 1 cup (240 ml) whole milk, room temperature
- 3 tbsp (20 g) unsweetened cocoa powder (Dutch-process or natural)
- 2 tbsp (30 ml) hot water
Pick the Pan Size Before You Mix the Batter
This recipe makes enough batter for two 9-inch (23 cm) round pans or one 9×13-inch (23×33 cm) pan. If you use 8-inch (20 cm) pans, the layers will be thicker and need about 5 extra minutes of baking. Grease the pans with butter or nonstick spray and line the bottoms with parchment paper rounds for easy release.
Make the Vanilla Batter and Split It
- Heat the oven to 350°F (175°C).
- In a medium bowl, whisk the flour, baking powder, and salt.
- In a large bowl, beat the butter and sugar with an electric mixer on medium speed until light and fluffy, about 3 minutes.
- Add the eggs one at a time, beating well after each, then beat in the vanilla.
- With the mixer on low, add the flour mixture in three additions, alternating with the milk in two additions, starting and ending with flour. Mix just until smooth; do not overmix.
- Pour half of the batter (about 3 cups / 720 ml) into a separate bowl.
- In a small cup, stir the cocoa powder and hot water into a smooth paste. Fold this paste into one half of the batter until fully combined.
Layer the Batters for a Marbled or Two-Tone Look
- For a marble effect: pour the vanilla batter into the prepared pans, then spoon the chocolate batter on top in dollops. Use a knife to swirl gently through the batter, making 4-5 figure-eight motions. Do not over-swirl or you will lose the pattern.
- For a two-tone layer look: pour half of the vanilla batter into one pan and half of the chocolate batter into the other pan. The baked layers will be one vanilla and one chocolate.
- Bake at 350°F (175°C) for 25-30 minutes, until a toothpick inserted in the center comes out clean and the top springs back when lightly pressed.
- Cool in the pans on a wire rack for 15 minutes, then turn out onto the rack to cool completely, about 1 hour.
Frost and Serve the Cake
Once the layers are completely cool, frost with your favorite buttercream or cream cheese frosting. For a simple glaze, whisk 1 cup (120 g) powdered sugar with 2 tbsp (30 ml) milk and 1/2 tsp vanilla, and drizzle over the top. Serve at room temperature with coffee, tea, or cold milk. This cake pairs well with fresh berries or a scoop of vanilla ice cream.
Swap Ingredients Without Changing the Texture
- Butter: Use salted butter and omit the added salt. Use margarine or shortening for a slightly firmer crumb.
- Milk: Use buttermilk or plain yogurt thinned with water; the cake will be more tender and slightly tangy.
- Eggs: For an egg-free version, use 1/2 cup (120 g) unsweetened applesauce per egg, but the cake will be denser.
- Cocoa: Use 3 tbsp (20 g) of black cocoa for a darker color and deeper flavor.
- Vanilla: Use 1 tbsp of almond extract instead for a nutty flavor, but reduce to 1 tsp.
Store Leftover Cake Safely
Frosted cake keeps at room temperature for up to 2 days, covered with a cake dome or inverted bowl. For longer storage, refrigerate for up to 5 days; bring to room temperature before serving. Unfrosted layers can be wrapped tightly in plastic wrap and frozen for up to 3 months. Thaw in the refrigerator overnight before frosting. Do not leave the cake out for more than 2 hours total, especially in warm weather.