Bake & Savor Recipes

  • All Recipes
  • Cakes & Cupcakes
  • Cookies
  • Pies & Tarts
  • About Bake & Savor
menu icon
go to homepage
  • All Recipes
  • Cakes & Cupcakes
  • Cookies
  • Pies & Tarts
  • About Bake & Savor
search icon
Homepage link
  • All Recipes
  • Cakes & Cupcakes
  • Cookies
  • Pies & Tarts
  • About Bake & Savor
×

Moist Chocolate Mayonnaise Cake

Published: Jan 31, 2026 by Emily Johnson · This post may contain affiliate links · Leave a Comment

This Chocolate Mayonnaise Cake delivers deep, fudgy chocolate flavor with a texture so tender it practically melts on your tongue. I first tried mayonnaise cake at my neighbor Sofia's house years ago, and I couldn't believe how moist it stayed, even days later. The secret? Mayonnaise replaces both eggs and oil, creating an incredibly rich crumb without any fuss. It's one of those recipes that looks impressive but comes together in under 15 minutes of active work.

A close-up of a slice of Moist Chocolate Mayonnaise Cake with frosting, sitting on a plate.
A rich and fudgy Chocolate Mayonnaise Cake made with mayonnaise for a moist and tender crumb.
Jump to Recipe Print Recipe
A close-up of a slice of Moist Chocolate Mayonnaise Cake with frosting, sitting on a plate.

if you love easy chocolate desserts, you'll want to try my Brown Sugar Shortbread Cookies or Baileys and Coffee Cupcakes next. This cake pairs beautifully with a strong cup of coffee, and honestly, it's become my go-to when I need something that tastes like it came from a bakery but requires barely any effort.

Why This Chocolate Mayonnaise Cake Works

Chocolate Mayonnaise Cake became popular during the Depression era when eggs were scarce, but it's stuck around because it genuinely produces one of the moistest chocolate cakes you'll ever taste. The mayonnaise (which is just oil, eggs, and a bit of acid) keeps the crumb incredibly tender and adds a subtle tang that deepens the chocolate flavor. Strong black coffee enhances the cocoa without making the cake taste like coffee at all. And because you're mixing everything by hand with just a whisk, there's no risk of overbeating or drying out the batter. It's foolproof, deeply chocolatey, and stays fresh for days.

Jump to:
  • Why This Chocolate Mayonnaise Cake Works
  • Chocolate Mayonnaise Cake Ingredients
  • How to Make Chocolate Mayonnaise Cake
  • Substitutions and Variations
  • Equipment For Chocolate Mayonnaise Cake
  • Storage and Make-Ahead Tips
  • Expert Tips
  • Why You'll Love This Chocolate Mayonnaise Cake
  • FAQ
  • Related
  • Pairing
  • Chocolate Mayonnaise Cake

Chocolate Mayonnaise Cake Ingredients

Here's what you'll need to make this rich, tender Chocolate Mayonnaise Cake.

See Recipe Card Below This Post For Ingredient Quantities

For the Cake:

  • Nonstick cooking spray: Keeps the cake from sticking to the pan and makes cleanup easier.
  • All-purpose flour : Forms the structure of the cake and gives it a tender crumb when mixed gently.
  • Unsweetened natural cocoa powder : Provides deep, rich chocolate flavor. Natural cocoa works best here because it reacts with the baking soda to help the cake rise.
  • Granulated sugar : Sweetens the cake and keeps it moist by attracting moisture during baking.
  • Baking powder : Helps the cake rise and creates a light, fluffy texture.
  • Baking soda : Works with the acidity in the mayonnaise and coffee to give the cake extra lift.
  • Diamond Crystal kosher salt : Balances the sweetness and enhances the chocolate flavor. If using table salt, use half as much by volume.
  • Strong black coffee : Intensifies the chocolate flavor without making the cake taste like coffee. You can use hot water if you prefer, but coffee makes a noticeable difference.
  • Mayonnaise : Replaces both eggs and oil, creating an incredibly moist, tender crumb. Use full-fat mayonnaise for the best results.
  • Vanilla extract : Adds warmth and rounds out the chocolate flavor.

