Chocolate Mayonnaise Cake recipe has rich chocolate flavor with mostly pantry staples. One bite of this delicious chocolate cake and you will be hooked.

Slice of Chocolate Mayo Cake on plate.
Want to save this recipe?

Have you heard of Chocolate Mayo Cake? It’s a decadent dessert with the best texture and topped with cream cheese frosting. This recipe is one of the 85 Best Chocolate Desserts.

You might be surprised to find mayonnaise in a cake recipe but don’t let it deter you. This simple ingredient makes the cake so moist, and you can’t taste the mayo at all. Dr Pepper Cake Recipe is another family favorite we make frequently.

Why We Love This Recipe

Chocolate Mayonnaise Cake is one of the easiest chocolate cake recipes and turns out great every time. The high moisture content combined with lots of chocolate flavor results in the best dessert.

The cake is topped with chocolate frosting and always a crowd favorite. You will love it with a cup of hot coffee.


Ingredients for Chocolate Mayonnaise Cake - mayo, flour, baking soda, vanilla, cream cheese, confectioners' sugar, heavy cream.


  • Mayonnaise. Make sure to use full fat mayonnaise.
  • Warm water. The water needs to be warm and not cold or hot.
  • All Purpose Flour. Spoon the flour into the measuring cup. This is more accurate than scooping it.
  • Baking soda. Try some of the Best Baking Soda Substitutes.
  • Vanilla Extract. Always use pure vanilla extract.


  • Cream Cheese. Softened at room temperature.
  • Unsalted Butter. Softened at room temperature.
  • Confectioners Sugar. Sift before using to remove lumps.
  • Heavy Whipping Cream. Make sure this is cold before using.

Get the entire ingredients for this recipe at the bottom of the page.

Substitutions and Additions

  • Frosting. Swap the homemade frosting for store bought frosting.
  • Nuts. Sprinkle chopped pecans or walnuts on top of the frosting.
  • Sprinkles. Serve this for special occasions and make it festive with sprinkles.

Step By Step Instructions

  • Step 1. Go ahead and preheat the oven to 350 degrees. Then grease a 9×13 baking pan.
Mixing bowl with batter.

Step 2. Use a large mixing bowl to combine together the cake ingredients. Whisk until dry ingredients and wet ingredients are smooth.

Batter poured into cake pan.

Step 3. Next, pour the batter into the pan. Bake for 28-32 minutes. You should be able to insert a toothpick into the center that comes out clean.

Cake baked and cooling in pan.

Step 4. Let the cake cool completely before adding the frosting. 

Cream cheese and butter combined in mixing bowl.

Step 5. Combine the butter and cream cheese until smooth.

Powdered sugar, cocoa powder and heavy cream added to mixing bowl.

Step 6. Next, add the confectioner’s sugar, cocoa powder, heavy cream, vanilla extract and salt.  Mix on low until fully combined.  You will need to adjust the heavy cream based on frosting consistency.

Frosting spread on top of cake.

Step 7. Finally, spread the frosting on the cake once cooled. Then slice and enjoy.


Cover the cake in plastic wrap. Refrigerate up to 1 week. 

Pro Tips

  • Don’t overbake the cake. You do not want to dry out the cake by overbaking it. If you are unsure, insert a toothpick into the center and it should come out clean.
  • Always use full fat mayo. It will change the texture of the cake if you use light versions.
  • Don’t overmix the batter. Mix the ingredients together until just combined.
  • Measure the flour accurately. Spoon the flour into the measuring cup instead of spooning it. This will prevent the flour from being packed excessively into the cup.
  • Cool completely before frosting. The cake needs to cool completely before adding the topping.

Frequently Asked Questions

Can you taste the mayonnaise in the cake?

No, you can’t taste it at all. The mayo just makes the cake moist but does not alter the chocolate flavor.

Why is my cake dry?

Overbaking the cake will result in an overly dry texture. Another culprit is too much flour. Make sure to measure it accurately.

Can I make in advance?

Yes, but I suggest freezing without the frosting. Cover the cake with plastic wrap and foil. Freeze up to two months.

Thaw overnight in the fridge when ready to serve. Then make the frosting and spread on the cake as normal.

What can you substitute for the mayo?

Sour cream, whole buttermilk and Greek Yogurt can be used instead of mayonnaise.

More Delicious Chocolate Cake Recipes

I’m so excited for you to make this chocolate mayonnaise cake recipe. Please come back and leave a comment once you try it.

Chocolate Mayonnaise Cake

5 from 1 vote
Chocolate Mayonnaise Cake recipe has rich chocolate flavor with mostly pantry staples. One bite of this delicious chocolate cake and you will be hooked.
Prep Time 15 minutes
Cook Time 30 minutes
Total Time 45 minutes
Servings 24
Cuisine American
Course Dessert
Calories 261


For the Cake:

For the Frosting:

Want to save this?
Just enter your email and I’ll send it right to you, plus great new recipes weekly!


For the Cake:

  • Preheat the oven to 350 degrees Fahrenheit and grease a 9×13 baking pan.
  • Mix together all the cake ingredients in a large mixing bowl until the ingredients are combined.
  • Pour into the prepared pan and bake for 28-32 minutes or until a toothpick inserted into the center comes out clean. Let cool completely before topping with the frosting.

For the Frosting:

  • Beat the butter and cream cheese on medium speed with a hand held mixer or stand up mixer until the butter is smooth and creamy (2-3 minutes).
  • Add in the confectioner’s sugar, cocoa powder, 3 tablespoons of the heavy cream, vanilla extract and salt.  Mix on low speed until fully combined (approximately 1 minute).  Check the frosting consistency and add more heavy cream if needed.
  • Spread the frosting on the cooled cake.
  • Then the cake is ready to slice, serve and enjoy!

Recipe Notes

Refrigerate any leftovers, covered, for up to 1 week.

Nutrition Facts

Calories 261kcal, Carbohydrates 34g, Protein 2g, Fat 14g, Saturated Fat 5g, Polyunsaturated Fat 4g, Monounsaturated Fat 3g, Trans Fat 0.1g, Cholesterol 22mg, Sodium 255mg, Potassium 75mg, Fiber 1g, Sugar 24g, Vitamin A 234IU, Vitamin C 0.01mg, Calcium 18mg, Iron 1mg

Pin This Now to Remember It Later

Pin Recipe

Try these other recipes

Share this recipe!


About the Author

Hi, I’m Carrie. Welcome to Desserts on a Dime!

I’m on a mission to help you create delicious desserts on a budget and do not require a ton of time. Together, we are going to make something sweet that the entire family will love!

Leave A Review

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

Recipe Rating


  1. Kathy says:

    5 stars
    So rich and moist!