x

Mayonnaise Cake Recipe – Classic Wartime Secret Cake

Mayonnaise Cake Recipe – Classic Wartime Secret Cake

Easy Moist Chocolate Mayonnaise Cake Recipe – Grandma’s Best-Kept Secret Revealed

If you’ve been searching for the easy moist chocolate mayonnaise cake recipe that actually delivers bakery-level richness without any fancy ingredients — you’ve just found it. This is the exact recipe that grandmothers across America quietly baked every Sunday, never quite revealing why their chocolate cake was always so impossibly tender, so deeply fudgy, and so perfectly moist long after it came out of the oven.

The secret? A single spoonful — or rather, a full cup — of plain mayonnaise tucked right into the batter.

At Nostalgic Eats, we believe the best recipes aren’t invented — they’re remembered. And this one carries a century of love in every slice. Pull up a chair. Grandma’s kitchen is open.

Not Sure What to Cook Today?

Open your fridge, pick a few ingredients… and turn them into a real recipe in seconds.

Try the Recipe Generator →
No guessing. No waste. Just simple, nostalgic meals.

Easy Moist Chocolate Mayonnaise Cake Recipe — Why It Works Like Magic

You might be raising an eyebrow right now. Mayonnaise? In cake?

Hear this out, because once you understand the science, you’ll never bake a dry chocolate cake again.

Mayonnaise is simply a blend of eggs, oil, and a touch of vinegar — the same trio that countless traditional cake recipes call for individually. When those three components are already emulsified together inside mayonnaise, they blend into your batter seamlessly, creating a structure that traps moisture at the molecular level.

The result is a chocolate cake that stays moist for days, never crumbles when you slice it, and has that deep, dense crumb that feels like it came from a bakery — not a weeknight kitchen.

According to King Arthur Baking, the fat-to-flour ratio is the single biggest factor in cake texture. Mayonnaise nails that ratio effortlessly. And Serious Eats confirms that the vinegar in mayonnaise also reacts with baking soda to create an extra lift, giving this cake a beautiful rise every single time.

💡 Grandma’s Tip: She always used full-fat Duke’s or Hellmann’s mayonnaise — never “light” or “miracle whip.” The fat is the magic. Don’t swap it.

Mayonnaise Cake: Quick Reference

Prep Time15 minutes
Baking Time30–35 minutes (9×13-inch pan)
Cooling Time30–45 minutes
Total TimeAbout 45 minutes (plus cooling)
YieldOne 9×13-inch cake or two 8-inch round cakes (12–15 pieces)
DifficultyVery Easy
CostBudget-friendly

Ingredients You’ll Need

Main Ingredients:

  • 2 cups all-purpose flour
  • 1 cup sugar
  • ¼ cup cocoa powder
  • 2 teaspoons baking soda
  • ¼ teaspoon salt
  • 1 cup mayonnaise (full-fat)
  • 1 cup cold water
  • 1 teaspoon vanilla extract

Optional Additions:

  • Chocolate frosting for topping
  • Powdered sugar for dusting
  • ¼ teaspoon instant coffee powder (enhances chocolate)
  • Whipped cream for serving
  • Chocolate chips for garnish

Note on Cocoa: Dutch-process cocoa gives a smoother, richer flavor. Natural cocoa works too but gives a slightly sharper, more intense taste. The Kitchn explains the difference here.

Understanding Mayonnaise Cake: History and Heritage

Mayonnaise cake emerged from genuine necessity during World War II when rationing severely limited access to traditional baking ingredients. Eggs were precious and rationed. Butter was nearly impossible to obtain. Bakers needed solutions that allowed them to continue creating cakes and desserts despite these limitations. Someone discovered that mayonnaise—containing eggs, oil, and emulsifiers—could replace both eggs and butter while producing remarkably tender, moist cakes.

The brilliance of this substitution lies in chemistry. Mayonnaise already contains eggs, oil, and emulsifying ingredients. When used in cakes, these components work exactly as they would if added separately. The mayo’s oil content provides richness and moisture. The egg content contributes binding and structure. The emulsifiers help create smooth batter. The result is cake that’s indistinguishable from traditional recipes, yet uses only one ingredient instead of several.

Mayonnaise cake became so successful that recipes appeared in wartime cookbooks and community collections. Many families continued making it long after rationing ended, proving that the recipe’s appeal transcended wartime necessity. The cake became a treasured family secret—mothers enjoying the delighted confusion on diners’ faces when they revealed the secret ingredient.

Not Sure What to Cook Today?

Open your fridge, pick a few ingredients… and turn them into a real recipe in seconds.

Try the Recipe Generator →
No guessing. No waste. Just simple, nostalgic meals.

What Makes This Mayonnaise Cake Special

The magic lies in complete transformation. Mayonnaise contributes no detectable savory flavor to the finished cake. The cocoa powder dominates the flavor profile, creating authentic chocolate taste. The mayonnaise’s oil and egg content create remarkably tender, moist crumb that’s nearly impossible to achieve with other ingredients. The batter comes together smoothly with minimal mixing, creating light texture.

The cold water helps activate the baking soda while keeping the batter at ideal consistency. The sugar dissolves into the batter, creating sweetness that perfectly balances chocolate. The vanilla extract adds depth and complexity. The result is chocolate cake that’s incredibly moist, tender, and genuinely delicious—tasting exactly like traditional cake while using completely unconventional ingredients.

The cake’s moistness is remarkable. It stays tender for days, never becoming dry or stale. This longevity made wartime bakers treasure the recipe—in times of scarcity, having dessert that lasted for several days was genuinely valuable.

How to Make Mayonnaise Cake

Step 1: Preheat and Prepare