For the Frosting:

  • Unsalted butter : Creates a smooth, creamy base for the frosting. Make sure it's softened to room temperature so it whips up fluffy.
  • Cocoa powder : Adds rich chocolate flavor to the frosting. Sifting removes lumps and makes the frosting silky.
  • Confectioners' sugar : Sweetens and thickens the frosting. Sifting prevents graininess.
  • Whole milk : Thins the frosting to a spreadable consistency.
  • Vanilla extract : Enhances the chocolate and adds a subtle sweetness.

How to Make Chocolate Mayonnaise Cake

Here's how to make this tender, fudgy Chocolate Mayonnaise Cake from start to finish.

For the Cake:

Preheat oven: Adjust the oven rack to the middle position and preheat to 350°F (175°C). This ensures even baking throughout.

Prepare pan: Grease a 9- by 13-inch baking pan with nonstick spray, then dust lightly with flour, shaking out the excess. This prevents sticking and makes it easy to remove slices cleanly.

Sift dry ingredients: In a large bowl, sift together the flour and cocoa powder. Add the sugar, baking powder, baking soda, and salt, then whisk everything together until well combined. Sifting removes lumps and helps the cocoa distribute evenly.

Mix wet ingredients: In another large bowl, whisk the brewed coffee, mayonnaise, and vanilla extract together until the mixture becomes foamy and milky, about 20 seconds. It'll look a bit odd at first, but it comes together quickly.

Combine wet and dry: Add the dry ingredients to the wet mixture and whisk until just combined. Don't overmix-the batter should be slightly lumpy, which is totally normal. Overmixing can make the cake dense.

A close-up of chocolate cake batter being whisked in a bowl with a whisk.

Bake: Scrape the batter into the prepared pan and spread it evenly. Bake for 35 to 38 minutes, or until a cake tester inserted in the center comes out clean and the cake pulls slightly away from the pan's edges. The top should look set and smell deeply chocolatey.

A close-up of a freshly baked chocolate cake in a metal baking pan.

Cool: Allow the cake to cool completely on a wire rack, about 1 ½ to 2 hours. Don't frost it while it's warm, or the frosting will melt and slide right off.

For the Frosting:

Beat butter: In a stand mixer with a paddle attachment or using a hand mixer, beat the softened butter on medium-high speed until creamy, about 30 seconds. This creates a light, fluffy base.

Add dry ingredients: Add the sifted cocoa powder and confectioners' sugar, then mix on low speed until incorporated. Start slow to avoid a cloud of powdered sugar in your kitchen.

Add milk and vanilla: Add the milk and vanilla extract, then increase the speed to medium-high and beat for 3 minutes until smooth and fluffy. The frosting should be creamy and spreadable.

Frost cake: Once the cake is completely cooled, spread the frosting over the top with a small offset spatula or flexible rubber spatula. Slice into 15 squares and serve!

Substitutions and Variations

Coffee: If you don't drink coffee or don't have any on hand, you can use hot water instead. The cake will still be delicious, though the chocolate flavor won't be quite as deep.

Mayonnaise: Stick with full-fat mayonnaise for the best texture. Light or reduced-fat versions have more water and less fat, which can make the cake less tender.

Cocoa powder: Natural cocoa powder works best here because it reacts with the baking soda. Dutch-process cocoa is more neutral, so the cake may not rise as well.

Frosting: If you want a lighter frosting, try a simple whipped cream topping instead of buttercream. Or dust the cake with powdered sugar for a no-fuss finish.

Add-ins: Fold in ½ cup of chocolate chips or chopped nuts for extra texture and flavor.

