Dinners

Two Way Cake Recipe for a Moist Layer Cake

Updated · By Patriot Kitchen

Total timeincludes chilling, rising or resting
1 hr 55 min
Prep
25 min
hands-on
Cook
30 min
oven or stovetop
Serves
12
as written

Jump to recipe Save

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

  1. Heat the oven to 350°F (175°C).
  2. In a medium bowl, whisk the flour, baking powder, and salt.
  3. In a large bowl, beat the butter and sugar with an electric mixer on medium speed until light and fluffy, about 3 minutes.
  4. Add the eggs one at a time, beating well after each, then beat in the vanilla.
  5. 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.
  6. Pour half of the batter (about 3 cups / 720 ml) into a separate bowl.
  7. 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

  1. 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.
  2. 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.
  3. 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.
  4. 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.

Related

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).