• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Free Dinner Ebook! Get your copy!
  • About
  • Videos
  • Learn to Cook
  • Visit my other site: Fun Cookie Recipes

Little Sunny Kitchen

Delicious Recipes for Real Life

  • All Recipes
  • Course
    • Appetizers
    • Breakfast
    • Sides
    • Dinner
    • Casseroles
    • Salads
    • Sandwiches
    • Pasta
    • Soups & Chilis
    • Desserts
    • Snacks
    • Sauces & Dressings
    • Beverages
  • Holiday
    • Easter
    • Summer
    • Fall
    • Halloween
    • Thanksgiving
    • Christmas
    • Valentine’s
    • Game Day
    • Ramadan
  • Method
    • Instant Pot
    • Air Fryer
    • Slow Cooker
    • Oven
    • Casseroles
    • Stovetop
    • Grill
    • Bread Machine
  • Easy Meals
  • Slow Cooker
  • Air Fryer
  • Breakfast
  • Snacks
  • Copycat Recipes
  • Beef
  • Low Carb
  • Chicken
Home Dessert Cakes

Mayonnaise Cake

An old-fashioned chocolate cake recipe that's simple to make with only pantry ingredients! Enjoy this mayonnaise cake with or without frosting.
5
/5 –
Rate Recipe 11 Comments
Jump to Recipe
  • Share
By: Diana Last updated on May 20, 2025

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

a slice of mayonnaise cake being lifted out of the pan with a spatula.

Chocolate Mayonnaise Cake is the easiest, most moist, and flavorful chocolate cake to make! Thanks to depression-era baking creativity, it’s made without the need for fresh eggs, milk, or butter!

a square piece of chocolate frosted mayonnaise cake being lifted out of the pan with a spatula.


Mayonnaise Cake is a moist and delicious chocolate cake, made with mayo (instead of eggs and oil or butter). In fact, all of the ingredients to make this easy chocolate cake are shelf-stable!

I’m often intrigued by old-fashioned baking recipes, particularly those that were created during the great depression. Ingredients like sugar, eggs, butter, and milk were very expensive at that time, or difficult to get, so home cooks got creative with their baking recipes, and came up with some amazing outcomes!

This cake doesn’t taste at all like mayonnaise. Instead, it has an amazingly rich chocolate flavor, with a tender, moist crumb. You can frost your cake with chocolate buttercream, or enjoy it with a simple dusting of powdered sugar.

If you enjoy old-fashioned, vintage recipes, you’ll enjoy making this Hot Milk Cake, Coca-Cola Cake, Apple Cinnamon Cake, and sweet Oatmeal Pie too.

Why You’ll Love This Recipe

  1. One Bowl – Grab a big bowl and a whisk, all of these ingredients are mixed together in one bowl, no mixer needed!
  2. Traditional Recipe – I haven’t made any changes to this already perfect classic recipe. I’m sharing it as-is, with some tips and tricks to ensure that you make the best cake, and this tradition is carried on.
  3. Mayo makes an amazing cake! Don’t be afraid of adding mayonnaise to your cake. It adds extra moisture, rich flavor, and helps to create a light and tender crumb.

Another interesting cake recipe for you to try is my Flourless Chocolate Cake! It’s rich and decadent and simple to make.

Ingredients In Mayonnaise Cake

the ingredients needed to make old fashioned mayonnaise cake, all in separate bowls and measuring spoons. Each ingredient is labeled with a white text box.

Complete list of ingredients and amounts can be found in the recipe card below.

  • Cocoa Powder: Of course, we need cocoa powder to make a chocolate cake! Use your favorite unsweetened baking cocoa powder for this recipe.
  • Hot Coffee: Coffee elevates the flavor of chocolate, and using hot coffee helps to dissolve the cocoa powder. You can also use hot water or brewed earl gray tea if you prefer. Just be sure that it’s hot!
  • Sugar: Just one cup of granulated sugar gives this cake the perfect amount of sweetness.
  • Baking Soda: There are no eggs in this cake, so baking soda does the work of helping it to rise.
  • Salt: A bit of salt in sweet recipes makes everything taste better.
  • Vanilla Extract: A must for almost all cake recipes! Some vintage recipes used a teaspoon of bourbon instead, so you can try that if you like.
  • Flour: Regular all-purpose flour brings the cake batter together.
  • Chocolate Buttercream: This is totally optional, but I suggest you try my homemade buttercream to give this cake the perfect finish!

How To Make Chocolate Mayonnaise Cake

Prepare a 9×13-inch pan by lightly greasing it. You can also dust the pan with cocoa powder to make the cake easy to release. Preheat the oven to 350°F/180°C while you mix the mayonnaise cake batter.

a collage of numbered images showing how to make the batter for mayonnaise cake.
  1. Dissolve the Cocoa Powder by mixing it together with the hot coffee.
  2. Add Mayo: To the same bowl, add the mayonnaise, sugar, baking soda, salt, and vanilla extract. Whisk until smooth.
  3. Stir in the Flour: Whisk only until combined.
