Wacky Cake

title 1
Wacky Cake
⏱️ cook time 45 minutes
🍽️ servings 9
⚡ Difficulty easy

intro

A fudgy, tender egg-free, dairy-free chocolate cake born from U.S. Great Depression ingenuity, mixed in one pan for minimal cleanup.

Ingredients

All-purpose flour 240g (2 cups, spooned and leveled)
Granulated white sugar 200g (1 cup)
Unsweetened natural cocoa powder 45g (1/2 cup, spooned and leveled)
Baking soda 4g (1 teaspoon)
Fine table salt 3g (1/2 teaspoon)
Neutral vegetable oil (canola or sunflower) 90ml (6 tablespoons)
White distilled vinegar 15ml (1 tablespoon)
Pure vanilla extract 5ml (1 teaspoon)
Cold tap water 240ml (1 cup)

Steps

1

Prep oven and pan

Preheat your oven to 175°C (350°F) with a rack positioned in the middle. Do not grease a 23cm (9-inch) square glass or metal baking pan, as this cake is mixed directly in the pan to cut down on dish cleanup.

Step 1
step1:Prep oven and pan
2

Mix dry ingredients

Add 240g (2 cups, spooned and leveled) all-purpose flour, 200g (1 cup) granulated white sugar, 45g (1/2 cup) unsweetened natural cocoa powder, 4g (1 tsp) baking soda, and 3g (1/2 tsp) fine table salt directly into the ungreased pan. Whisk steadily for 30 seconds until all ingredients are fully combined, with no visible clumps of cocoa or flour remaining.

Step 2
step2:Mix dry ingredients
3

Make three ingredient wells

Use the back of a regular spoon to press three separate, evenly spaced indentations into the dry mixture: one large well for 90ml (6 tbsp) neutral vegetable oil, one medium well for 15ml (1 tbsp) white distilled vinegar, and one small well for 5ml (1 tsp) pure vanilla extract. Pour each ingredient into its matching well, and do not stir at this stage.

Step 3
step3:Make three ingredient wells
4

Combine into smooth batter

Pour 240ml (1 cup) cold tap water evenly over the entire surface of the pan’s contents. Use a rubber spatula to mix for 45 seconds, scraping the bottom and corners of the pan thoroughly to catch any hidden dry flour, until the batter is smooth with only 2-3 tiny lumps per stir—do not overmix, as this will create a tough crumb.

Step 4
step4:Combine into smooth batter
5

Bake to perfect doneness

Carefully transfer the pan to the preheated oven’s middle rack and bake for 30–35 minutes at 175°C (350°F). Test for doneness by inserting a wooden toothpick into the cake’s center: it is done when the toothpick comes out with 2–3 moist, fudgy crumbs attached, not wet batter, and the top springs back gently when pressed.

Step 5
step5:Bake to perfect doneness
6

Cool and serve slices

Remove the pan from the oven and set it on a wire cooling rack for 30 minutes to cool completely to room temperature. Slice into 9 equal square pieces, and dust with 8g (1 tbsp) powdered sugar before serving if desired.

Step 6
step6:Cool and serve slices

Tips

1.Do not substitute Dutch-processed (alkalized) cocoa for natural unsweetened cocoa. Natural cocoa’s acidity reacts with baking soda and vinegar to leaven the cake; Dutch-processed cocoa will result in a dense, flat, poorly risen crumb.
2.Avoid overmixing the batter once you add water. Overmixing develops gluten in the flour, which turns the tender cake tough—stop mixing as soon as you no longer see dry flour streaks, even if a few small lumps remain.
3.Store leftover cake in an airtight container at room temperature for up to 4 days. There is no need to refrigerate this cake, as it contains no perishable dairy or egg ingredients, and cold temperatures will dry out the crumb faster.

✨ You May Also Like

Desserts & Baking
🍜 Italy

Creamy, coffee-kissed classic Northern Italian no-bake dessert, with layers of rum-spiked mascarpone cream, soft ladyfingers, and a rich cocoa dusting.

⏱️ 4 hours 3Desserts & Baking ★ 4.7
Desserts & Baking
🍜 France

Flaky, shatteringly crisp, buttery French croissants with golden exteriors and soft, airy layered interiors, perfect for pairing with coffee for a special morning treat.

