Every recipe lists exactly what it’s made without · Holiday cookies, pies & more →

Top Nine Free

Recipes made without the big allergens

Chocolate Wacky Cake, No Eggs or Milk (Egg-Free, Dairy-Free)

Flour, sugar, cocoa powder, olive oil, vinegar, and vanilla for egg-free wacky cake on a wood table.

Wacky cake goes by a lot of names: crazy cake, Depression cake, war cake. It dates to the 1930s and 1940s, when eggs, milk, and butter were expensive or rationed, and home bakers figured out that cocoa, flour, sugar, baking soda, vinegar, oil, and water could make a surprisingly tender chocolate cake. It became a church-cookbook and school-bake-sale staple across the Midwest, and it’s still one of the easiest cakes you can make: one bowl, one pan, and about ten minutes of work.

Because the original recipe never had eggs or dairy, it doesn’t need an egg replacer or a dairy substitute. This version uses light-tasting olive oil for its fat, cold water or coffee for the liquid, and a simple cocoa glaze on top. The crumb is soft, moist, and deeply chocolatey, closer to a snack cake than a fluffy layer cake, and it keeps well for days.

Made without: eggs, milk, peanuts, tree nuts, soy, fish, shellfish, sesame.
Contains: wheat.

Why You’ll Love This Recipe

  • No egg replacer needed: the recipe was designed without eggs from the start.
  • One bowl, ten minutes: whisk, pour, and bake.
  • Pantry ingredients: no butter, milk, or buttermilk to buy.
  • Stays moist: an oil-based cake that’s still soft on day three.

How It Rises Without Eggs

In most cakes, eggs help with lift, structure, and moisture. Wacky cake handles each of those another way. For lift, baking soda reacts with vinegar (and with natural cocoa, which is slightly acidic) to make carbon dioxide bubbles the moment the wet ingredients hit the dry. That’s why the batter goes straight into the oven: the bubbles start working immediately. For structure, all-purpose flour supplies the gluten network that sets in the oven. For moisture and tenderness, oil coats the flour and keeps the crumb soft, and because oil stays liquid at room temperature, the cake doesn’t firm up in the fridge the way butter cakes do.

The vinegar doesn’t taste like vinegar once baked; it reacts away with the soda. Using cooled coffee instead of water won’t make the cake taste like coffee either. It just makes the chocolate taste more chocolatey.

Ingredients & Swap Ideas

  • All-purpose flour (1 1/2 cups / 190 g): spoon it into the cup and level it; packed flour makes a dry cake. This recipe contains wheat. A cup-for-cup gluten-free flour blend may work but hasn’t been checked with this recipe, and blends vary.
  • Natural unsweetened cocoa powder (1/4 cup / 21 g): natural cocoa (not Dutch-process) helps the baking soda react. Cocoa is often processed on lines shared with milk products, so read the label.
  • Light-tasting olive oil (1/3 cup / 70 g): “light” means refined with a mild flavor, not fewer calories. Melted refined coconut oil also works; if you avoid coconut, stay with light-tasting olive oil. Grease the pan with a little oil instead of cooking spray.
  • Vinegar (1 Tbsp): white vinegar or apple cider vinegar. Avoid malt vinegar, which is made from barley.
  • Cold water or cooled coffee (1 cup): coffee deepens the chocolate flavor. Use plain brewed coffee.
  • Vanilla, baking soda, salt: read labels on vanilla and flavorings.
  • Glaze: powdered sugar (most contain cornstarch), cocoa, hot water or coffee, and vanilla. A dusting of powdered sugar is a simpler finish. Chocolate chips are a common add-in, but many contain milk or soy lecithin, so check the label before stirring any in.

Kitchen Equipment

  • An 8 x 8 or 9 x 9-inch square pan (metal bakes most evenly). Double the recipe for a 9 x 13-inch pan and add 5 to 8 minutes.
  • Parchment paper for a lift-out sling.
  • A large bowl, a whisk, and a wire cooling rack.

Step-by-Step Tips

  1. Whisk the dry ingredients well. Cocoa clumps; break up any lumps so you don’t find bitter pockets in the cake.
  2. Preheat fully first. The leavening starts as soon as the wet meets the dry, so have the oven hot and the pan ready.
  3. Mix just until smooth. About 30 seconds of whisking. The batter is thin and glossy; that’s normal.
  4. Check for moist crumbs. Pull the cake when a toothpick shows a few moist crumbs and the top springs back. Wet batter means it needs a few more minutes.
  5. Glaze a cool cake. On a warm cake the glaze melts and soaks in instead of setting.
Flour, sugar, cocoa powder, olive oil, vinegar, and vanilla for egg-free wacky cake on a wood table.

Egg-Free Chocolate Wacky Cake

The classic Depression-era chocolate snack cake made without eggs, milk, or butter: cocoa, flour, sugar, baking soda, and vinegar give it a tender, moist crumb, with light-tasting olive oil for richness. Finished with an easy cocoa glaze. Made without eggs, milk, peanuts, tree nuts, soy, fish, shellfish, and sesame. Contains wheat.
Prep Time 10 minutes
Cook Time 30 minutes
Cool 1 hour
Total Time 1 hour 40 minutes
Servings: 9 squares
Course: Dessert
Cuisine: American
Calories: 300

Ingredients
  