a collage of numbered images showing how to bake a mayonnaise cake in a 9 by 13 inch nonstick pan
  1. Pour the batter into the pan, and spread it out into the corners using a spatula.
  2. Bake: Bake in the center of a preheated 350°F/180°C oven for 25-30 minutes, or until you insert a toothpick into the center of the cake and it comes out mostly clean.

Tip!

If you’d rather not use mayo in this recipe, 2 eggs and ½ cup of vegetable oil will give you the same results!

Recipe Tips

  • Avoid Overmixing. Mixing the wet ingredients together well first, then incorporating the flour will give your cake the best texture. Stirring the flour too much will develop more gluten, making the cake tough.
  • Measure Correctly. Too much flour can cause this cake to be dry. Be sure that you’re spooning the flour into the measuring cup rather than scooping it down into the container. More measuring tips can be found here!
  • Try it in a Bundt Pan. Most cakes designed to be baked in a 9×13-inch pan can also be baked in a standard Bundt Pan! Be sure to grease and dust the bundt so that the cake releases easily, and note that you may need to bake it for a few extra minutes.
  • Let the Cake Cool. This cake will be very moist and delicate while it’s warm. Allow it to cool in the pan completely before adding toppings or slicing it.
  • Add Frosting. You have options when it comes to finishing this cake. Go super simple, and dust the top with powdered sugar, or add a rich layer of my easy chocolate frosting. If you want to try something different, this white chocolate buttercream would also be delicious!
chocolate mayonnaise cake with chocolate frosting in a pan, unsliced.

Storing Tips

Store this cake covered at room temperature for up to three days. If you frost it with buttercream, store it in the fridge.

What To Serve With Mayonnaise Cake

This cake makes the perfect dessert. It doesn’t matter what you’re serving for dinner, chocolate cake is going to be the perfect finish!

If you’re having guests, try my recipes for Beef Tenderloin Roast or Honey Baked Ham. Both of these main dishes are perfect for holidays too.

a square piece of chocolate mayonnaise cake on a white dessert plate.

More Amazing Chocolate Cake Recipes

Ding Dong Cake

Better Than Sex Cake

Chocolate Lava Mug Cake

Sunflower Peep Cake

All Cakes →

FAQs

Why do you put mayonnaise in cake?

In this recipe, mayo is used as a replacement for eggs. It adds moisture and delicious texture to chocolate cake.

Can you freeze mayonnaise cake?

You can freeze the unfrosted mayo cake for up to 3 months. Make sure to wrap it well before putting it in the freezer.

Can I make a chocolate cake with fat-free mayo?

I do not recommend it. Full-fat mayo will give you the best results. Low-fat or fat-free substitutions will not give you the flavor and texture you’re looking for in a rich chocolate cake.

Can I make chocolate cake with Miracle Whip?

I haven’t tested it personally just yet, but there are certainly many vintage cake recipes that call for Miracle Whip rather than mayo, and I believe that it should work in this recipe too.

Magic Mayonnaise Cake! This will be your new favorite chocolate cake recipe because it’s so completely simple to make. Be sure to Pin this recipe, and keep these old-fashioned recipes relevant and accessible to everyone.

Did you make this? Be sure to leave a review below and tag me on Facebook, Instagram, or Pinterest!

Recipe
a square piece of chocolate mayonnaise cake on a white dessert plate.
5 from 23 votes
(Click stars to rate!)

Mayonnaise Cake

Prep Time: 10 minutes mins
Cook Time: 25 minutes mins
Total Time: 35 minutes mins
Author: Diana
Print Rate Recipe
An old-fashioned chocolate cake recipe that's simple to make with only pantry ingredients! Enjoy this mayonnaise cake with or without frosting.
12 servings
An old-fashioned chocolate cake recipe that's simple to make with only pantry ingredients! Enjoy this mayonnaise cake with or without frosting.

Equipment

  • 13 x 9 inch baking pan
  • Mixing Bowl
  • Whisk

Ingredients 

  • ½ cup unsweetened cocoa powder
  • 1 cup hot coffee or hot water or hot early grey tea
  • 1 cup granulated sugar
  • 2 teaspoons baking soda
  • ½ teaspoon salt
  • 1 cup mayonnaise
  • 1 teaspoon pure vanilla extract or bourbon
  • 2 cups all-purpose flour
  • 2 ½ cups chocolate frosting optional

Instructions 

  • Preheat the oven to 350°F/180°C, and lightly grease a 9×13 non stick pan. You can also “flour” it with cocoa powder for easy release.
  • In a large mixing bowl, whisk together cocoa powder and hot coffee.
  • Add sugar, baking soda, salt, mayonnaise, and vanilla. Whisk together until smooth.
  • Add the flour and whisk until just combined.
  • Pour the batter into the prepared pan (and make sure to spread it to the corners using a spatula), and bake in the center of the oven for 25-30 minutes. The cake is ready when a toothpick inserted in the center of the cake is clean or with just a few moist crumbs, and/or the cake springs back when you lightly press on the center.
  • Allow to cool completely, then sprinkle with powdered sugar or frost with chocolate buttercream. Slice into 12 pieces and serve.