⏱️ 12 hours Desserts & Baking ★ 4.5
Desserts & Baking
🍜 United States

Warm, spiced baked apples topped with a fluffy golden biscuit crust, this cozy dessert pairs perfectly with vanilla ice cream for cool-weather comfort.

⏱️ 55 minuteDesserts & Baking ★ 4.6
Desserts & Baking
🍜 United States

A star-spangled classic American blueberry pie with buttery flaky crust and bright sweet-tart filling, perfect for summer patriotic gatherings.

⏱️ 1 hour 25Desserts & Baking ★ 4.7
Desserts & Baking
🍜 United States

A beloved no-bake regional Maine candy with a chewy coconut-potato center coated in rich dark chocolate, a New England holiday staple since the 1870s.

⏱️ 2 hours 3Desserts & Baking ★ 4.8
Desserts & Baking
🍜 France

Luxuriously creamy, floral frozen custard made with aromatic Tahitian vanilla beans, boasting a smooth, rich texture that melts slowly on the tongue.

⏱️ 3 hours 3Desserts & Baking ★ 4.5

Wacky Cake:Frequently Asked Questions

1.Why is this recipe called wacky cake, and where did it originate? ▾
This cake earned its "wacky" name from its unorthodox, ingredient-scare origins during the U.S. Great Depression, when eggs, butter, and dairy were often rationed or unaffordable. Its signature method of mixing ingredients directly in the baking pan (no extra bowls!) and using vinegar to activate leavening felt totally unconventional compared to standard 1930s cake recipes.
2.Does this egg-free, dairy-free cake actually taste as good as traditional chocolate cake? ▾
Absolutely—when made correctly, this cake is incredibly fudgy, tender, and moist, with a rich deep chocolate flavor balanced by granulated white sugar that holds its own against classic butter-based chocolate cakes. The reaction between vinegar and baking soda creates a light, soft crumb that stays moist for days, with no flat, dense "diet dessert" aftertaste or texture.
3.Why does the recipe call for vinegar, and can I taste it in the finished cake? ▾
White distilled vinegar reacts with baking soda to create the carbon dioxide that leavens the cake, giving it that light, fluffy crumb without needing eggs. You will not taste the vinegar at all once baked—its acidic tang cooks off completely in the oven, leaving only perfectly balanced, rich chocolate flavor with no weird aftertaste.
4.Can I mix this cake in a separate bowl instead of directly in the baking pan? ▾
You absolutely can! The original one-pan mix method was designed to cut down on dishwashing during hard economic times, but there’s no rule against whisking dry ingredients in a large bowl first, stirring in wet ingredients, then pouring batter into a greased pan. Just don’t overmix, or you’ll end up with a tough, dense cake.
5.What kind of cocoa powder works best for this recipe? ▾
Stick to unsweetened natural (not Dutch-processed) cocoa powder for best results. Natural cocoa is slightly acidic, which pairs perfectly with the baking soda and vinegar to create a good rise and bright, deep chocolate flavor. Dutch-processed cocoa is pH-neutral, so it won’t react as well with leavening and can lead to a flat, dense cake.
6.Why did my wacky cake turn out dense, gummy, or flat in the middle? ▾
Dense, flat, or gummy results almost always trace back to three common mistakes: using expired baking soda that no longer creates lift, overmixing the batter which develops tough gluten and deflates air bubbles, or using Dutch-processed cocoa instead of acidic natural cocoa. Don’t skip the fine table salt either—it amplifies chocolate flavor, so measure it carefully for the best, most balanced taste.
7.Can I make this cake gluten-free? ▾
Yes, this recipe adapts really well to gluten-free prep! Swap the all-purpose flour for a 1:1 gluten-free all-purpose baking blend that contains xanthan gum, and measure it by weight (120g per cup) to avoid packing too much flour into the batter. You won’t notice a meaningful texture or flavor difference compared to the original version.
8.How do I store leftover wacky cake, and how long does it stay fresh? ▾
Because it contains no dairy or eggs, this cake stays exceptionally moist at room temperature. Tightly cover the cooled cake in plastic wrap or store it in an airtight container, and it will stay fresh for 4 to 5 days on your counter. Skip refrigeration—chilling will actually dry out the tender crumb much faster.
9.Can I add frosting to this cake, and what frostings pair best? ▾
This cake pairs beautifully with all kinds of frostings! Classic matches include simple chocolate buttercream, vanilla buttercream, cream cheese frosting, or even a quick dusting of powdered sugar for a low-fuss treat. Since the base cake is vegan, you can use dairy-free frosting to keep the whole recipe allergy-friendly.
10.What size and type of baking pan works best for this wacky cake? ▾
The classic recipe works best in a 9x9 inch square metal baking pan, but you can also use a 9-inch round pan for a single layer, or double the recipe for a 9x13 inch sheet cake. If you use a glass baking pan, reduce your oven temperature by 25°F to prevent edges from overbaking before the center sets.
11.Can I add mix-ins like chocolate chips, nuts, or sprinkles to the batter? ▾
Absolutely! Fold in up to 1 cup of add-ins right after you finish mixing the batter, right before baking. Great options include semi-sweet chocolate chips, chopped walnuts or pecans, shredded coconut, or rainbow sprinkles. Toss light add-ins in a pinch of flour first to keep them from sinking to the pan bottom.
12.This recipe uses oil instead of butter—what kind of oil should I use? ▾
Use a neutral-flavored oil with a high smoke point for the best results, like canola oil, standard vegetable oil, or refined avocado oil. Avoid strongly flavored oils like extra virgin olive oil, toasted sesame oil, or unrefined coconut oil (unless you want a distinct coconut taste) because they will overpower the cake’s rich chocolate flavor.
13.Can I make this cake into cupcakes instead of a single pan cake? ▾
Yes, this recipe converts perfectly to cupcakes! Line a standard 12-cup muffin tin with paper liners, fill each liner about two-thirds full of batter, and bake at 350°F for 18 to 22 minutes, until a toothpick inserted in the center comes out with a few moist crumbs attached. Cool completely before frosting.
14.I don’t have white vinegar on hand—what can I use as a substitute? ▾
You can swap the white distilled vinegar for an equal amount of raw apple cider vinegar, fresh lemon juice, or white wine vinegar in a pinch. All of these are acidic enough to trigger the leavening reaction with baking soda, and none will leave a noticeable off-flavor. Skip balsamic vinegar, which is too sweet and strongly flavored.
15.Why do classic wacky cake recipes tell you to make three wells in the dry ingredients? ▾
That iconic three-well method is part of the original one-pan mixing hack, designed to keep ingredients evenly distributed without extra bowls. You make one well for oil, one for vinegar, one for vanilla, then pour water over the whole thing and stir—this prevents concentrated spots of acid or leavening that create unevenly risen sections.
16.Is this cake safe for people with egg and dairy allergies? ▾
Yes! The base recipe is completely free of eggs, milk, butter, and other dairy ingredients, so it is naturally safe for people with egg and dairy allergies, as well as those following a vegan diet. Just double-check that any add-ins or frostings you use are also allergen-free if serving guests with severe sensitivities.

