Dinners

Wacky Cake: Eggless Vegan Chocolate Cake Recipe

Updated · By Stir & Share

Total timeincludes chilling, rising or resting
1 hr 5 min
Prep
15 min
hands-on
Cook
32 min
oven or stovetop
Serves
9
as written

Save

Wacky cake is a one-bowl chocolate cake that rises without eggs, butter or milk, and it tastes fudgy and deep rather than light and airy. The vinegar and baking soda do the leavening, so the batter comes together in about 10 minutes with pantry ingredients and bakes in 30-35 minutes. The one thing people forget is that the cocoa, soda and vinegar must meet in the right order and that the cake needs to cool almost fully before you cut it, or the crumb tears.

Why Wacky Cake Rises Without Eggs or Milk

The lift comes from an acid-base reaction. Baking soda (sodium bicarbonate) meets vinegar (acetic acid) and releases carbon dioxide bubbles. Cocoa powder is naturally acidic, so it helps the soda start working even before the vinegar is stirred in. Hot water or hot coffee poured over the batter thins it and warms it so the bubbles expand fast in the oven. There is no egg to set the structure, so the flour and the starch in the cocoa do that job with the help of heat and the gluten that forms when you mix.

Because there is no egg or dairy, the cake is vegan as written and safe to serve to anyone avoiding those ingredients. It also makes a smaller batch forgiving: an 8-inch (20 cm) square pan is the standard size, and the batter fills it about two-thirds full.

Which Equipment Actually Matters

You need a 8-inch (20 cm) square or 9-inch (23 cm) round cake pan, an 8-cup (1.9 L) mixing bowl, a whisk, a rubber spatula and a measuring set. A kitchen scale helps most: flour packed into a cup can vary by 20-30 g, which is enough to make a dry cake. If you weigh, use the gram figures below and skip the cup measures.

Parchment paper or a light greasing is important with an eggless batter, because the cake has no fat from eggs to help it release. Line the pan bottom with parchment and grease the sides, or use a nonstick pan plus a light coat of oil. A toothpick or thin skewer is the only test tool you need at the end.

Skip the stand mixer. Overmixing an eggless batter develops gluten and makes the cake tough and gummy. A whisk and 20-30 strokes until the batter is smooth is enough.

Ingredients for One 8-Inch Cake

  • 1 1/2 cups (190 g) all-purpose flour
  • 1 cup (200 g) granulated sugar
  • 1/3 cup (30 g) unsweetened cocoa powder
  • 1 tsp (5 g) baking soda
  • 1/2 tsp (3 g) fine salt
  • 1 cup (240 ml) warm water or brewed coffee, about 100°F (38°C)
  • 1/3 cup (80 ml) neutral oil, such as canola or sunflower
  • 1 tbsp (15 ml) white vinegar or apple cider vinegar
  • 1 tsp (5 ml) vanilla extract

Use natural unsweetened cocoa, not Dutch-process, if you can. Dutch-process cocoa is less acidic, and the soda needs acid to rise; with Dutch-process cocoa the cake still bakes but rises less and may taste slightly flat. If that is all you have, add 1/2 tsp (2.5 ml) extra vinegar and expect a denser crumb.

Coffee instead of water deepens the chocolate flavor without making the cake taste like coffee. Water works fine and is the safer choice if you are serving children.

Instructions

  1. Heat the oven to 350°F (175°C). Line the bottom of an 8-inch (20 cm) pan with parchment and grease the sides lightly.
  2. Whisk the flour (190 g), sugar (200 g), cocoa (30 g), baking soda (5 g) and salt (3 g) in the bowl until no cocoa lumps remain, about 30 seconds.
  3. Make two wells in the dry mix. Pour the oil (80 ml) into one and the vinegar (15 ml) into the other. Add the vanilla (5 ml) to the oil well.
  4. Pour the warm water or coffee (240 ml) over everything and whisk just until smooth, 20-30 strokes. Stop as soon as the batter is even; small bubbles are fine.
  5. Scrape the batter into the pan and smooth the top with the spatula.
  6. Bake at 350°F (175°C) for 30-35 minutes, until the center springs back when pressed and a toothpick comes out with a few moist crumbs but no wet batter.
  7. Cool in the pan on a rack for 15 minutes, then turn out onto the rack, peel off the parchment and cool completely, about 20 minutes more, before frosting or cutting.

