Mom's Best Recipes
Recipe

Wacky Cake

A one-pan chocolate cake with no eggs and no dairy in the batter, but it still bakes up moist, tender, and seriously satisfying.

Author By Matt Campbell
4.8
A single square slice of wacky cake on a small plate with glossy chocolate frosting, a fork beside it, and a simple family kitchen table setting in warm natural light

Wacky cake is the kind of recipe that feels like a magic trick you can eat. No eggs. No dairy in the batter. And somehow you still get a chocolate cake that is moist, tender, and full of that deep cocoa flavor that makes you do the little mid-bite pause.

The best part is the vibe. This is relaxed baking at its finest: whisk the dry stuff, add a few wet ingredients, stir, bake. It is forgiving, pantry-friendly, and perfect for weeknights, birthdays, snow days, or any moment you want homemade cake without a grocery run.

Measured flour, cocoa powder, sugar, baking soda, salt, vinegar, vanilla, oil, and water arranged on a clean kitchen counter with a metal whisk and an 8x8 baking pan nearby, consistent warm kitchen lighting

Why It Works

  • One pan, minimal mess: You can mix it right in the baking dish, which is my favorite kind of cleanup.
  • Moist texture without eggs or dairy in the batter: Vinegar and baking soda create lift, while oil keeps the crumb soft and plush.
  • Big chocolate flavor: Cocoa does the heavy lifting here, so using a decent unsweetened cocoa powder pays off.
  • Flexible: Keep it dairy-free with oil to grease the pan and water or plant milk in the glaze, or dress it up with frosting, berries, powdered sugar, or a scoop of ice cream.
Hands stirring glossy chocolate cake batter directly inside a square baking pan with a silicone spatula on a kitchen counter, ingredients pushed to the side, warm natural light

Pairs Well With

Storage Tips

Room temperature: Cover the pan tightly or transfer slices to an airtight container. It keeps well for 2 to 3 days at cool room temp.

Refrigerator: If your kitchen runs warm or you topped it with something perishable, store covered in the fridge for up to 5 days. Let slices sit out for 15 to 20 minutes before eating so the crumb softens.

Freezer: Freeze unfrosted or glazed slices on a sheet pan until firm, then wrap and store in a freezer bag for up to 2 months. Thaw overnight in the fridge or on the counter for about an hour.

Individual slices of chocolate wacky cake stored in a clear airtight container on a kitchen counter, with one slice slightly separated to show the moist crumb, consistent home kitchen lighting

Common Questions

Why is it called wacky cake?

Because it breaks the usual cake rules. No eggs, no milk, no butter in the batter, and you can mix it right in the pan. The chemistry still works, and it feels a little wacky the first time you do it.

Is wacky cake the same as depression cake?

Often, yes. They are essentially the same family of recipes that became popular when eggs and dairy were scarce. Different households have their own ratios and little tweaks, but the idea is the same: a simple, egg-free, dairy-free chocolate cake that actually tastes great.

Can I make it gluten-free?

You can try a 1:1 gluten-free baking flour blend. The texture will be slightly different, but it usually works well. Let the cake cool fully before slicing so it sets up.

What kind of vinegar should I use?

White vinegar is classic and neutral. Apple cider vinegar also works and you will not taste it in the finished cake.

Do I have to use coffee?

No. This recipe uses water. If you want a deeper chocolate note, swap the water for cooled brewed coffee. Same amount.

What cocoa powder should I use?

Natural unsweetened cocoa is the most reliable here because baking soda is doing the leavening. Dutch-process can still work, but the rise can be a little less lofty in some kitchens. If Dutch-process is what you have, go ahead and bake it, just know the texture may be slightly denser.

Why did my cake turn out gummy or dense?

Most commonly: overmixing, old baking soda, using Dutch-process cocoa (sometimes), or measuring flour too generously. Whisk flour lightly, spoon it into the measuring cup, level it off, and mix only until you do not see dry streaks. Also, scrape the corners and edges of the pan well so hidden flour pockets do not sneak in.

I love wacky cake because it is the exact opposite of precious baking. No mixer screaming on the counter. No separating anything. No stress about whether you have enough eggs. It is the cake I make when I want something cozy and chocolatey, but I also want to stay in a relaxed, weeknight headspace. Mix, bake, cool, slice. Then stand at the counter for a “tiny taste” that somehow becomes a full corner piece. Every time.