This website may contain affiliate links and advertising so that we can provide recipes to you. Read my disclosure policy.

Chocolate Mayonnaise Cake is a rich, moist, and decadent dessert thatโ€™s super easy to make! The mayonnaise adds extra moisture and creates a soft, tender crumb. Whether for a special occasion or just because it’s sure to impress!

Angle shot of a plated piece of chocolate mayonnaise cake with a bite taken out.

Reasons You’ll Love This Recipe

  • Soft and Tender Texture: The mayonnaise replaces butter or oil to keep the cake soft and moist without making it greasy or dense.
  • Rich Chocolate Flavor: It has a deep, decadent chocolate taste in every bite. It’s sweet but not too sweet!
  • Perfect for Any Occasion: Great for birthdays, holidays, or an everyday treat! My family used to always request my classic white cake or this butter pecan cake, but this one has become a new favorite!

Mayonnaise in a Cake?

Ok, I know at first glance, mayonnaise in chocolate cake might sound a little weird, but trust me, it’s so good! Mayonnaise is made from eggs and oil. The cake doesnโ€™t have any other oil or fat in it. That is what the mayo adds. The mayonnaise doesnโ€™t leave any taste behind. Instead, it helps the cake to be very moist without having to add something like sour cream or extra oil and liquid to achieve that. I can’t wait for you to try it!

Ingredients Needed

Overhead shot of labeled ingredients.

How to Make Chocolate Mayonnaise Cake

This chocolate cake recipe is so simple to make! Just stir the ingredients together, pour the batter into a pan, and bake. It’s an easy and delicious dessert that comes together in just 10 minutes of prep time. Perfect for beginner bakers!

  1. Mix Wet Ingredients: Preheat the oven to 350ยบF. Spray a 9 x 13 x 2-inch cake pan with nonstick cooking spray and set aside. In a large bowl, whisk mayonnaise, warm coffee, eggs, and vanilla extract until combined.
  2. Whisk Dry Ingredients: In a medium bowl, whisk together flour, sugar, unsweetened cocoa powder, baking soda, baking powder, and salt.
  3. Combine: Add the flour mixture to the mayonnaise mixture and gently whisk together until fully combined.
  4. Bake, Cool, and Frost: Fill the prepared cake pan and bake for 30-35 minutes, until the center of the cake springs back lightly when pressed on or a toothpick comes out clean. Allow the cake to cool completely before frosting it. I like to use my chocolate buttercream! You can also just dust it with powdered sugar and serve.

Chocolate Mayonnaise Cake Tips and Variations

Use these tips to take your cake from good to great! Trust me, one taste, and you’ll never want a store-bought cake again!

  • Do I have to use coffee? You don’t have to use coffee in this cake, although I do recommend it. It adds the most incredible depth to the chocolate flavor. The coffee can be replaced with buttermilk or hot water.
  • Can I use Miracle Whip instead? Yes, you can use Miracle Whip instead of mayonnaise.
  • Don’t use Dutch process cocoa powder! For this cake, do not use Dutch process cocoa powder. It has been neutralized, so it will not react the same way with the other ingredients. Your cake may end up sinking in the middle.
  • Some Suggested Toppings: I made my Chocolate buttercream frosting to top my cake. But you could use cream cheese frosting, vanilla frosting, a dusting of powdered sugar, cherry pie filling, fresh strawberries, or just dig in without any topping at all!
Overhead shot of someone frosting the chocolate mayonnaise cake with chocolate buttercream frosting.

How to Store Leftover Cake

  • Room Temperature: Store chocolate mayonnaise cake covered tightly with plastic wrap or in an airtight container at room temperature for up to 5 days.
  • Refrigerator: To keep fresh for up to 7 days, place in an airtight container in the fridge. 
  • To Freeze: The unfrosted cake may be baked and frozen for up to 3 months. Let the cake cool to room temperature before wrapping it tightly in 2-3 layers of plastic wrap. Let it thaw at room temperature before enjoying. I recommend frosting it while either frozen or chilled.
