• 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

    Chocolate Mayonnaise Cake

    By Elizabeth Waterson // Apr 25, 2024 // 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!

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

    This chocolate mayonnaise cake recipe is super easy, quick, moist, and delicious. Step-by-step photos teach you how to bake this cake!

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

    When I made this cake I took it to a group of friends and they all gushed over how delicious this 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.

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

    Let's get to the recipe

    Jump to:
    • Ingredients
    • Instructions
    • How to freeze
    • More Chocolate Recipes
    • Recipe Card
    • Recipe Ratings & Comments

    Ingredients

    For this chocolate mayonnaise cake you will need:

    • Granulated Sugar/ Caster Sugar. Sugar sweetens and helps build the cake's structure.
    • Light Brown Sugar. Adding some brown sugar helps moisten the cake and adds a very slight warmth from the molasses flavor.
    • All-Purpose/ Plain Flour. Make sure you measure your flour properly.
    • Dutch Process Cocoa Powder. I use Bensdorp Dutch Cocoa Powder or Rodelle Dutch Cocoa Powder. Do not swap in natural unsweetened cocoa powder.
    • Baking Soda. The baking soda needs to be activated by an acid and in this recipe that acid is the buttermilk and brown sugar.
    • Salt. Salt helps all of the other ingredients' flavor profiles shine through.
    • Baking Powder. This chemical leavening agent is already activated and will help the cake rise while baking.
    • Large Eggs. Eggs give fat and structure to the cake. Your eggs should be at room temperature to evenly incorporate into the other ingredients.
    • Mayonnaise. The star of the show. Mayonnaise is a delicious moisture bomb full of fat. Trust me this cake is delicious and this secret ingredient takes all of the credit. Make sure your mayo is at room temp.
    • Pure Vanilla Extract. Vanilla pairs beautifully with chocolate for a warm delicious cake flavor.
    • Buttermilk. The buttermilk helps moisten the cake batter and create soft, tender cake layers. This liquid ingredient should be at room temperature.
    • Hot Coffee. You may be skeptical but trust me adding coffee only enhances the chocolate flavor it does not make the cake taste like coffee.

    Baking is a science and to really achieve the best results I highly recommend investing in a kitchen scale. This OXO Kitchen Scale is the one I use and is also the number one recommended kitchen scale by Cook's Illustrated. Think about it -what one person scoops into a "cup" is completely different from what someone else scoops!

    ingredients in small bowls for chocolate mayonnaise cake.

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

    Instructions

    Preheat oven to 350F/180C and grease two 8-inch round pans. Set aside.

    In the bowl of an electric mixer or large bowl with a whisk combine the eggs, vanilla, mayonnaise, and buttermilk mix until fully combined.

    wet ingredients in an glass bowl on a light surface with a pastel linen.

    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. Sifting the flour mixture helps ensure a smooth cake batter.

    dry ingredients sifted into wet ingredients in a glass bowl on a light surface with a pastel linen.

    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.

    hot coffee mixed into chocolate mayonnaise cake batter in a glass bowl on a light surface with a pastel linen.

    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.

    two chocolate mayonnaise cakes cooling on a wire rack on alight surface.

    While the cakes are cooling prepare chocolate frosting. When cakes are fully cooled begin frosting.

    chocolate frosting in a metal bowl on a light surface.

    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.

    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.

    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.

    spoon swirling chocolate frosting on top of a chocolate cake on a white plate.
    chocolate mayonnaise layer cake with chocolate sprinkles on a white plate on an light surface.

    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. 

    Other frosting ideas to try are:

    • Peanut Butter Frosting
    • Chocolate Buttercream
    • Vanilla Buttercream
    • Oreo Frosting
    • Cream Cheese Frosting
    slice of chocolate mayonnaise cake being taken from the layer cake on a white plate on a light surface with a linen.

    How to freeze

    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!

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

    More Chocolate Recipes

    • Mascarpone Chocolate Toffee Bars
    • Boozy Chocolate Tart
    • Chocolate Bread
    • Chocolate Hot Cross Buns
    • Chocolate Pudding Pie
    • Salted Caramel Chocolate Chip Cookies

    ★★★★★ 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.

    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 recipe is super easy, quick, moist, and delicious. Step by step photos teach you how to bake this cake!

    • 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 →
    • Author: Elizabeth Waterson
    • Category: Dessert
    • Method: Bake
    • Cuisine: American

    Did you make this recipe?

    Tag @confessionsofabakingqueen on Instagram and hashtag it #cbqbakes

    Recipe Card powered byTasty Recipes

    You may also like

    Explore Recipes

    Layer CakesFather's DayChocolate

    More Layer Cake Recipes

    • 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
    • Oreo cake on a serving plate with a big slice taken out of it.
      Oreo 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 →

    Winter Favorites

    • A close-up of a slice of lemon cream cheese bundt cake with a light glaze on top, served on a white plate. The texture of the cake looks moist and dense, and part of the whole cake is visible in the background.
      Lemon Cream Cheese Pound Cake
    • 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.
      Fresh & Tangy No Bake Lemon Cheesecake
    • slice of lemon ricotta cake on a white plate with lemons and the whole cake on a light grey surface.
      Lemon Ricotta Cake
    • salted caramel apple crisp served in a white dish with ice cream on top
      Crisp Crumbles & Gooey Apples: This Caramel Apple Crisp Is Everything
    • Individual slices of lemon cheesecake bars on a marble counter with fresh lemons. One slice has a bight taken out of it.
      Lemon Cheesecake Bars
    • lemon curd cookies dusted in powdered sugar on a white plate on top of a stripped linen on a light surface with more lemons
      Lemon Curd Cookies
    • cut open orange olive oil cake on a white plate on a marble surface with a floral linen
      Orange Olive Oil Cake
    • spatula taking a slice of lemon olive oil cake on a brown marble surface with a blue linen
      Lemon Olive Oil Cake
    • slice of pear bundt cake cut against the full cake on a wire rack on a light brown surface with a blue and white linen, pear and coffee cup
      Moist Pear and Spice Bundt Cake
    • marshmallow topped hot chocolate in a large glass mug on a white marble surface next to chocolate chips, marshmallows and more hot chocolate
      Crock Pot Hot Chocolate
    • close up of a rib eye roast dinner on a white plate with a stripped blue linen on a light cream surface
      Juicy Ribeye Roast Made Easy
    • slice of lemon cream pie with whipped cream on top on a white plate on a blue linen on a light brown surface with a cup of coffee and lemons in the background
      Lemon Cream Pie

    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

    185 shares