• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Confessions of a Baking Queen logo
  • About
    • Contact
  • All Recipes
    • St. Patrick's Day
    • British Recipes
    • Breakfast
    • Desserts
      • Bars
      • Breads
      • Brownies
      • Caramel
      • Cakes
      • Chocolate
      • Confections
      • Cheesecakes
      • Cookies
      • Cupcakes
      • Custards & Puddings
      • Creme Brûlée
      • Lemon
      • Peanut Butter
      • Pies & Tarts
      • Frostings
      • Scones
    • Appetizers
    • Drinks
    • Egg Free
    • Gluten Free
    • Spring
    • Fall
    • Summer
  • Desserts
    • Cookies
    • Cakes
    • Bars
    • Cheesecakes
  • Shop
menu icon
go to homepage
  • About
  • All Recipes
    • Recipe Search
    • Recipe Index
  • Chocolate
  • Cakes
  • Cookies
  • Shop
    • Facebook
    • Instagram
    • Pinterest
    • YouTube
  • subscribe
    search icon
    Homepage link
    • About
    • All Recipes
      • Recipe Search
      • Recipe Index
    • Chocolate
    • Cakes
    • Cookies
    • Shop
    • Facebook
    • Instagram
    • Pinterest
    • YouTube
  • ×
    Home » Cakes » Layer Cakes

    Ultra-Moist Chocolate Mayonnaise Cake

    By Elizabeth Waterson // Apr 25, 2024 (Updated May 31, 2026) // 6 Comments

    Jump to Recipe·5 from 2 reviews
    This post may contain affiliate links, which may pay me a small commission for my referral at no extra cost to you! Thank you for supporting Confessions of a Baking Queen!

    196 shares
    mayonnaise chocolate cake sliced open on a white plate on top of a light linen on a white surface.

    This chocolate mayonnaise cake is a retro delight with moist, tender chocolate layers and a fudgy frosting that makes every bite rich but never heavy. The secret to its irresistible texture? Jarred mayonnaise - it keeps the cake unbelievably soft and contributes perfect moisture without overpowering flavor.

    mayonnaise chocolate cake sliced open on a white plate on top of a light linen on a white surface.
    That rich, glossy chocolate moment… and no one would ever guess what’s inside.

    Featured Review

    "Absolutely beautiful moist chocolate cake! This is now my go to cake from now on!"

    Diana
    Jump to Recipe·5 from 2 reviews

    When I made this cake I took it to a group of friends and they all gushed over how delicious this 2 layer cake was. I then asked them if they could guess the secret ingredient. No one guessed right, when I told them it was mayonnaise I got some grossed-out looks. But if you think about it mayo is mostly egg and oil, two of the main cake ingredients.

    Trust me your friends and family will love this secret ingredient chocolate cake. You'll find all my cake recipes here.

    slice of mayonnaise chocolate cake on a stack of white plates.

    Pantry-Friendly Chocolate Cake Ingredients

    This two layer cake recipe calls for hot coffee which helps bloom the cocoa powder creating an intensely chocolate flavor. You don't taste the coffee. You cannot swap it out, trust me it makes this cake stunning!

    For ingredient quantities please reference the recipe card below. On the recipe card there is a button for US or M (Metric) measurements.

    ingredients in small bowls for chocolate mayonnaise cake.

    The Magic of Mayos Moisture

    wet ingredients in an glass bowl on a light surface with a pastel linen.
    Whisk combine the eggs, vanilla, mayonnaise, and buttermilk mix until fully combined.
    dry ingredients sifted into wet ingredients in a glass bowl on a light surface with a pastel linen.
    Sift the dry ingredients into the wet ingredients then use a spatula to fold in to combine.
    hot coffee mixed into chocolate mayonnaise cake batter in a glass bowl on a light surface with a pastel linen.
    Add the hot coffee and mix carefully not to splash yourself. Pour evenly into prepared pans and bake.
    two chocolate mayonnaise cakes cooling on a wire rack on alight surface.
    Cool cakes on a wire rack until cooled compeltely.
    chocolate frosting in a metal bowl on a light surface.
    Make chocolate frosting.
    spoon swirling chocolate frosting on top of a chocolate cake on a white plate.
    Frost the cake.
    chocolate mayonnaise layer cake with chocolate sprinkles on a white plate on an light surface.
    Add sprinkles if desired.

    For the top layer use the back of a spoon to swirl the frosting and add sprinkles if desired. Store this cake in an airtight container at room temperature, if you live in a warm environment you might want to store the cake in the refrigerator. 

    slice of chocolate mayonnaise cake being taken from the layer cake on a white plate on a light surface with a linen.

    When I serve this chocolate mayo cake the frosting I most prefer is this glossy chocolate frosting. The easy chocolate cake layers also go well with Peanut Butter Frosting or Oreo Frosting and of course a classic Vanilla Buttercream.

    half eaten chocolate mayonnaise cake slice on a white plate with a fork.

    ★★★★★ Please let me know if you make this recipe by leaving a star rating and comment below!

    Make sure to join our Newsletter and follow us on Pinterest, Instagram, Facebook, & Twitter.

    Print

    Recipe Card

    clockclock iconcutlerycutlery iconflagflag iconfolderfolder iconinstagraminstagram iconpinterestpinterest iconfacebookfacebook iconprintprint iconsquaressquares iconheartheart iconheart solidheart solid icon
    mayonnaise chocolate cake sliced open on a white plate on top of a light linen on a white surface.

    Ultra-Moist Chocolate Mayonnaise Cake

    5 Stars 4 Stars 3 Stars 2 Stars 1 Star

    5 from 2 reviews

    Print Recipe
    Pin Recipe

    This chocolate mayonnaise cake is a retro delight with moist, tender chocolate layers and a fudgy frosting that makes every bite rich but never heavy. The secret to its irresistible texture? Mayonnaise - it keeps the cake unbelievably soft and contributes perfect moisture without overpowering flavor. 

    • Total Time: 1 Hour 45 Minutes
    • Yield: 8-10 Slices 1x

    Ingredients

    Units Scale

    Chocolate Mayo Cake

    • 200 grams (1 Cup) Granulated Sugar/ Caster Sugar
    • 200 grams (1 Cup) Light Brown Sugar
    • 2 Large Eggs, at room temperature
    • 6oz (¾ Cup) Mayonnaise
    • 2 ½ Teaspoons Pure Vanilla Extract
    • 6oz (¾ Cup) Whole Milk or Buttermilk
    • 250 grams (2 Cups) All-Purpose/ Plain Flour
    • 90 grams (¾ Cup) Dutch Process Cocoa Powder ( I use Bensdorp Dutch Cocoa Powder)
    • 2 Teaspoons Baking Soda
    • ½ Teaspoon Salt
    • 1 Teaspoon Baking Powder
    • 8oz (1 Cup) Hot Coffee*

    Frosting

    • 1 Batch Chocolate Frosting
    • Sprinkles

    Instructions

    Moist Chocolate Cake

    1. Preheat oven to 350F/180C and grease two 8-inch round pans. Set aside.
    2. In the bowl of an electric mixer or large bowl with a whisk combine the eggs, vanilla, mayonnaise, and buttermilk mix until fully combined. Place a large fine mesh sieve on top and add all of the dry ingredients. Sift into the wet ingredients then use a spatula to fold in to combine. Once just combined add the hot coffee and mix carefully not to splash yourself. The cake batter will be very thin. Pour evenly into prepared pans.
    3. Bake for 25-30 minutes or until a toothpick inserted comes out clean/ only moist crumbs, no wet batter. Set cakes on a wire rack to cool completely.
    4. While the cakes are cooling prepare chocolate frosting. When cakes are fully cooled begin frosting.

    Assembly

    1. Add about 1 heaping cup of frosting to the center and use an angled spatula to spread it into an even layer, bend down to eye level with the cake to make sure the frosting is in an even layer.
    2. Add the second cake layer bottom side up, the bottom side of the cake is generally straighter than the top so this helps create an even top of the cake.
    3. Using a straight icing spatula press and gently spread chunks of frosting on the side, about 8 times, then you can evenly spread the frosting together creating a crumb-free coat of frosting. For the top layer use the back of a spoon to swirl the frosting and add sprinkles if desired. Store the cake in an airtight container at room temperature, if you live in a warm environment you might want to store the cake in the refrigerator. 

    Equipment

    kitchen aid cordless hand mixer

    Cordless Hand Mixer

    Buy Now →
    small angled spatula

    Small Angled Spatula

    Buy Now →
    straight icing spatula

    Straight Icing Spatula

    Buy Now →
    fat daddios cake pan

    Cake Pans

    Buy Now →
    oxo food scale

    OXO Kitchen Scale

    Buy Now →

    Notes

    • You can freeze the cake layers unfrosted by following these steps:  Let the chocolate cake layers cool completely. Once cooled wrap tightly in plastic wrap, then wrap the cake in a second layer. Two layers of plastic wrap helps prevent any freezer burn. Store the cakes on a flat surface for the first few hours of freezing, this initial time ensures the cakes freeze in the proper shape. After frozen feel free to store the cakes on top of each other or on their side. Take the cake layers out of the freezer and place on the counter at room temperature for a couple of hours. The cake will thaw a lot quicker than you think.
    • You can also freeze the frosted cake by following these steps:  Frost the cake then place it in the freezer to flash freeze for one hour. After one hour wrap it in plastic wrap tightly, twice, to help prevent freezer burn. Take the cake out of the freezer and place it in the refrigerator to thaw overnight. You can do the same process with slices of cake too!
    • Author: Elizabeth Waterson
    • Prep Time: 15 Minutes
    • Assembly Time: 1 Hour
    • Cook Time: 30 Minutes
    • Category: Dessert
    • Method: Bake
    • Cuisine: American

    Did you make this recipe?

    Tag @confessionsofabakingqueen on Instagram and hashtag it #cbqbakes

    Recipe Card powered byTasty Recipes

    Explore Recipes

    Layer CakesFather's DayChocolate

    More Layer Cake Recipes

    • chocolate ding dong cake sliced open on a white plate on a light pink surface with a white stripped linen.
      Ultimate Chocolate Ding Dong Cake (Creamy & Ganache-Topped)
    • up close of blackberry layer cake on a cake stand.
      Blackberry Cake
    • large slice of chocolate cake wtih chocolate whipped cream and ganache on a white plate on a light pink surface.
      Triple Chocolate Layer Cake
    • cut open coffee heath bar crunch cake on a light surface with a blue linen.
      Coffee Heath Bar Crunch Cake

    Reader Interactions

    Comments

      Leave a comment & rate this recipe Cancel reply

      If you love this recipe, please consider leaving a ⭐ star rating ⭐ when you post a comment. Star ratings help people discover my recipes online. I am incredibly grateful for your support! —xx Liz

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

      Recipe rating 5 Stars 4 Stars 3 Stars 2 Stars 1 Star

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

    1. Janice says

      June 21, 2023 at 3:03 pm

      This cake is so moist and chocolaty! Love it!!

      Reply
      • Elizabeth Waterson says

        June 21, 2023 at 8:32 pm

        Thank you so much for the lovely review Janice!! So happy you enjoyed the cake!! Take care. XX Liz

        Reply
    2. Diana Laguzza says

      June 25, 2023 at 10:18 pm

      Absolutely beautiful moist chocolate cake! This is now my go to cake from now on!

      Reply
      • Elizabeth Waterson says

        June 26, 2023 at 8:18 am

        Thank you so much for the lovely 5-star review Diana!! And so happy you loved this cake and plan to make it again!! Take care. XX Liz

        Reply
    3. Judy Jacobi says

      January 12, 2025 at 5:56 am

      I made the chocolate mayo cake according to directions. It came out perfect! I made a ganache frosting between the layers (I made 3) with a ganache glaze. 5 stars

      Reply
      • Elizabeth Waterson says

        January 20, 2025 at 1:34 pm

        Hi Judy, so happy to hear that you enjoyed the cake! The ganache sounds perfect in between!! Take care xx Liz

        Reply

    Primary Sidebar

    elizabeth mixing frosting

    Hiya! I am Elizabeth Waterson, welcome to my treat-filled site. After spending 15 years in the restaurant industry and growing up baking, I wanted to share my love of baking with you all. My step-by-step tutorials will help you learn how to bake at home. Confessions of a Baking Queen (CBQ) has been featured in CBS LA, HuffPost Taste, BuzzFeed, Taste of Home, and more! Here you will find loads of sweet recipes with a few savory ones for good measure. Feel free to message me with any questions! Happy Baking! 

    More about me →

    Summer Favorites

    • A slice of creamy cheesecake with a graham cracker crust, topped with bright yellow lemon curd and whipped cream, sits on a white plate. A fork holds a bite of cheesecake in the foreground, with lemons in the background.
      No Bake Lemon Cheesecake (with Sour Cream)
    • chocolate peanut butter rice krispy treats on a white surface.
      Super Chocolatey Peanut Butter Rice Krispie Treats
    • cut open s'mores cheesecake on a white plate on a light brown surface.
      S'mores Cheesecake (Campfire-Inspired Delight)
    • close up of strawberry cheesecake ice cream cone.
      Strawberry Cheesecake Ice Cream
    • hand holding a slice of zucchini banana bread up to the camera.
      Garden Zucchini Meets Banana Bread
    • strawberry milkshake with whipped cream and a berries in a tall glass with a red and white straw on a light surface.
      Strawberry Milkshake
    • slice of strawberry pie with whipped cream on top on a white plate on a blue linen on a grey surface
      Fresh Strawberry Pie (No Jello Needed)
    • up close of Biscoff cookie dipped into smores dip in an cast iron skillet.
      Easy S'mores Dip (5 Ingredients & Ready in 15 Minutes)
    • s'mores cookies on a light surface with marshmallows and graham cracker crumbs.
      Everything You Love About S'mores in Cookie Form
    • An Oreo milkshake with a straw, topped with whipped cream and an Oreo and surrounded by Oreos.
      Oreo Milkshake
    • golden oreo cake batter pie cut open in a light purple pie dish on a white marble surface
      Golden Oreo Cake Batter Ice Cream Pie
    • slice of lemon blueberry cream cake on a white plate on a light surface
      Layered Lemon Blueberry Cake with Creamy Frosting

    Featured

    featured in confessions of a baking queen

    Footer

    Join the CBQ Community

    • Sign Up! for emails and updates
    • Join our Community on Social Media
    • Instagram, Facebook & Pinterest

    Check Out Google Web Stories

    About

    • Privacy Policy
    • About Elizabeth
    • Contact

    Resources

    • The Best Baking Tools
    • Cheesecake Recipes
    • Brownie Recipes
    • Cake Recipes
    • Shop My Favorite Products & Tools

    ↑ back to top

    As an Amazon Associate, I earn from qualifying purchases. Thank you for supporting Confessions of a Baking Queen.

    Copyright © 2026 Confessions of a Baking Queen

    196 shares