Mayonnaise Cake

title 1
Mayonnaise Cake
⏱️ cook time 1 hour 35 minutes total (15 min prep, 35 min bake, 45 min cooling)
🍽️ servings 8
⚡ Difficulty easy

intro

A tender, ultra-moist vintage chocolate cake born from Great Depression-era ingenuity, using mayonnaise for rich texture without separate eggs or oil.

Ingredients

Full-fat mayonnaise 1 cup (225g)
All-purpose flour 2 cups (240g)
Unsweetened cocoa powder 1/2 cup (50g)
Granulated sugar 1 cup (200g)
Baking soda 1 teaspoon (5g)
Fine table salt 1/4 teaspoon (1.5g)
Warm water 1 cup (240ml)
Pure vanilla extract 1 teaspoon (5ml)
Unsalted butter (for pan greasing) 1 teaspoon (5g)
Powdered sugar (for dusting) 2 tablespoons (15g)

Steps

1

Prep Oven and Pan

Preheat your oven to 350°F (175°C). Grease a 9-inch (23cm) round cake pan evenly with 1 teaspoon (5g) of unsalted butter, then line the bottom with a cut circle of parchment paper to prevent sticking.

Step 1
step1:Prep Oven and Pan
2

Whisk Dry Ingredients

In a large 3-quart mixing bowl, combine 2 cups (240g) all-purpose flour, 1/2 cup (50g) unsweetened cocoa powder, 1 cup (200g) granulated sugar, 1 teaspoon (5g) baking soda, and 1/4 teaspoon (1.5g) fine table salt. Whisk continuously for 30 seconds until fully blended, breaking up any small clumps of cocoa.

Step 2
step2:Whisk Dry Ingredients
3

Fold in Wet Ingredients

Add 1 cup (225g) full-fat mayonnaise, 1 cup (240ml) warm (110°F/43°C, not boiling) water, and 1 teaspoon (5ml) pure vanilla extract to the dry ingredient bowl. Stir gently with a rubber spatula for 45 seconds, just until no dry flour streaks remain; do not overmix to avoid a tough crumb.

Step 3
step3:Fold in Wet Ingredients
4

Pour Batter into Pan

Scrape all chocolate batter from the mixing bowl into the prepared 9-inch pan, spreading it evenly with the spatula. Tap the pan firmly on the counter 3 times to release trapped air bubbles that would cause holes in the baked cake.

Step 4
step4:Pour Batter into Pan
5

Bake Until Set

Place the pan on the middle rack of the preheated 350°F (175°C) oven. Bake for 30 to 35 minutes, testing doneness at the 30-minute mark by inserting a wooden toothpick into the cake center; it should come out with 2 to 3 moist crumbs attached, not wet batter.

Step 5
step5:Bake Until Set
6

Cool and Finish Cake

Remove the baked cake from the oven and let it rest in the pan on a wire cooling rack for 15 minutes, then turn it out onto the rack to cool completely for 30 more minutes. Dust the cooled cake top evenly with 2 tablespoons (15g) of powdered sugar before slicing.

Step 6
step6:Cool and Finish Cake

Tips

1.Always use full-fat mayonnaise for this recipe; low-fat, light, or vegan mayo alternatives contain extra water and stabilizers that result in a dense, gummy crumb.
2.Avoid overmixing the batter once wet ingredients are added—overworking the flour develops gluten, which makes the cake tough instead of tender and soft.
3.Let the cake cool completely before dusting with powdered sugar; warm cake will melt the sugar, creating a sticky, wet surface instead of a light, powdery coating.

✨ 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

Mayonnaise Cake:Frequently Asked Questions

1.Can you taste the mayonnaise in this cake, or does it leave a weird savory aftertaste? ▾
You won’t pick up any distinct mayonnaise flavor at all! Full-fat mayo is just emulsified eggs, oil, and a small amount of acid, which bakes straight into a rich, tender crumb. The unsweetened cocoa and granulated sugar completely mask any subtle savory notes, leaving only deep, classic chocolate flavor with zero odd aftertaste.
2.Can I use low-fat or light mayonnaise instead of full-fat for this recipe? ▾
I strongly recommend sticking to full-fat mayonnaise for the best, most reliable texture. Light and low-fat mayo blends include extra water, stabilizers, and modified starches that can make your cake turn out gummy, dense, or oddly dry. If you only have light mayo on hand, add 1 extra tablespoon of all-purpose flour to balance extra moisture, but full-fat will always give the perfect tender crumb.
3.How do I store this cake to keep it moist, and how long will it stay fresh? ▾
This cake stays ultra-moist with simple, proper storage. Let it cool completely after baking, then wrap it tightly in plastic wrap or tuck it into an airtight container at room temperature for up to 4 days. Skip the fridge—chilling dries out the crumb and dulls chocolate flavor. For longer storage, wrap it well and freeze for up to 3 months.