Side shot of a piece of cake being lifted out of the chocolate mayonnaise cake on a spatula.

More Chocolate Cake Recipes

If you love chocolate cake, youโ€™re in the right place! We have plenty of favorite recipes youโ€™ll want to try. Theyโ€™re perfect for any occasion and always a crowd-pleaser!

Pin this now to find it later

Pin It

Chocolate Mayonnaise Cake

By: Alyssa Rivers
Chocolate Mayonnaise Cake is a rich, moist, and decadent dessert thatโ€™s super easy to make! The mayonnaise adds extra moisture and creates a soft, tender crumb.
Prep Time: 10 minutes
Cook Time: 35 minutes
Total Time: 45 minutes
Servings: 16 servings

Ingredients 

Cake

Chocolate Buttercream Frosting

Instructions 

Cake

  • Preheat the oven to 350 degrees Fahrenheit. Spray a 9 x 13 x 2-inch cake pan with nonstick cooking spray and set aside.
  • In a large bowl, whisk ยพ cup mayonnaise, 1 ยผ cup warm coffee, 2 large eggs, and 2 teaspoons vanilla extract until combined.
  • In a medium bowl, whisk together 2 cups all-purpose flour, 1 ยฝ cups granulated sugar, ยพ cup unsweetened cocoa powder, 2 teaspoons baking soda, ยฝ teaspoon baking powder, and 1 teaspoon salt. Add the flour mixture to the mayonnaise mixture and gently whisk together until fully combined.
  • Fill the prepared cake pan and bake for 30-35 minutes, until the center of the cake springs back lightly when pressed on or a toothpick comes out clean.
  • Allow the cake to cool completely before frosting.

Chocolate Buttercream Frosting

  • Beat 1 cup unsalted butter in the bowl of aย stand mixerย until fluffy. Add the 3 cups powdered sugar and beat slowly until incorporated, increasing the speed to beat it more fully.
  • Scrape down the sides and the bottom of the bowl, and add the ยฝ cup unsweetened cocoa powder, 3 tablespoons milk, 1 teaspoon vanilla extract, and ยผ teaspoon salt. Mix on medium-high until completely smooth and combined. If the frosting is too stiff, add more milk, one tablespoon at a time, until it is a spreadableย consistency.
  • Once the cake has cooled, dollop spoonfuls evenly around the cake and spread. I recommend putting your cake in the fridge or freezer for an hour before frosting.

Nutrition

Calories: 418kcalCarbohydrates: 57gProtein: 4gFat: 21gSaturated Fat: 9gPolyunsaturated Fat: 5gMonounsaturated Fat: 5gTrans Fat: 0.5gCholesterol: 59mgSodium: 400mgPotassium: 162mgFiber: 3gSugar: 41gVitamin A: 400IUCalcium: 29mgIron: 2mg

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

Additional Info

Course: Cake, Dessert
Cuisine: American
Tried this recipe?Mention @alyssa_therecipecritic or tag #therecipecritic!

About Alyssa Rivers

Alyssa Rivers is the author of 'The Tried and True Cookbook', a professional food photographer and experienced recipe-developer. Having a passion for cooking, her tried and true recipes have been featured on Good Morning America, Today Food, Buzzfeed and more.

More Ideas

Leave a comment

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

Recipe Rating




2 Comments

  1. I would like to make this, but I’m uncertain about the weight of the ingredients, especially the flour. By scoop-and-sweep, for me a cup can weigh up to 150 grams, by other ways as little as 120.

    For baked goods would it be possible to express weight in grams?

    1. Hi David, unfortunately we do our measurements in volume, not in weight. The best practice when measuring flour by volume for baked goods is to fluff the flour with a spoon, then spoon it into the measuring cup and level it off with the flat edge of a butterknife. Good luck!