Comments (13)

2 days ago

OMG I made this for my kid’s soccer team potluck last night and every single parent asked for the recipe! It’s so moist I couldn’t believe there’s no eggs or dairy in it. Total game changer for last minute bakes when I don’t have a full fridge.

yesterday

That makes our day so happy to hear! It’s wild how well those simple pantry ingredients come together, right? So glad it was a hit at the potluck!

3 days ago

Wait a second, no butter, no eggs, and it still tastes this rich? I was so skeptical at first but I threw this together after dinner last night when I was craving something sweet and WOW. It’s SO good, I even added a quick powdered sugar glaze on top and my roommate ate half the pan before it even cooled.

2 days ago

The powdered sugar glaze is such a good call! I’ve been making this for years and usually do a simple chocolate buttercream, but I’m definitely trying the lighter glaze next time for summer potlucks.

2 days ago

Love the glaze addition! We’re big fans of topping it with fresh berries too when they’re in season, it cuts the richness perfectly.

5 minutes ago

This is exactly the recipe I needed right now with grocery prices being so wild. All ingredients were already in my pantry, 45 minutes total, zero fancy steps. Tastes way better than the boxed mix I usually buy, no cap.

1 week ago

Wait, has anyone tried making this with a 1:1 gluten free all purpose flour? I’m dying to make it for my niece’s birthday since she’s got celiac and a ton of other food allergies, and this seems perfect because it’s already egg and dairy free!