Comments (20)

3 days ago

I was fully ready to write this off when I saw mayo was the main secret ingredient, but y’all? This cake is insane. So moist, not too sweet, perfect with a little cream cheese frosting. My kids devoured half the pan before dinner last night. 10/10, will make again for our next block party.

1 week ago

Super easy recipe even for someone who burns toast half the time! Took it to a work potluck and nobody believed it had mayo in it. The texture is perfect, no weird aftertaste at all. Great for when you don’t have a ton of fancy baking supplies on hand.

5 days ago

Made this for my husband’s birthday since he’s always complaining about dry boxed cake. This was so rich and moist, even after sitting in the fridge for 3 days! Didn’t even need fancy frosting, just a dusting of powdered sugar was perfect.

2 weeks ago

No cap, this is the easiest cake I’ve ever made in my dorm kitchen. No fancy equipment, just mixed everything in one bowl, popped it in the oven, and it came out perfect. My roommates fought over the last piece. 10/10 for beginner bakers on a budget.

1 week ago

I’ve been making mayo cake since the 70s and this recipe is exactly the one my mom used to make! So nostalgic, perfectly moist, not cloyingly sweet. My grandkids beg for it every time they come over for Sunday dinner.

yesterday

Threw this together last minute for a church potluck when my original dessert flopped, and it was the first thing gone! People were hovering over the pan asking for seconds. Can’t believe how simple it is for how good it tastes.

30 minutes ago

Wait a second—mayo in cake? Does it taste like mayonnaise at all? I’m so nervous to try this because I hate mayo, but everyone is raving about how moist it is.

5 minutes ago

Great question! The mayo replaces the oil and eggs you’d normally use in cake, and once it bakes you can’t taste it at all—all you get is that super soft, moist crumb everyone loves! I promise no weird savory mayo flavor, just rich, delicious cake.

2 days ago

Has anyone tried making this with gluten free all purpose flour? I’m dying to make it for my daughter’s birthday but we avoid regular flour for her celiac.

yesterday

I made it last week with a 1:1 gluten free baking flour and it turned out exactly the same! No weird texture, just as moist as the original. My whole family loved it and nobody could tell it was GF.

2 hours ago

What kind of frosting do y’all pair this with? I’m making it for my roommate’s graduation party and want to make sure it’s a hit.

30 minutes ago

My go-to is a simple chocolate cream cheese frosting, but it pairs great with vanilla buttercream, a dusting of powdered sugar, or even fresh berries and whipped cream if you want something lighter! You really can’t go wrong.

1 week ago

Help! I followed the recipe exactly but my cake came out a little gummy in the middle? Did I take it out too early?

5 days ago

Oh no, sorry to hear that! Gummy centers usually happen if the oven temp is a little off, or if you open the oven door too early while it’s baking. I recommend testing with a toothpick inserted in the center—if it comes out with a couple moist crumbs (not wet batter), it’s done! Letting it cool fully in the pan also helps the crumb set.

5 days ago

Can you freeze slices of this cake for quick snacks during the week? I do meal prep every Sunday and would love to add this to the rotation.

3 days ago

I froze half my last cake wrapped in plastic wrap and aluminum foil for 2 weeks, and when I thawed it on the counter it was just as moist as the day I baked it! Perfect for quick snacks, I even threw a frozen slice in my kid’s lunchbox and it was thawed by noon.

3 days ago

This is the first cake I’ve ever made from scratch and it actually turned out! I was so scared I’d mess it up but the instructions are so straightforward. My parents were so impressed when I brought it home for family dinner.

2 days ago