Equipment For Chocolate Mayonnaise Cake

  • 9x13-inch baking pan: A standard metal or glass pan works perfectly for this cake.
  • Whisk: For mixing the batter by hand no mixer needed for the cake itself.
  • Flexible rubber spatula: Helps you scrape down the bowl and spread the frosting smoothly.
  • Stand mixer or hand mixer: Makes the frosting light and fluffy. A hand mixer works just as well as a stand mixer here.

Storage and Make-Ahead Tips

Room temperature: Store the frosted Chocolate Mayonnaise Cake covered at room temperature for up to 3 days. The mayonnaise keeps it incredibly moist.

Refrigerator: If your kitchen is warm or you want to keep it longer, refrigerate the cake covered for up to 5 days. Let it sit at room temperature for 20 minutes before serving for the best texture.

Freezer: Wrap individual slices tightly in plastic wrap, then place them in a freezer bag. Freeze for up to 3 months. Thaw in the fridge overnight or at room temperature for a few hours.

Make-ahead: You can bake the cake a day ahead, leave it unfrosted, and cover it tightly. Frost it the next day before serving.

Expert Tips

Use room temperature mayonnaise: Cold mayonnaise doesn't mix as smoothly into the coffee. Let it sit out for 15 minutes before you start.

Don't skip the coffee: Hot water works in a pinch, but brewed coffee brings out the chocolate in a way nothing else does. Even if you're not a coffee drinker, you won't taste it in the finished cake.

Let the cake cool completely: Frosting a warm cake will turn into a melty mess. Be patient and wait the full 2 hours.

Sift the cocoa and powdered sugar: This removes lumps and makes both the batter and frosting smoother.

Test for doneness: The Chocolate Mayonnaise Cake is done when a toothpick inserted in the center comes out clean and the edges pull away slightly from the pan. Don't overbake, or it'll dry out.

Use full-fat mayonnaise: Light versions have more water and less fat, which changes the texture. Stick with the real stuff.

Why You'll Love This Chocolate Mayonnaise Cake

This Chocolate Mayonnaise Cake checks all the boxes if you want a no-fuss chocolate dessert that tastes like you spent hours on it. The batter comes together in one bowl with ingredients you probably already have. There's no creaming butter, no separating eggs, no complicated techniques. You whisk everything together, pour it into a pan, and bake. The result is a deep, fudgy chocolate cake with a tender crumb that stays moist for days. It's rich enough to feel indulgent but not so heavy that you can't have a second slice. And because it uses mayonnaise instead of eggs, it's a great option when you're running low on basics or need a dessert that holds up well at room temperature.

If you're looking for more crowd-pleasing chocolate recipes, my Peanut Butter Chocolate Swirl Cookies and Giant Cinnamon Roll Cake are always hits too.

FAQ

What does adding mayonnaise to a cake do?

Mayonnaise replaces both eggs and oil in this Chocolate Mayonnaise Cake, adding moisture and fat that keep the cake incredibly tender. The acidity in the mayonnaise also reacts with the baking soda, helping the cake rise and giving it a light crumb. You won't taste the mayonnaise at all-it just makes the cake unbelievably moist.

What is the easiest Chocolate Mayonnaise Cake to make?

This Chocolate Mayonnaise Cake is one of the easiest cakes you'll ever make. There's no creaming butter, no separating eggs, and no complicated techniques. You just whisk everything together in two bowls and bake. It's beginner-friendly and nearly foolproof.

What does mayonnaise replace in a cake mix?

Mayonnaise replaces both the eggs and the oil (or butter) in most cake recipes. Since mayonnaise is made from oil, eggs, and a bit of acid, it does the job of both ingredients at once, making the cake moist and rich without any extra steps.

Does a chocolate mayonnaise cake need to be refrigerated?

Not necessarily. This Chocolate Mayonnaise Cake stays fresh at room temperature for up to 3 days because the mayonnaise keeps it moist. If your kitchen is very warm or you want to store it longer, you can refrigerate it for up to 5 days. Just let it come to room temperature before serving for the best flavor and texture.

Related