This cake has no egg, so there is no egg-based safe temperature to check. The doneness test is the toothpick and the spring-back, and that is what decides whether it comes out moist or dry.

Scaling the Batch to Other Pan Sizes

The base recipe fills one 8-inch (20 cm) square pan. For other sizes, multiply every ingredient by the factor below and adjust the bake time; a deeper batter needs longer, a thinner one shorter.

Batch Sizes and Pan Factors

  • 8-inch (20 cm) square, 2 inches (5 cm) deep: factor 1, about 32 minutes. Serves 9.
  • 9-inch (23 cm) round: factor 1, about 28-30 minutes. Serves 9-10.
  • 9 by 13-inch (23 by 33 cm) rectangle: factor 2, about 35-40 minutes. Serves 18. Double every amount: 3 cups (380 g) flour, 2 cups (400 g) sugar, 2/3 cup (60 g) cocoa, 2 tsp (10 g) soda, 1 tsp (6 g) salt, 2 cups (480 ml) water, 2/3 cup (160 ml) oil, 2 tbsp (30 ml) vinegar, 2 tsp (10 ml) vanilla.
  • 12-cup muffin tin: factor 1, fill cups two-thirds full, bake at 350°F (175°C) for 18-22 minutes. Makes 12 cupcakes.

A 9 by 13-inch double batch uses 2 tsp (10 g) of baking soda, which is the correct doubling of 1 tsp. If you scale to three times the recipe, mix in two bowls and combine at the end, because one bowl will not hold the batter and overmixing a single large batch risks a tougher cake.

Serving It and What to Frost It With

The cake is good plain with a dusting of powdered sugar, and it suits a simple chocolate frosting, a thin glaze or a spoon of whipped cream or coconut cream on the side. Because it is already quite sweet and fudgy, a lighter topping balances it better than a thick buttercream.

For a potluck, bake the 9 by 13-inch batch and cut it into 18 squares. For lunchboxes, bake cupcakes and leave them unfrosted so they travel well. The cake is best on the day it is baked and still good for 2-3 days after, especially if wrapped tightly.

Flavor Changes That Hold Up

Swap 1/2 cup (120 ml) of the water for strong brewed coffee for a darker flavor. Add 1 tsp (5 ml) almond extract in place of vanilla for a cherry-almond note. Fold 1/2 cup (85 g) chocolate chips into the batter last for a fudgier center, and add 2-3 minutes to the bake time.

What Goes Wrong and Why

The Cake Is Dry or Crumbly

Most often the flour was packed into the cup or the cake baked past the toothpick point. Scoop flour with a spoon into the cup and level it, or weigh it. Start checking at 30 minutes and pull the pan as soon as the toothpick shows moist crumbs.

The Center Sinks

Undermixing leaves pockets of dry cocoa and soda that never activate, while overmixing builds gluten that traps a weak structure. Whisk until just smooth and no longer. Opening the oven door early also drops the heat and can collapse the center, so keep the door closed for the first 25 minutes.

The Cake Sticks to the Pan

An eggless batter has little fat to release on its own. Grease the sides and line the bottom with parchment; a bare pan will tear the crust when you turn the cake out. Let the cake rest 15 minutes in the pan before turning it out, since a hot cake is fragile.

How Long Does Wacky Cake Keep?

Wrap the cooled cake tightly or store it in an airtight container at room temperature for up to 3 days. Refrigerate it for up to 4 days if it is frosted with anything containing dairy or cream. Freeze unfrosted cake layers or squares for up to 3 months, wrapped first in plastic and then in foil; thaw at room temperature for about 2 hours before serving.

If the cake has been out at a party, put leftovers in the fridge within 2 hours. Discard any cake that sat out longer, and never rely on smell or taste to judge whether a frosted cake is still safe.

Cupcakes keep the same 3 days at room temperature and 4 days refrigerated. A frosted cake keeps best in the fridge, but bring slices to room temperature for 20 minutes before eating so the crumb softens again.

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