Yay that’s awesome! I’m also a total beginner and this was my first successful scratch cake too. It’s basically impossible to mess up, right? So forgiving even if you’re not great at measuring.

2 weeks ago

I added a half cup of chocolate chips to the batter and it was chef’s kiss. The little melty chocolate pockets take this to the next level, 10/10 would recommend.

1 week ago

That sounds amazing! Adding chocolate chips (or even chopped walnuts, if you like a little crunch) is such a fun twist. I’ll have to try that next time I make it—thanks for the tip!

yesterday

Does this work in a 9x13 pan or do you have to use round cake pans? I only have the one big pan in my tiny apartment kitchen.

2 hours ago

It works perfectly in a 9x13 pan! Just keep an eye on the bake time—you might need to add 3-5 minutes since the batter will be spread a little differently. Just do the toothpick test to make sure it’s done all the way through.

1 week ago

Made this for our office potluck yesterday and people were literally scraping the pan clean. I didn’t even tell anyone it had mayo until after everyone had a second slice, and everyone’s mind was blown. So easy, so moist, zero weird flavor.

5 days ago

Wait you brought that in?? I had two slices and asked who made it! That was easily the best dessert at the whole potluck, I can’t believe it was that easy to make. I need to save this recipe stat.

3 days ago

Haha, love a good secret ingredient reveal after everyone raves about it! So glad it was such a hit at your office potluck, that’s the best compliment a baker can get.

2 weeks ago

My grandma used to make mayonnaise cake when I was little and I’ve been chasing that flavor for years. This recipe is spot on! Tastes exactly like I remember, super moist, not too sweet. I cried a little when I took my first bite, ngl.

1 week ago

Same! I lost my grandma’s recipe card during a move a few years back and I’ve tried like 4 different versions that never tasted right. This one is exactly it, right? The crumb is perfect, no weird tang.

5 days ago

There’s nothing better than a recipe that brings back those warm family memories! I’m so glad this one matched what you remembered from your grandma’s kitchen. That means the world to me.

5 days ago

Full transparency: I accidentally used Miracle Whip instead of regular mayo because I grabbed the wrong jar from the fridge. Did I ruin it? It’s in the oven right now and I’m panicking.

5 days ago

I did the exact same thing last month! It came out a tiny bit tangier than usual but it was still so good, my family didn’t even notice a difference. You’re totally fine, no ruined cake here!

3 days ago

No need to panic! Miracle Whip is a little sweeter and tangier than regular mayo, but it’ll still bake up into a delicious, moist cake. If you notice a little extra tang, you can pair it with a sweeter frosting to balance it out. I bet it turns out great!

2 days ago

Wait, does this work with vegan mayo? My partner is vegan and I’ve been looking for an easy cake recipe to make for our anniversary dinner that doesn’t require a million fancy ingredients.

yesterday

I tested this last week with regular plain vegan mayo (not the olive oil kind) and it worked perfectly! I also used oat milk instead of regular milk and it was so moist, my non-vegan roommate ate half the cake.

2 hours ago

Love that swap! I’ve had a few readers make this with vegan mayo with great results, so that’s a perfect option for a plant-based version. Happy anniversary, I hope you both love it!

3 days ago

I doubled the recipe for my kid’s end of season soccer party and it was a total home run! Every last crumb was gone, even the kids who turn their nose up at “homemade” cake came back for seconds. Will absolutely be adding this to my regular rotation.

2 days ago

Wait were you the one who brought that chocolate cake to the U12 party last Saturday? My son wouldn’t stop talking about it on the ride home, he said it was the “best cake ever.” I had a piece too and he was right, that was incredible!

yesterday

That was me! I can’t believe how fast it went, I was worried I made too much but clearly I made just enough. I’ll bring the recipe cards to the next game for anyone who asked!

just now

I swapped the water for cold brew coffee to amp up the chocolate flavor and oh my GOD it’s so good. Tastes like those fancy mocha cakes you get at the bakery for $8 a slice, but it cost me like $3 to make the whole thing.

just now

Wait that is genius! I have a jar of cold brew in my fridge right now, I’m definitely trying that this weekend. Does it make the cake taste super coffee-forward or just make the chocolate richer?

just now

It just makes the chocolate taste deeper, not super coffee-y at all! I’m not even a huge coffee fan but it adds such a nice richness, you have to try it.