Notes:

  • Frosting is optional. This cake is delicious without my chocolate buttercream on top, or you can dust the top with powdered sugar. 
  • Use regular full-fat mayo for best results. 
  • In place of mayonnaise, you can use 2 eggs and ½ cup of oil.
  • This cake can also be baked in a bundt pan. Be sure to grease the pan well, and dust it with cocoa powder so that the cake is easy to release. It may take a few more minutes for a bundt cake to bake fully as well. 
  • Avoid overmixing the batter. Stir in the flour after all of the other ingredients have been mixed together, and just until combined. 
  • To Store: Store this cake covered at room temperature for up to three days. If you frost it with buttercream, store it in the fridge. 
  • To Freeze: You can freeze the unfrosted mayo cake for up to 3 months. Make sure to wrap it well before putting it in the freezer.

Nutrition Information

Serving: 1slice, Calories: 348kcal, Carbohydrates: 53g, Protein: 3g, Fat: 15g, Saturated Fat: 3g, Polyunsaturated Fat: 8g, Monounsaturated Fat: 3g, Trans Fat: 0.03g, Cholesterol: 8mg, Sodium: 406mg, Potassium: 89mg, Fiber: 2g, Sugar: 29g, Vitamin A: 12IU, Calcium: 11mg, Iron: 2mg

This website provides approximate nutrition information for convenience and as a courtesy only. Nutrition data is gathered primarily from the USDA Food Composition Database, whenever available, or otherwise other online calculators.

© Little Sunny Kitchen

Did You Make This?I love to see what you made! Tag me @LittleSunnyKitchen and hashtag #LittleSunnyKitchen
Pin Recipe Tag on Insta Leave Review

You may also like...

  • a large square piece of coffee cake, drizzled with glaze, on a white plate.
    Cinnamon Coffee Cake
  • EASY BANANA CAKE
    Easy Banana Cake
  • a square slice of honey bun cake with cinnamon sugar center, topped with glaze, on a plate.
    Honey Bun Cake
  • a white scalloped plate holding a square piece of cake topped with whipped cream and with two raspberries on the side. A fork has taken a bite from the corner.
    Hot Milk Cake
A cupcake frosted with white chocolate buttercream
Previous Post
White Chocolate Buttercream
A pan of sliders with buffalo style shredded chicken, and coleslaw on them. sandwiches have been removed from the pan.
Next Post
Buffalo Chicken Sliders

Reader Interactions

Leave a Review! Cancel reply

Have a question or just want to say how much you loved the recipe? Leave a rating below, save for later on Pinterest, and share on Facebook. Your email address will not be published. Required fields are marked *

Rate this recipe!




  1. Jo says

    Posted on 5/12/25 at 16:58

    Excited to make this! Will 1x ingredients be enough to fill 2 round 8×2(h) pans?
    Thanks!

    Reply
    • Little Sunny Kitchen says

      Posted on 5/13/25 at 01:36

      Hi Joe! It should be! Bake the smaller cakes for a bit less time than if you were making the full cake.

      Reply
Older Comments 1 2

Primary Sidebar

Diana, author of Little Sunny Kitchen.
Welcome

Meet Diana

Welcome to Little Sunny Kitchen! I'm Diana and I’m here to teach you how to make easy meals that are quick, family-friendly, and delicious!

Read More
Follow on Pinterest for more ideas!
Free ebook!

Download My Free Dinner eBook!


Get my copy!

Free eBook

Download My Free Dinner eBook!

Popular Recipes

Marry Me Chicken

Creamy Garlic Shrimp Pasta

Garlic Butter Chicken Tenders

Air Fryer Chicken Breast

Rasta Pasta Recipe

Shredded Chicken Tacos

Reader Favorites

a light green plate of spaghetti and meat sauce with hidden vegetables.

Meat Sauce with Hidden Vegetables

top down view of cheesy beef enchiladas in a casserole pan.

Ground Beef Enchiladas

Oven Baked Chicken and Rice

three mahi mahi tacos on a wooden board.

Mahi Mahi Fish Tacos

Cheesy Chicken Fajita Casserole

two white bowls of lasagna soup with a dollop of ricotta cheese and other cheeses, garnished with fresh herbs.

Lasagna Soup

Instant Pot Air Fryer Crockpot Easy Dinners Salads Grilling
Opens in a new window Opens an external site Opens an external site in a new window

As Featured On:

Dinner tonight
Free ebook!

Get My Free Dinner eBook!

Join us and receive new recipes every week! Receive our FREE eBook with quick and easy dinner recipes that are family-friendly and delicious.

Back to Top

explore

Recipe Index

Videos

Cooking Guides

Follow Along on Social:

Join My Free Cookie Facebook Group
Back to Top

About

Contact

Privacy Policy

Accessibility

© 2025 Little Sunny Kitchen
|
Site Credits Designed by Melissa Rose Design Developed by Once Coupled

Rate This Recipe

Your vote:




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