Cake
  • 1 tsp light-tasting olive oil 5 g, for greasing the pan (not cooking spray)
  • 1 1/2 cups all-purpose flour 190 g, spooned and leveled (contains wheat)
  • 1 cup granulated sugar 200 g
  • 1/4 cup unsweetened natural cocoa powder 21 g; natural (not Dutch-process) reacts with the baking soda. Label check: cocoa may be processed on lines shared with milk.
  • 1 tsp baking soda 6 g
  • 1/2 tsp fine salt 3 g
  • 1/3 cup light-tasting olive oil 75 ml / 70 g; “light” means refined and mild, not lower in calories. Melted refined coconut oil also works.
  • 1 Tbsp white or apple cider vinegar 15 ml
  • 1 tsp vanilla extract 5 ml. Label check: vanilla and flavorings.
  • 1 cup cold water or cooled brewed coffee 240 ml
Cocoa glaze (optional)
  • 1 cup powdered sugar 120 g. Label check: most contain cornstarch.
  • 2 Tbsp unsweetened cocoa powder 10 g
  • 2 to 3 Tbsp hot water or hot coffee 30 to 45 ml
  • 1/2 tsp vanilla extract
  • 1 pinch fine salt

Equipment

  • 8 x 8 or 9 x 9-inch square baking pan
  • Parchment paper
  • Large mixing bowl and whisk
  • Wire cooling rack

Method
 

  1. Heat the oven to 350°F (175°C) with a rack in the center. Brush an 8 x 8 or 9 x 9-inch pan with light-tasting olive oil and line it with a parchment sling.
  2. In a large bowl, whisk the flour, sugar, cocoa, baking soda, and salt until the cocoa is evenly distributed and no lumps remain.
  3. Add the 1/3 cup olive oil, vinegar, vanilla, and cold water or coffee. Whisk just until smooth and glossy with no dry pockets, about 30 seconds. The batter will be thin. Pour it into the pan right away; the baking soda starts working as soon as it meets the vinegar.
  4. Bake 28 to 33 minutes (8-inch pans run longer), until the top springs back when pressed lightly, the edges pull slightly away from the pan, and a toothpick in the center comes out with a few moist crumbs but no wet batter.
  5. Cool in the pan on a rack for at least 1 hour.
  6. For the glaze, whisk the powdered sugar, cocoa, salt, vanilla, and 2 Tbsp hot water until smooth, adding more water a teaspoon at a time until it pours like thick syrup. Spread over the cooled cake and let it set 15 minutes before cutting into 9 squares.

Notes

Made without: eggs, milk, peanuts, tree nuts, soy, fish, shellfish, sesame.
Contains: wheat.
Label check: cocoa powder (shared lines with milk products are common), vanilla extract, powdered sugar, baking soda. Coffee, if used, should be plain brewed coffee.
Fat: light-tasting olive oil (refined, mild flavor). Refined coconut oil, melted, also works; if you avoid coconut, stay with light-tasting olive oil. Grease the pan with oil, not cooking spray.
Storage: cover and keep at room temperature up to 3 days, or refrigerate up to 5. Freeze unglazed squares, wrapped, up to 3 months.
Nutrition is an automated estimate (per square, with glaze).

Troubleshooting & Tips

  • Cake sank in the middle: the batter sat too long before baking, the oven ran cool, or it was underbaked. Bake right away and check your oven temperature.
  • Dense or gummy: the flour was packed or the batter was overmixed. Spoon and level the flour, and stop whisking once it’s smooth.
  • Dry: it baked too long. Start checking at 28 minutes in a 9-inch pan.
  • Not chocolatey enough: use coffee instead of water, or add an extra tablespoon of cocoa.

Storage, Freezing & Reheating

Room temperature: cover the pan tightly and keep for up to 3 days. Fridge: up to 5 days; because it’s an oil cake, it stays soft cold. Freezer: wrap unglazed squares individually and freeze for up to 3 months. Thaw at room temperature for about an hour, then glaze or dust with powdered sugar. A frozen square warms in the microwave in 10 to 15 seconds.

More Egg-Free Baking

If you like this one-bowl approach, try our egg-free chewy molasses cookies, another oil-based bake with no egg replacer. For a dessert made without all of the top nine, the crustless pumpkin pie sets with cornstarch. Browse more in our dessert recipes.

FAQ

Why is it called wacky cake?

Because it seemed “wacky” that a cake could rise and stay moist without eggs, milk, or butter. The name also comes from the old method of mixing it right in the baking pan by making three wells for the oil, vinegar, and vanilla.

Can you taste the vinegar in wacky cake?

No. The vinegar reacts with the baking soda to make the bubbles that lift the cake, and its flavor bakes off.

Can I make wacky cake without wheat?

A cup-for-cup gluten-free flour blend with xanthan gum is the most likely swap, but it hasn’t been checked with this recipe and results vary by blend. Expect a slightly more fragile crumb.

Can I make cupcakes with this batter?

Yes. Fill 12 lined muffin cups about two-thirds full and bake at 350°F for 18 to 22 minutes, until the tops spring back.

A note before you cook: These recipes are ideas and suggestions, not medical or dietary advice. As with any recipe or ingredient, it is each reader’s responsibility to confirm what they can and cannot eat, read every ingredient label, and source quality ingredients that fit their own needs. Ingredient formulations change, so always check the package you’re using.

Get the free weekly Top 9 Free meal plan

We don’t spam! Read more in our privacy policy

Hungry for more?

More recipes to try