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
- Whisk the dry ingredients well. Cocoa clumps; break up any lumps so you don’t find bitter pockets in the cake.
- Preheat fully first. The leavening starts as soon as the wet meets the dry, so have the oven hot and the pan ready.
- Mix just until smooth. About 30 seconds of whisking. The batter is thin and glossy; that’s normal.
- 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.
- Glaze a cool cake. On a warm cake the glaze melts and soaks in instead of setting.

Egg-Free Chocolate Wacky Cake
Ingredients
Equipment
Method
- 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.
- In a large bowl, whisk the flour, sugar, cocoa, baking soda, and salt until the cocoa is evenly distributed and no lumps remain.
- 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.
- 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.
- Cool in the pan on a rack for at least 1 hour.
- 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
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.