Preheat your oven to 350°F (175°C). Grease a 9×13-inch baking pan thoroughly with butter or cooking spray. Alternatively, you can use two 8-inch round cake pans. Set aside.

I 1

Step 2: Combine Dry Ingredients

In a large bowl, sift together 2 cups all-purpose flour, 1 cup sugar, ¼ cup cocoa powder, 2 teaspoons baking soda, and ¼ teaspoon salt. Sift rather than simply mix to ensure the cocoa powder and baking soda are distributed evenly throughout the flour. Any lumps of cocoa powder will create streaks in the finished cake.

I 2

Step 3: Add Mayonnaise

Add 1 cup full-fat mayonnaise to the dry ingredients and mix until well combined and crumbly. The mixture should look like coarse crumbs with no visible streaks of flour. This initial mixing begins incorporating the mayonnaise’s oil and egg content evenly throughout.

I 3

Step 4: Add Water Gradually

Gradually add 1 cup cold water to the mixture, stirring as you pour. The batter will come together smoothly and become pourable. Continue stirring until the batter is smooth and well blended with no visible lumps of cocoa powder or flour.

I 4

Step 5: Add Vanilla

Stir in 1 teaspoon vanilla extract, mixing thoroughly to distribute evenly.

I 5

Step 6: Transfer to Pan

Pour the batter into the prepared pan (or pans) and spread evenly with a spatula. The batter should be smooth and uniform.

I 6

Step 7: Bake

Place in the preheated 350°F oven. Bake for 30-35 minutes if using a 9×13-inch pan, or 25-30 minutes if using round pans. A toothpick inserted into the center should come out clean. The top should be firm to the touch and a toothpick inserted should not meet resistance.

Every oven runs slightly different. Start checking at 26 minutes. Food Network’s baking guide recommends checking doneness at the earliest listed time to avoid overbaking — the number one killer of moist cake.

I 7

Step 8: Cool in Pan

Remove from the oven and allow to cool in the pan for 10 minutes. This allows the cake to set slightly while remaining warm, making removal easier without breaking.

I 8

Step 9: Turn Out and Cool Completely

Turn the cake out onto a wire cooling rack and allow to cool completely before frosting or serving. This takes about 30-45 minutes. Complete cooling ensures the cake sets properly and is ready for frosting.

I 9

Step 10: Frost or Serve

Once cooled, you can frost with chocolate frosting, dust with powdered sugar, or serve plain. The cake is delicious either way.

I 10

Easy Moist Chocolate Mayonnaise Cake Recipe — Variations Grandma Tried

This recipe is wonderfully forgiving and endlessly adaptable. Here are a few vintage-style variations worth exploring:

Mocha Version: Replace 2 tablespoons of the warm water with strong black coffee. Coffee amplifies chocolate flavor in a way that surprises even seasoned bakers — try it once and it becomes your standard. Sally’s Baking Addiction calls this technique the “chocolate intensifier.”

Spice Variation: Add ½ teaspoon each of cinnamon and a pinch of cayenne to the dry ingredients. This was a popular Depression-era variation when home cooks found creative ways to stretch and enhance simple flavors.

Sheet Cake Version: Pour the full batter into a greased 9×13 pan and bake for 35–38 minutes. Frost directly in the pan and cut into squares — this is the version grandma brought to church potlucks and neighborhood gatherings. If you love that kind of community cooking, don’t miss our BBQ Meatballs Slow Cooker Potluck Recipe — another crowd favorite from the same era.

Easy Moist Chocolate Mayonnaise Cake Recipe — Frequently Asked Questions

Can I use light mayonnaise? You can, but the result will be noticeably less moist and rich. Full-fat is strongly recommended. According to Joy of Baking, reducing fat in cake recipes directly impacts both texture and shelf life.

What if I don’t have Dutch-process cocoa? Natural cocoa works fine. The flavor will be slightly sharper, and you may notice the cake has a bit less rise due to the different acid-base chemistry. Both versions are delicious.

Can I make this as cupcakes? Absolutely. Fill lined cupcake tins two-thirds full and bake at 350°F for 18–22 minutes. This recipe yields approximately 24 standard cupcakes.

Why did my cake sink in the middle? The most common causes are: underbaking, opening the oven door too early (before 20 minutes), or too much liquid. Also check that your baking soda is fresh — soda older than 6 months loses potency. AllRecipes offers a great troubleshooting guide for exactly this issue.

Not Sure What to Cook Today?

Open your fridge, pick a few ingredients… and turn them into a real recipe in seconds.

Try the Recipe Generator →
No guessing. No waste. Just simple, nostalgic meals.

More Nostalgic Comfort From Our Kitchen

This easy moist chocolate mayonnaise cake recipe fits right into a tradition of honest, unfussy American cooking that stood the test of time because it worked. If that kind of cooking speaks to you, here are a few more classic recipes from our kitchen worth bookmarking:

And if your pantry is already stocked but you’re not sure what to bake next, try our Free Recipe Maker from Ingredients — just enter what you have on hand and it pulls up real, tested old-fashioned recipes from our full collection. No sign-up. No ads. Just cooking.

The Reason Grandma Never Shared This Recipe

There’s a small truth worth telling here. The reason grandmothers often kept the mayonnaise ingredient quiet wasn’t secrecy — it was practicality. They knew that if they said “mayonnaise cake,” half the room would wrinkle their nose before taking a bite. So they simply served it, watched the plates get cleaned, and smiled to themselves.

You’ll do the same. Bake it. Frost it. Serve it. Watch what happens.

Then — if you feel like it — tell them what’s in it.

Published on NostalgicEats.com | Classic American Comfort Recipes Explore more at: nostalgiceats.com

About Author

Nostalgic Eats

Leave a Reply

Your email address will not be published. Required fields are marked *

Nostalgic Eats