Looking for other recipes like this? Try these:

  • Baked Apple Fritter Cake cut into squares, showing glazed top and apple chunks inside.
    Easy Apple Fritter Cake Recipe
  • Freshly baked Carrot Muffins in a baking dish with visible carrot and nuts.
    The Best Carrot Muffins Recipe
  • Individual Pumpkin Pie in a Jar with a Biscoff cookie crust, topped with creamy pumpkin filling and swirls of whipped cream sprinkled with cinnamon, perfect fall dessert presentation.
    Easy Pumpkin Pie in a Jar Recipe
  • Three stacked Frosted Strawberry Cookies with pink frosting and fresh sliced strawberries on top, soft and chewy texture visible.
    Frosted Strawberry Cookies Recipe

Pairing

These are my favorite dishes to serve with Chocolate Mayonnaise Cake

  • A stack of three baked Peanut Butter Blondies with chocolate chips and candy pieces, surrounded by scattered candies on parchment paper.
    Easy Peanut Butter Blondies Recipe
  • Slice of Cranberry Curd Tart with graham cracker crust, topped with whipped cream and sugared cranberries on a white plate with a fork.
    Best Cranberry Curd Tart Recipe
  • Slices of baked Savory Quick Bread with herbs and sun-dried tomatoes on a plate.
    Easy Savory Quick Bread Recipe
  • Bite-sized Blueberry Cream Cupcakes with frosting, blueberries, and mint.
    Blueberry Cream Cupcakes Recipe
A close-up of a slice of Moist Chocolate Mayonnaise Cake with frosting, sitting on a plate.

Chocolate Mayonnaise Cake

5 from 1 vote
A rich and fudgy Chocolate Mayonnaise Cake made with mayonnaise for a moist and tender crumb.
Print Recipe Pin Recipe
Prep Time 10 minutes mins
Cook Time 35 minutes mins
Cooling Time 2 hours hrs
Total Time 2 hours hrs 45 minutes mins
Servings: 15 Slices
Course: Dessert
Cuisine: American
Calories: 512
Ingredients Method Nutrition Notes

Ingredients
  

For the Cake:
  • Nonstick cooking spray For greasing the pan
  • 320 g all-purpose flour 2 ½ cups; sifted for even texture
  • 60 g unsweetened cocoa powder ¾ cup; provides rich chocolate flavor
  • 250 g granulated sugar 1 ¼ cups; sweetness
  • 2 teaspoons baking powder For leavening
  • 1 teaspoon baking soda For leavening
  • ¼ teaspoon kosher salt For flavor balance
  • 300 ml strong black coffee 1 ¼ cups; brewed at double strength for deep chocolate flavor
  • 300 g mayonnaise 1 ¼ cups; full-fat mayonnaise recommended for richness
  • 1 teaspoon vanilla extract For aroma and depth
For the Frosting:
  • 200 g unsalted butter 14 tablespoons; softened for easy mixing
  • 40 g cocoa powder ½ cup; sifted to prevent clumps
  • 420 g confectioners' sugar 3 ¾ cups; sifted for smoothness
  • 2 tablespoons whole milk For creaminess
  • 1 teaspoon vanilla extract For enhanced flavor

Method
 

  1. Preheat the oven to 350°F (175°C) and grease a 9- by 13-inch pan with nonstick spray. Dust with flour and shake off any excess.
  2. Sift together the flour and cocoa powder into a large bowl. Add sugar, baking powder, baking soda, and salt, and whisk everything together.
  3. In a separate bowl, whisk together coffee, mayonnaise, and vanilla extract until the mixture becomes foamy and well combined.
  4. Pour the wet ingredients into the dry ingredients and whisk gently until the batter comes together, with a few small lumps remaining. Be careful not to overmix.
  5. Scrape the batter into the prepared pan and smooth the top. Bake for 35 to 38 minutes, or until a cake tester comes out clean and the cake pulls away slightly from the sides of the pan.
  6. Let the cake cool in the pan on a wire rack for 1 ½ to 2 hours, until completely cool.
  7. Beat the softened butter on medium-high speed for about 30 seconds until creamy.
  8. Add sifted confectioners' sugar and cocoa powder, followed by milk and vanilla. Mix on low speed to incorporate, then increase speed and beat for 3 minutes until smooth and fluffy.
  9. Once the cake has cooled, spread the frosting evenly over the top using a spatula.
  10. Slice and serve.

