• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Fantabulosity logo

  • All Recipes
  • Vintage Recipes
  • Holiday
  • Dinner Theme System
  • About
  • Navigation Menu: Social Icons

    • Facebook
    • Instagram
    • Pinterest
    • TikTok
    • YouTube
menu icon
go to homepage
  • Recipes
  • Desserts
  • Dinners
  • Cookbook
  • Holidays
  • Gatherings
  • About Jessica
    • Facebook
    • Instagram
    • Pinterest
    • TikTok
    • YouTube
  • search icon
    Homepage link
    • Recipes
    • Desserts
    • Dinners
    • Cookbook
    • Holidays
    • Gatherings
    • About Jessica
    • Facebook
    • Instagram
    • Pinterest
    • TikTok
    • YouTube
  • ×
    Home » Recipes » Cakes

    Chocolate Mayonnaise Cake (Old-Fashioned Recipe)

    By: Jessica · Posted: Sep 27, 2026 · This post may contain affiliate links. Please read my disclosure policy.

    • Facebook
    Jump to Recipe 0 comments
    Two photos of chocolate mayonnaise cake with thick chocolate frosting and the words old-fashioned chocolate mayonnaise cake and from scratch.

    This chocolate mayonnaise cake is a moist, old-fashioned chocolate cake made from scratch in a 9×13 pan, with a thick layer of chocolate buttercream. A little espresso powder deepens the cocoa flavor, and the mayonnaise gives the cake its tender texture. No cake mix needed!

    This mayo cake batter comes together with a whisk and a spoon, and you can frost and serve it right in the pan. If you like simple bakes like this, you'll find more in my collection of old-fashioned cake recipes.

    Slice of chocolate mayonnaise cake with chocolate buttercream and a bite on a fork.

     

    Why Put Mayonnaise in Chocolate Cake?

    Mayonnaise contains eggs and oil, so it supplies both without adding them separately to the batter. Once it's mixed with the cocoa, sugar, and vanilla, it belongs in a chocolate cake more than you might expect.

    You don't need to crack any eggs for this recipe, but regular mayonnaise contains eggs. If you're looking for a cake batter made without eggs, try my Depression Cake; its chocolate frosting does contain dairy.

    Ingredient Notes

    See the recipe card below for the full ingredient amounts and instructions.

    Labeled ingredients for chocolate mayonnaise cake and chocolate frosting, including mayonnaise, flour, two sugars, cocoa, butter, and cream.
    • Full-fat mayonnaise: Use regular mayonnaise for the cake. Miracle Whip has a different flavor from its added sugar and spices.
    • Unsweetened cocoa powder: You'll need ⅓ cup for the cake and another ⅓ cup for the frosting. Measure them separately so the frosting's cocoa doesn't end up in the batter.
    • Instant espresso powder: Dissolve the teaspoon of powder in the very hot water before mixing it with the mayonnaise. That small amount brings out the chocolate flavor.
    • All-purpose flour: Spoon it into your measuring cup and level the top. Scooping directly from the bag can pack in more flour.
    • Butter and heavy cream: The frosting uses softened unsalted butter. Start with ¼ cup cream and add the extra tablespoon or two only if the frosting needs loosening.

    You'll also need granulated sugar, baking soda, baking powder, salt, and vanilla for the cake, plus powdered sugar, vanilla, and a pinch of salt for the frosting.

    How to Make Mayonnaise Cake

    Preheat the oven to 350°F and grease and flour a 9×13-inch baking pan. Get your ingredients measured before you start mixing.

    1. Mix the Dry Ingredients

    Whisk together the flour, granulated sugar, cocoa, baking soda, baking powder, and salt in a large bowl. Break up any visible cocoa lumps so they don't leave dry pockets in the cake.

    Flour, sugar, cocoa, and other dry cake ingredients whisked together in a glass bowl.

    2. Combine the Wet Ingredients

    Stir the espresso powder into the very hot water until it dissolves. In a separate bowl, whisk the mayonnaise, vanilla, and espresso mixture until smooth.

    Mayonnaise, vanilla, and dissolved espresso whisked together until smooth.

    3. Stir Together and Bake

    Pour the wet mixture into the dry ingredients. Stir just until no dry streaks remain, then spread the batter evenly in the prepared pan. Stop mixing once it comes together.

    Chocolate mayonnaise cake batter spread in a rectangular baking pan.

    Bake for 35-40 minutes, checking the center with a toothpick at 35 minutes. Look for a few moist crumbs on the toothpick, without wet batter. Let the cake cool completely in the pan before adding the frosting.

    Baked chocolate mayonnaise cake cooling in its pan before frosting.

    Make the Chocolate Buttercream

    Beat the softened butter until creamy, then beat in the cocoa powder. Add the powdered sugar gradually, alternating with the ¼ cup heavy cream. Finish with the vanilla and a pinch of salt, and beat until smooth and fluffy.

    If the frosting is too stiff to spread, beat in a little more cream, up to 1-2 tablespoons. Add it gradually; you may not need all of it.

    Smooth chocolate buttercream in a glass mixing bowl.

    Let the cake cool first. This buttercream goes on a completely cooled cake. The warm-frosting method used for my Coca-Cola Cake is a different kind of frosting, so don't use that method here.

    Chocolate mayonnaise cake covered with chocolate frosting in a 9x13-inch pan.

    Tips for a Moist Cake

    • Measure the flour lightly. Too much flour can make the cake dry, even with mayonnaise in the batter.
    • Avoid overmixing. Stir the wet and dry ingredients together just until combined.
    • Use the toothpick cue. A few moist crumbs are your signal to take the cake out. Keep baking if there's wet batter.
    • Plan for cooling. Preparation and baking take about 50-55 minutes, but that does not include the time the cake needs to cool before frosting.

    Make Ahead and Storage

    You can bake and frost the cake a day ahead. Once it's completely cool and frosted, cover and refrigerate. The 9×13 pan makes it easy to portion alongside other potluck desserts.

    Keep the covered cake in the refrigerator for up to 4 days. Let individual slices sit at room temperature for about 20-30 minutes before serving so the cake and buttercream can soften a little.

    For longer storage, wrap the unfrosted cake or individual slices tightly and freeze for up to 3 months. If freezing frosted slices, freeze uncovered until the frosting is firm, then wrap and place in a freezer-safe container. Thaw in the refrigerator.

    Recipe FAQs

    Does mayonnaise cake taste like mayonnaise?

    The mayonnaise's job is to add moisture and fat. Cocoa, vanilla, and chocolate frosting give this cake its chocolate flavor.

    Can I use Miracle Whip or light mayonnaise?

    Use full-fat mayonnaise for this recipe. Miracle Whip has added sugar and spices that change the flavor, and light mayonnaise is not the version called for here.

    Will the espresso powder make it taste like coffee?

    The teaspoon of espresso powder is there to deepen the chocolate flavor, rather than give the cake a strong coffee taste.

    Does this mayonnaise cake use a boxed cake mix?

    No. This is a from-scratch recipe made with flour, sugar, cocoa, and leavening. Use the ingredient amounts in the recipe card rather than adding them to a box mix.

    More Cakes to Try

    For another 9×13 cake with a different flavor, try this Strawberry Texas Sheet Cake. It starts with a cake mix and gets its strawberry flavor from Jell-O and preserves.

    Or browse these old-fashioned desserts for more cakes, cobblers, and other familiar sweets.

    Recipe

    Slice of chocolate mayonnaise cake with a thick layer of chocolate frosting lifted from the pan.

    Chocolate Mayonnaise Cake

    Jessica Burgess
    A moist, from-scratch chocolate mayonnaise cake baked in a 9×13 pan and topped with fluffy chocolate buttercream. Allow additional time for the cake to cool completely before frosting.
    Be the first to rate!
    Print Recipe Pin Recipe
    Prep Time 15 minutes mins
    Cook Time 40 minutes mins
    Total Time 55 minutes mins
    Course Dessert
    Cuisine American
    Servings 12 slices
    Calories 514 kcal

    Equipment

    • 1 9×13-inch baking pan
    • mixing bowls
    • Whisk
    • electric mixer
    • rubber spatula
    •  Measuring cups and spoons

    Ingredients

    Cake

    • 2 cups all-purpose flour
    • 1 ½ cups granulated sugar
    • ⅓ cup unsweetened cocoa powder
    • 2 teaspoons baking soda
    • ½ teaspoon baking powder
    • ½ teaspoon fine salt
    • 1 cup full-fat mayonnaise
    • 1 teaspoon vanilla extract
    • 1 cup very hot water
    • 1 teaspoon instant espresso powder

    Chocolate Frosting

    • ½ cup unsalted butter softened
    • ⅓ cup unsweetened cocoa powder
    • 3 cups powdered sugar
    • ¼ cup heavy cream plus 1-2 tablespoons more if needed
    • 1 teaspoon vanilla extract
    • 1 pinch salt

    Instructions
     

    Cake

    • Preheat the oven to 350°F. Grease and flour a 9×13-inch baking pan.
    • Whisk the flour, granulated sugar, cocoa powder, baking soda, baking powder, and salt in a large bowl.
    • Dissolve the espresso powder in the very hot water. In a separate bowl, whisk the mayonnaise, vanilla, and hot espresso mixture until smooth.
    • Pour the wet mixture into the dry ingredients. Stir just until no dry streaks remain; do not overmix. Spread the batter evenly in the prepared pan.
    • Bake for 35-40 minutes, until a toothpick inserted in the center comes out with a few moist crumbs and no wet batter. Cool completely in the pan before frosting.

    Chocolate Frosting

    • Beat the softened butter until creamy. Beat in the cocoa powder. Gradually add the powdered sugar, alternating with the ¼ cup heavy cream.
    • Add the vanilla and pinch of salt. Beat until smooth and fluffy. If needed, gradually beat in 1-2 tablespoons additional cream until spreadable.
    • Spread the frosting over the completely cooled cake. Cut into 12 slices.

    Notes

    Timing: Preparation and baking take 50-55 minutes, plus cooling. The total time shown does not include cooling; the cake must be completely cool before frosting.
    Mayonnaise: Use full-fat mayonnaise, not Miracle Whip. Regular mayonnaise contains eggs.
    Frosting: Start with ¼ cup heavy cream and add the extra 1–2 tablespoons only if needed.
    Storage: Cover and refrigerate for up to 4 days. Let individual slices soften at room temperature for 20–30 minutes before serving. Freeze well-wrapped cake or slices for up to 3 months; thaw in the refrigerator.
    Nutrition: Estimates are for 1 of 12 slices, including frosting made with ¼ cup heavy cream. Additional cream and the grease and flour used to prepare the pan are excluded.

    Nutrition

    Serving: 1slice | Calories: 514kcal | Carbohydrates: 74g | Protein: 3g | Fat: 24g | Saturated Fat: 9g | Polyunsaturated Fat: 9g | Monounsaturated Fat: 6g | Trans Fat: 0.3g | Cholesterol: 34mg | Sodium: 424mg | Potassium: 111mg | Fiber: 2g | Sugar: 55g | Vitamin A: 322IU | Vitamin C: 0.03mg | Calcium: 27mg | Iron: 2mg

    Nutritional information is based on third-party calculations and should be considered estimates. Actual nutritional content will vary with brands used, measuring methods, portion sizes and more.

    Keywords 9×13 chocolate cake, chocolate buttercream, chocolate mayonnaise cake, mayo cake, mayonnaise cake, old fashioned mayonnaise cake
    Tried this recipe?Let me know how it was!

    More Cake Recipes

    • Red velvet poke cake slice with cream cheese frosting and white chocolate curls on a plate.
      Red Velvet Poke Cake (The Easiest One You’ll Ever Make)
    • A square slice of apple dapple cake topped with caramel glaze on a white plate next to a green apple.
      Apple Dapple Cake (Old-Fashioned Recipe With Caramel Glaze)
    • A slice of pumpkin sheet cake with brown butter frosting on a vintage plate.
      Pumpkin Sheet Cake with Brown Butter Frosting
    • A slice of pumpkin cheesecake cake, on a round plate.
      Pumpkin Cheesecake Cake
    Subscription Form

    Not sure what to bring to a potluck?

    Get my free guide with simple, crowd-favorite recipes that are easy to make and always a hit.

    Reader Interactions

    Comments

    No Comments

    Leave a Reply Cancel reply

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

    Recipe Rating




    This site uses Akismet to reduce spam. Learn how your comment data is processed.

    Primary Sidebar

    Jessica Burgess standing in kitchen holding a hummingbird cake.

    Hi, I'm Jessica! - Owner and Creator of the blog and brand, Fantabulosity.

    I’m here to help you make easy comfort food and nostalgic recipes, using simple ingredients, that everyone will love.

    More about me →

    Recipe Collections

    • Crockpot recipe collage
      26 Easy Crockpot Dinners (Slow Cooker Recipes for Busy Weeknights)
    • Church supper recipes collage.
      Church Supper Recipes
    • Fall Dessert Recipes collage, showing pumpkin, apple and pecan desserts.
      Easy Fall Desserts (34 Cozy Recipes for the Whole Season)
    • Collage of Thanksgiving side dishes.
      40+ Thanksgiving Side Dishes (Easy Recipes for a Crowd)
    • Old fashioned potluck cake recipes collage.
      Old-Fashioned Cakes That Still Show Up at Every Potluck
    • Collage of potluck desserts.
      Easy Potluck Desserts (Simple Recipes That Always Get Asked For)

    Popular Recipes

    • bread pudding in baking dish
      Bread Pudding Recipe: Easy Old Fashioned Recipe (With Video!)
    • Burger baked in the oven, steamed in aluminum foil, and placed on white plate.
      Burgers in the Oven
    • two tuna salad sandwiches stacked on top of each other
      The BEST Tuna Salad Recipe
    • doritos chicken casserole on plate
      Doritos Chicken Casserole
    • Strawberry brownies on white marble cutting board.
      Strawberry Brownies Recipe
    • Cheeseburger Sliders made with Hawaiian Rolls, stacked on top of one another.
      Cheeseburger Sliders

    Footer

    ↑ back to top

    Featured In

    About

    • About Jessica
    • Contact
    • Collaborate
    • Dinner System

    Easy Recipes

    • All Recipes
    • Vintage Recipes
    • Dinner Recipes
    • Desserts

    How to Cook

    • Oven-Baked
    • Stove-Top
    • No Bake
    • Cooking Basics

    Privacy Policy |Accessibility Copyright © 2026 Fantabulosity | Terms & Conditions | FTC
    All recipes, photos, and content are copyrighted and may not be reproduced, republished, or distributed without written permission.

    Rate This Recipe

    Your vote:




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