This post may contain affiliate links. Please read our disclosure policy.

Have you tried a mayonnaise cake? I know, it sounds suspicious at first. When I was a kid, and my best friend’s mom made this cake, I just blinked at her in disbelief. Mayonnaise in cake? That can’t be right.

Well, Chocolate Mayonnaise Cake is actually a very old-fashioned recipe that was likely in your grandmother’s recipe box. And, fortunately, it has stood the test of time quite well. This is one fantastic cake.

A slice of Chocolate Mayonnaise Cake arranged on a ceramic plate on a wooden tabletop with a row of sliced strawberries.

Chocolate Mayonnaise Cake

When I grew up and learned that mayo is simply oil and egg, the idea of a chocolate mayonnaise cake seemed a lot less crazy. Since those are typically ingredients we would have to add, this just simplifies the ingredient list.

What you end up with is a deeply moist, velvety cake. If you’ve ever had a dry chocolate cake and wondered what went wrong, this recipe can fix that problem forever. I don’t know if it’s the fact that the oil and egg are emulsified together, or what. But, this cake stayed tender and moist for a long time.

I stumbled upon this recipe in an old church cookbook recently, and decided to give it a whirl. Because it’s a relatively simple chocolate cake, I like to serve it topped with a whipped cream frosting. The topping is perfect for using along with sweet and tart strawberry slices.

Want to save this recipe?
Enter your email and we’ll send it to you – plus new recipes sent daily!
Mayonnaise Cake

Mayonnaise Cake

As hard as it was for me to believe it as a kid, I can tell you that mayo really does work like magic in baked goods like this chocolate mayonnaise cake. In fact, if you’re ever in a pinch and run out of eggs, you can substitute 3 tablespoons of mayo for an egg in most recipes without any trouble.

If you’ve never considered mayo and cake before, then don’t worry. This is the perfect recipe to start with. It’s very forgiving, borderline foolproof. And, once you take that first bite and experience the soft crumb, the chocolate flavor, and creamy topping, I think you’ll understand why this recipe has stuck around.

A top down photo of the batter placed into the pans and ready to go into the oven.

Mayonnaise Cake Recipe

I wonder sometimes if my grandma ever made something like this mayonnaise cake recipe. I wouldn’t be surprised if my mom has made one. My siblings and I lovingly crowned her the Queen of Substitutions. She frequently calls to ask why the recipe didn’t quite turn out, and more than likely, it’s the result of a rather creative substitution choice.

But, cake with mayonnaise is something that I could see my grandmother making in her kitchen. It reminds me of her perfectly coiffed hair, done up with bobby pins, and her polyester slacks. It reminds me of the days when someone else was in charge of dessert, and baking felt more like an interminable wait to watch magical goodies come out of the oven. That kind of nostalgia makes this kind of cake taste all the richer.

Chocolate Mayonnaise Cake

Old Fashioned Recipes

I really do enjoy the nostalgia of old fashioned recipes. Whether they’ve been handed down through family generations or from old church cookbooks, it feels good to be trusted with the kind of recipe that belonged to someone. Like my grandma’s waffle sauce or my aunt Judy’s almond bars.

Rhubarb pie is about as old-fashioned as it gets. Tangy-sweet with a classic custard-style base, this pie is based on a recipe passed down for generations.

chocolate cake with whipped cream frosting on a blue plate with berries

Then there is the recipe for Colorado peach cream pie that I picked up in one of our church cookbooks. And, these Amish sugar cookies are another classic recipe that shows up in a lot of cookbooks.

I will never get tired of old-fashioned peanut butter cookies. And, who can say no to layers of sweet vanilla pudding, sliced bananas, and vanilla wafers in a classic banana pudding?

4.50 from 2 votes

Chocolate Mayonnaise Cake

Avatar photoMary Younkin
Mayonnaise Cake is an old-fashioned recipe that was likely in your grandmother's recipe box. It is a rich, moist chocolatey treat.
Prep Time: 15 minutes
Cook Time: 30 minutes
Total Time: 45 minutes
Servings: 16 servings
Save this recipe!
Get this sent to your inbox, plus get new recipes from us every week!

Ingredients 

  • 1 cup sugar
  • 1 cup mayonnaise
  • 1 cup boiling water
  • 1 teaspoon vanilla extract
  • ½ cup cocoa powder
  • 2 cups all-purpose flour
  • 2 teaspoons baking soda

Optional Whipped Cream Topping

  • 2 cups heavy cream
  • 1 cup powdered sugar

Instructions 

  • Preheat the oven to 350°F. Combine the sugar, mayonnaise, water, vanilla, and cocoa until dissolved. Add the flour and baking soda. Stir again until thoroughly combined.
  • Pour into a 9×13 pan or (2) well-greased 8-inch round cake pans. Bake the 9×13 pan for 25-30 minutes, or bake the round cake pans for 24-28 minutes.
  • Test cakes for doneness and remove from the oven as soon as a toothpick comes out clean. Cool completely before frosting or sprinkling with powdered sugar.

Whipped Cream Topping

  • In a large mixing bowl, beat the cream with the whisk attachment of an electric mixer until soft peaks form. Add the powdered sugar and continue beating until stiff peaks form.

Nutrition

Calories: 207 kcal | Carbohydrates: 26 g | Protein: 2 g | Fat: 11 g | Saturated Fat: 2 g | Polyunsaturated Fat: 6 g | Monounsaturated Fat: 2 g | Trans Fat: 1 g | Cholesterol: 6 mg | Sodium: 227 mg | Potassium: 61 mg | Fiber: 1 g | Sugar: 13 g | Vitamin A: 9 IU | Calcium: 7 mg | Iron: 1 mg

Nutrition information is automatically calculated, so should only be used as an approximation.

{originally published 11/1/22 – recipe notes and photos updated 10/30/25} 

Chocolate Cake with Whipped Cream Frosting

You May Also Like

Leave a comment

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

Recipe Rating




4 Comments

  1. Cherielle Klein says:

    5 stars
    My mom would make this for us kids when we wanted something sweet. She put the powdered sugar on it as we usually couldn’t afford frosting. This was the cake I always wanted for my birthday. Simple to make and oh so moist and delicious.

    1. Mary Younkin says:

      What a sweet memory, Cherielle.

  2. April says:

    4 stars
    I made this today. I followed the recipe but the cake seemed a bit dry. Not sure why. Does it matter what brand mayonnaise you use? I was really trying to make a special cake for my boyfriend who’s mom used to make it when he was younger…

    1. Mary says:

      I’ve used Hellmans, Best Foods, and Duke’s. I don’t think it matters. Is there any chance it over-baked a bit? That could’ve dried it out.