Nutrition

Serving: 1SliceCalories: 512kcalCarbohydrates: 65gProtein: 4gFat: 27gSaturated Fat: 9gCholesterol: 37mgSodium: 300mgPotassium: 44mgFiber: 2gSugar: 44gCalcium: 47mgIron: 4mg

Notes

This cake is ideal for a cozy evening treat. Perfect for any occasion, especially if you're craving a rich, chocolatey dessert but don't have eggs on hand.

Tried this recipe?

Let us know how it was!

More Cakes & Cupcakes

  • A close-up of a Snickerdoodle Cupcakes with a bite taken out, revealing the cinnamon swirl inside. The cupcake is topped with a swirl of cinnamon buttercream frosting and a cinnamon sugar cookie.
    Snickerdoodle Cupcakes with Cinnamon Swirl Frosting
  • A slice of Fresh Peach Cake dusted with powdered sugar, placed on a green plate.
    Fresh Peach Cake Recipe
  • Pistachio Cupcakes topped with strawberry buttercream and pistachio bits.
    Pistachio Cupcakes with Strawberry Buttercream
  • Slice of Gingerbread Layer Cake with frosting and decorations.
    Moist Gingerbread Layer Cake
5 from 1 vote (1 rating without comment)

Leave a Reply Cancel reply

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

Recipe Rating




emily seo and founder of bake and savor

Hi bakers!

I'm Emily, the baker and creator behind Bake and Savor. I transform classic recipes into foolproof treats that bring joy to every kitchen. From my family's treasured recipes to modern favorites, I'm here to share the sweet science of baking with you! 🧁

More about me

Popular

  • Slice of homemade butterscotch pie topped with whipped cream and drizzled caramel sauce, served on a white plate with a fork.
    Easy Homemade Butterscotch Pie
  • Stack of baked Flourless Monster Cookies with red and green M&M’s and chocolate chips, one cookie on top is broken in half showing the chewy interior.
    Easy Flourless Monster Cookies Recipe
  • A slice of Fresh Fruit Tart topped with vibrant strawberries, oranges, and kiwi on a smooth, creamy filling with a crumbly tart crust.
    Fresh Fruit Tart Recipe with Mascarpone Cream
  • Fried Berry Fritters with a glossy glaze, stacked on top of each other with a strawberry on the side.
    Homemade Berry Fritters Recipe

Seasonal

  • Sliced Cranberry Nut No-Knead Bread with a soft, airy interior, served with butter.
    Cranberry Nut No-Knead Bread Recipe
  • Two Mocha Cheesecake Brownies stacked on top of each other, with a visible cheesecake layer in the center, topped with chocolate chips, and showing the rich layers of brownie and cheesecake.
    Mocha Cheesecake Brownies Recipe
  • A close-up of decorated heart-shaped Chocolate Sugar Cookies, with thick white frosting topped with colorful sprinkles. One cookie is partially bitten, revealing the soft texture inside.
    Cut-Out Chocolate Sugar Cookies
  • A slice of Nutella Cream Pie topped with whipped cream swirls, crushed hazelnuts, and a sprinkle of sea salt.
    The Best Nutella Cream Pie Recipe

Footer

Logo bake and savor recipes
↑ back to top

Explore

  • About
  • Contact
  • Subscribe

Legal

  • Privacy Policy
  • Terms & Conditions
  • Accessibility

Copyright © 2025 Bake and Savor. All recipes developed and tested by Emily. Bake with love, serve with joy.

Rate This Recipe

Your vote:




A rating is required
A name is required
An email is required

Recipe Ratings without Comment

Something went wrong. Please try again.