5 days ago

I did it last month with Bob’s Red Mill 1:1 GF flour and it turned out perfectly! Just make sure you give it an extra 2-3 minutes in the oven if the toothpick doesn’t come out clean, mine needed just a touch longer.

2 weeks ago

I grew up watching my grandma make this exact cake during the holidays! She called it “crazy cake” and I lost her recipe years ago when we moved. I tested this last night and it tastes exactly like I remember, I almost cried when I took the first bite. Thank you so much for posting this.

1 week ago

My grandma called it crazy cake too! She’d make it during Lent when we couldn’t have dairy on Fridays, total childhood flashback reading this.

1 week ago

This makes our hearts so full! These old handed-down recipes are the absolute best, we’re so glad this version matches your grandma’s. What a lovely memory to revisit.

yesterday

Full disclosure, I’m a total beginner and I burn almost everything I bake. I decided to try this because it said easy difficulty, and I kid you not, it came out perfect first try? No weird steps, no fancy equipment, I just mixed it right in the baking pan like the instructions said. My whole family was impressed at Sunday dinner.

yesterday

That’s what we love to hear! The mix-right-in-the-pan trick is one of our favorite parts, way less cleanup too. So proud of you for nailing it on the first go, welcome to the baking club!

30 minutes ago

Made this on Sunday for the week’s snack prep and it’s holding up so well! I keep individual slices in airtight containers in the fridge and they’re still moist 4 days later. Way better than grabbing a candy bar from the vending machine at work.

5 days ago

I brought this to my office potluck today and people were literally scraping the pan clean. I told everyone it was a depression-era recipe with no eggs or butter and no one believed me! The only change I made was adding a handful of chocolate chips to the batter before baking, 10/10 would make again.

3 days ago

Wait I was at that potluck! That cake was insane, I had two slices and went back for a third before it was gone. I was just looking up the recipe to make for my partner’s birthday, so stoked I found it.

2 days ago

The chocolate chip addition is genius! We’re going to have to test that ourselves next time we bake it, that sounds like the perfect extra touch. So glad it was an office hit!

2 hours ago

As a vegan who’s always hunting for easy, no-fuss desserts that don’t require 10 weird specialty ingredients, this is an absolute home run. I didn’t even have to adjust anything, it’s accidentally vegan! Served it with coconut whipped cream and it was chef’s kiss.

30 minutes ago

Coconut whipped cream is the perfect pairing! I made this last month for my vegan friend’s going away party and even the non-vegan guests were going back for seconds.

just now

Made this with my 7 year old last night for our weekly daddy-daughter bake night. It was so easy she could do almost all the steps herself (I just handled putting it in the oven and taking it out). We covered it in rainbow sprinkles and she told me it’s the “best chocolate cake ever” so that’s a permanent spot in our recipe box.

1 week ago

Wait, did I do something wrong? My cake came out a little gummy in the middle even after baking it for 45 minutes. I followed the recipe exactly, used regular all purpose flour, all the measurements were right. Any tips?

5 days ago

Oh if you’re in a higher elevation area you might need to adjust your oven temp a little or add a touch more flour! I’m up in Flagstaff and I always add an extra tablespoon of flour and bake at 375 instead of 350 for this cake, comes out perfect every time.

5 days ago

We’re sorry it came out gummy! Oven temperatures can vary so much from unit to unit, so we always recommend testing with a toothpick a few minutes before the timer goes off, and leaving it in 2-3 minute increments until it comes out clean. The high altitude tip from Hannah is spot on too if you’re at elevation!

3 days ago

Literally the perfect college dorm recipe? I made this in my tiny toaster oven with pantry staples I picked up from the corner store, no mixer needed, no fancy pans. Spent like $5 total on ingredients and it’s enough cake to last me all week. 10/10, no notes.

yesterday

I’ve tried so many chocolate cake recipes that come out dry and crumbly no matter what I do, so I was shocked at how moist this stayed even three days after baking. The vinegar and oil trick is wild, I would never have thought those ingredients would make a cake this good. Making this for my mom’s birthday next weekend!

yesterday

We’re so glad you loved the texture! That vinegar + oil combo is the old-school secret that makes this cake work so well even without dairy or eggs. Hope your mom loves it as much as you do, happy early birthday to her!