• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • My Cookbook: Marbled, Swirled, and Layered
  • Recipes
  • Travel & Events
  • About this Blog
  • Bio
  • FAQ
  • Work with Me

Eat The Love

Recipes, Photographs and Stories about Desserts, Baked Goods and Food in general, with a healthy dose of humor and happiness for the food obsessed

You are here: Home / cake / Chocolate Mayonnaise Snacking Cake

September 30, 2026

Chocolate Mayonnaise Snacking Cake

This easy to make cake is plush and moist, thanks to the old-school vintage trick of using mayonnaise in the batter. 

Jump to Recipe

A slice of chocolate mayonnaise cake on a plate, with the remaining cake in a pan next to it.

I don’t talk much about my “other” day job, but I’m a freelance food writer that contributes to a number of outlets, including Serious Eats. Recently, due to a project that involved me making buckets of mayonnaise, I need to frantically use it up before it went bad. Of course, I went with numerous batches of deviled eggs, including my beet-dyed eggs devil eggs with za’atar and tahini, my chorizo deviled eggs, and my pimiento deviled eggs. But beyond making grilled cheese and coleslaw, I turned to a classic vintage recipe, the chocolate mayonnaise cake. Though it sounds weird, the recipe yielded a moist and decidedly tender and plush snacking cake that had my husband going back for seconds and thirds. 

Chocolate mayonnaise snacking cake with sour cream frosting in a pan.

Why Mayonnaise and Which One to Use

The classic chocolate mayonnaise cake is a vintage recipe developed back in the 1950s when eggs were expensive. Some things don’t change right? Mayonnaise, if you’ve never made it from scratch, is an emulsion of eggs and oil. Both ingredients that you find in cakes and other baked goods. The emulsion of these two ingredients mean they blend in well with cakes, yielding a moist (from the oil) and tender (from the eggs) cake. The additional lofty plushness that in the cake probably came from the already mixed and emulsified oil in the eggs. 

Typical mayonnaise also has a little salt and some vinegar or acid in it, with some mayonnaise brands adding in additional flavoring like garlic. I’d recommend avoiding any mayonnaise that uses garlic or other flavorings. But, to be honest, with the strong and sharp chocolate flavor that you get natural cocoa, you most likely won’t taste those mild flavorings (unless you have a very refined palate or are a supertaster). Use whatever mayonnaise you have on hand, including homemade, no need to buy a special jar of it just for this recipe. 

That said, I have not tested this recipe with Miracle Whip or Vegannaise/Vegan mayo substitutes. The internet says both will work! But I personally haven’t tested it. If you do try it, please leave a comment below letting me know how they work out!

A slice of chocolate mayonnaise cake on a plate, with the remaining cake in a pan behind it.

Key Ingredients in Chocolate Mayonnaise Snacking Cake

  • Mayonnaise: As I said above, mayonnaise is an emulsion of egg and oil, making it an easy substitute for both.
  • Coffee: Coffee boosts the chocolate flavor. You can also just use instant coffee or just swap out hot water if you don’t have coffee.
  • Cocoa: I use natural cocoa powder but you can sub out Dutch-process. See my section below on how to do that.
  • All-purpose flour: This gives structure. I prefer all-purpose as the large amount of cocoa used in this recipe already reduces the gluten in it, keeping it tender.
  • White and brown sugar: Sweetens the cake, keeps it tender, and the molasses in the brown sugar lends deeper chocolate flavor and more moisture because the molasses is hygroscopic (attracts water).
  • Baking powder and soda: Both are leaveners, giving the cake loft and resulting in a plus crumb.
  • Vanilla: Boost and gives the chocolate dimension.
  • Sour cream (in the frosting): This give a slight tang and dimension to the frosting and makes it more smooth and spreadable at room temperature.
A slice of chocolate mayonnaise cake on a plate, with a piece of the cake on a fork. Next to the cake is a glass of milk.

How to make this cake

One of the favorite things about this cake recipe is that it’s super easy to make and only uses one bowl!

Start off with measuring fresh brewed coffee or hot water into a glass measuring cup. If using water, you can spike it with a bit of instant coffee or espresso powder but this is optional (the coffee flavor is there just to boost the flavor of the chocolate, you won’t taste it). Add the cocoa powder, stirring to dissolve the powder. “Blooming” the cocoa like this in the hot water also helps deepen and strengthen the chocolate flavor.

Left image is coffee in a glass measuring cup with natural cocoa in it. Right image is the cocoa whisked into the coffee, with a small whisk in the liquid.

Whisk together flour, white and brown sugar, baking powder, baking soda, and salt in a large bowl. Add to the dry ingredients the coffee chocolate liquid, mayonnaise, and vanilla to the bowl. Stir with a whisk until a smooth batter forms.

Left image is mayonnaise and vanilla in the bowl with dry ingredients, with the cocoa coffee mixture being poured into the bowl. right image is a spatula mixing the ingredients together.

Pour the batter into a buttered 9” x 13” x 2” pan and bake.

Left image is a hand brushing melted butter into a baking pan. Right image is the cake batter being poured into the pan.

Once the cake is made and cooled, you can either just dust it with a little powdered sugar to eat or top it with your favorite frosting. I included a quick chocolate frosting with this recipe that uses sour cream which gives it a nice tang and added dimension. To make this frosting melt dark chocolate and butter. Then sift and stir in powdered sugar. Mix in some sour cream, vanilla extract, and a touch of corn syrup (totally optional but I like to add it to give the frosting a little shine). 

Left image is cake baked in a pan. Right image is a spoon spreading the chocolate frosting over the cooled cake.

What sort of cocoa powder should you use?

I developed this recipe using natural cocoa powder, which is naturally acidic. The sharper flavor of the natural cocoa cuts helps cut through some secondary flavors that might be present in mayonnaise (like garlic or lemon). But you can also use Dutch-processed cocoa as well if that’s all you have or if you prefer the more mellow and rich flavor of Dutch-processed. Just swap out the same amount of Dutch-processed cocoa for the natural cocoa (3/4 cup) and omit the baking soda in the recipe.

Keep in mind that if you swap the cocoa, the color of the cake will be darker and you will have a tighter crumb to the cake, which is not a bad thing! Just different.

Two spoonfuls of different cocoa powder on a marble surface, with darker Dutch-processed cocoa in front, and natural cocoa powder in back.

Storage

This cake stays moist for up to three or four days. I like to cover it tightly with plastic wrap or aluminum foil and store it in the fridge for optimum freshness. Take out from the fridge and let it come to room temperature before serving.

You can also freeze the cake, whole or in slices. If it’s whole and already frosted, cover the pan with plastic wrap, then aluminum foil and freeze as is. If it’s already sliced, I like to place the slices onto a baking sheet and then place that in the freezer for two to three hours, or until the cake is frozen solid. Then I’ll wrap each piece in plastic wrap or place it in a resealable freezer Ziploc bag for further storage. Cake can be stored in the freezer for two to three months. Just make sure to thoroughly thaw it before serving.

A slice of chocolate mayonnaise cake on a plate with a piece of cake on a  fork. There is a glass of milk behind the plate.

If you like this chocolate recipe, check out some of these other chocolate recipes:

  • Dark Chocolate Texas Sheet Cake
  • Tunnel of Fudge Cake
  • Marble Bundt Cake
  • Guinness Chocolate Bundt Cake
  • Easy Fudgy Brownies
  • Cakey Brownies
  • Kahlua Espresso Brownies
  • Oreo Brownies
  • Chocolate Chess Pie
  • Double Chocolate Chip Muffins
  • Bakery Style Chocolate Chip Cookies
  • Chocolate Crackle Cookies
A slice of chocolate mayonnaise cake on a plate, with the remaining cake in a pan next to it.
Print Pin
No ratings yet

Chocolate Mayonnaise Snacking Cake

This chocolate mayonnaise cake is a simple and easy recipe based on a vintage recipe using mayonnaise in place of eggs and butter/oil. The result is a moist and plush cake that comes together quickly in one bowl. I paired it with an easy-to-make chocolate sour cream frosting but you can just dust it with powdered sugar if you want something simpler.
Course coffee time, Dessert, Snack
Cuisine American
Keyword cake, chocolate, easy
Prep Time 25 minutes minutes
Cook Time 25 minutes minutes
Servings 12
Calories 899kcal
Author Irvin

Ingredients

Cake Batter

  • 1 1/4 cup hot water 300 ml or 300 g (or fresh brewed coffee)
  • 1 teaspoon instant coffee or espresso powder (optional but recommended, skip if using coffee instead of water)
  • 3/4 cup natural cocoa powder 65 g (see section above for about cocoa powder and substituting Dutch-processed cocoa)
  • 2 1/4 cups all-purpose flour 315 g
  • 1 cup white granulated sugar 200 g
  • 1/4 cup packed dark brown sugar 55 g
  • 2 teaspoon baking powder
  • 1/2 teaspoon baking soda
  • 1/2 teaspoon kosher salt
  • 1 1/4 cups mayonnaise 300 g
  • 2 teaspoons vanilla extract

For Pan

  • 1 tablespoon butter melted

Frosting

  • 6 1/4 ounces dark chocolate chopped (175 g)
  • 6 tablespoons unsalted butter 85 g
  • 2 1/2 cups confectioner’s sugar sifted, 290 g
  • 1/2 cup sour cream 125 ml or 125g
  • 1 tablespoon corn syrup optional, see note below
  • 2 teaspoons vanilla extract

Instructions

  • Preheat the oven to 350°F.
    Make the cake by measuring out the hot water (or fresh brewed coffee) into a 2-cup glass measuring cup or small bowl. Add the instant coffee or espresso powder and the cocoa powder to the liquid and stir to dissolve the cocoa powder.
    Left image is coffee in a glass measuring cup with natural cocoa in it. Right image is the cocoa whisked into the coffee, with a small whisk in the liquid.
  • Place the flour, white sugar, brown sugar, baking powder, baking soda, and salt into a large bowl. Whisk all the dry ingredients together.
    Left image is flour, white sugar, brown sugar, baking powder, baking soda, and salt in a glass bowl. Right image is all the dry ingredients whisked together.
  • Add the chocolate coffee liquid, mayonnaise, and vanilla to the bowl. Stir with a whisk breaking up any big clumps, until a smooth batter forms.
    Left image is mayonnaise and vanilla in the bowl with dry ingredients, with the cocoa coffee mixture being poured into the bowl. right image is a spatula mixing the ingredients together.
  • Brush the bottom and sides of a 9 x 13 x 2-inch pan with the melted butter.
    Pour the batter into the pan, smoothing it out so you have an even layer.
    Bake in the oven for 25 to 30 minutes, or the sides of the cake pull away from the pan a little bit, the top of the cake starts to crack slightly, and a toothpick inserted in the center of the cake comes out clean.
    Let cool in the pan for two hours, or until it gets to room temperature before frosting.
    Left image is a hand brushing melted butter into a baking pan. Right image is the cake batter being poured into the pan.
  • Make the frosting by placing the dark chocolate and butter in a microwave-safe bowl. Melt the two together, cooking in 30 second intervals, stirring between each cooking cycle, until both chocolate and butter are melted and smooth.
    Left image is chocolate and butter in a glass bowl. Right image is a spatula mixing the melted chocolate and butter together until smooth.
  • Sift in the confectioner’s sugar (do not skip this test, as lump confectioner’s sugar does not dissolve, and you’ll end up with lumpy frosting). Add the sour cream, corn syrup (if using) and vanilla. Stir it all together with a balloon whisk until smooth.
    Left image is powdered sugar, sour cream, corn syrup, and vanilla added to the melted butter and chocolate in a glass bowl. Right image is a whisk blending all the frosting ingredients together.
  • Once the cake is cooled to room temperature, ice the top of the cake with the frosting.
    Left image is cake baked in a pan. Right image is a spoon spreading the chocolate frosting over the cooled cake.

Notes

The corn syrup in the frosting adds a sheen and gloss. You can substitute honey (though this will add a slight honey flavor to the frosting) or you can skip it all together, though the frosting will look less shiny.

Nutrition

Calories: 899kcal | Carbohydrates: 49.7g | Protein: 4.9g | Fat: 71.1g | Saturated Fat: 36.7g | Cholesterol: 138mg | Sodium: 1664mg | Potassium: 1938mg | Fiber: 4.3g | Sugar: 20.9g | Calcium: 764mg | Iron: 5mg

Pin this recipe for later!

Top image is chocolate mayonnaise snacking cake in a pan. Bottom image is a slice of the cake on a plate, with the remaining cake in a pan next to it.

Filed Under: cake, chocolate, easy Tagged With: cake, chocolate, easy

Reader Interactions

Leave a Reply Cancel reply

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

Recipe Rating




Primary Sidebar

Follow Me On

Twitter-Link-to-Eat-the=Love Facebook-Link-to-Eat-the-Love Pinterest-Link-Eat-The-Love Instagram-Link-Eat-The-Love RSS-Feed-Link-Eat-The-Love
on Mastodon

Available Now: Marbled, Swirled and Layered
Available Now: Marbled, Swirled and Layered Available Now: Marbled, Swirled and Layered Available Now: Marbled, Swirled and Layered

"Mr. Lin, a graphic designer in San Francisco who writes the food blog Eat the Love, takes risks in nearly every one of the 150 elaborate recipes in his book. He doesn’t just paint the lily; he bejewels and shellacs it, too."
–MELISSA CLARK for the New York Times

“My goodness, this cookbook! It’s filled to the brim with recipes for the most splendidly beautiful cakes, cookies, breads, and tarts I think I’ve ever seen. My eyes kept getting wider and wider as I turned every page—both the flavor combinations and the photos are out of this world. Irvin Lin has most definitely outdone himself. This book is a triumph!”
—REE DRUMMOND, New York Times best-selling author of The Pioneer Woman Cooks

“Irvin Lin gives home-baked treats a twist, ramping them up with a range of contemporary flavors that are sure to surprise and delight. From beer-battered brownies to smoky butterscotch taking a classic cake to the next level, I can’t wait to mix, stir, and bake my way through Marbled, Swirled, and Layered!”
—DAVID LEBOVITZ, author of My Paris Kitchen

Search

Subscribe via Email

The Writer, The Baker, The Recipe Maker

Hey there! Thanks for visiting my blog. I'm Irvin Lin, a critically acclaimed cookbook author, IACP-Award winning photographer, IACP-nominated blogger, award winning baker, award winning former graphic designer, storyteller, recipe developer, writer and average joe bon vivant. I currently reside in San Francisco a block from Dolores Park and right near Tartine Bakery, Bi Rite Market & Creamery, and Delfina.

Feel free to contact me by clicking on that picture of me up above or emailing me eatthelove {at} gmail {dot} com.

IACP Photography Contest Best in Show WinnerIACP Photography Contest Best in Show Winner

“Irvin Lin is the creative mind behind his Eat the Love food blog. Lin’s impressive photography skills support his training in graphic design on the site, and you would never believe that is food blogger is a self-taught baker.” - PBS Food

“We love Eat the Love because Irvin's beautiful sweets look as good as they taste — his art director's eye appreciates the ruby sparkle of a pile of pomegranate seeds against the matte canvas of chocolate ganache.” - Saveur.com, Sites We Love

Popular Posts

Brookie Recipe (brownie and cookie) with potato chips, pretzels and double chocolate chips. Photo and recipe by Irvin Lin of Eat the Love.

Brookie Recipe with Salty Sweet Snack Treats

Perfect Soft Boiled Egg. Recipe and Photo by Irvin Lin of Eat the Love. www.eatthelove.com

Perfect Soft Boiled Egg

Korean Fried Chicken Recipe. Photo and recipe by Irvin Lin of Eat the Love. www.eatthelove.com

Korean Fried Chicken Recipe – insanely easy, super addictive

Personal Posts

Mexican Chocolate Corn Coffee Cake by Irvin Lin of Eat the Love.

Mexican Chocolate Corn Coffee Cake (and how AJ and I get engaged)

Grape and Blueberry Pie by Irvin Lin of Eat the Love.

Grape and Blueberry Pie

Crispy Oven Roasted Potatoes by Irvin Lin of Eat the Love.

Crispy Oven-Roasted Potatoes (and remembering a childhood friend)

Marbled, Swirled, and Layered.

My cookbook MARBLED, SWIRLED, and LAYERED

Recent Travel & Events

San Francisco Meals on Wheels Star Chefs and Vintners Gala 2019

Photo Essay: Meals on Wheels Gala 2019, part 2

Meals on Wheels Gala 2019

Photo Essay: Meals on Wheels Gala 2019, part 1

More Travel & Events

Wordless Recipes

EatTheLove Wordless Recipes #1 How to make your own ice cream "magic" chocolate hard shell

WORDLESS RECIPE #1: How to Make Your Own Ice Cream “Magic” Chocolate Hard Shell

Eat the Love presents: WORDLESS RECIPES #2 Halloween Edition - Haunted Honey Caramel Popcorn

WORDLESS RECIPE #2 Halloween Edition – Haunted Honey Caramel Popcorn

Molten-Lava-Chocolate-Cake-Wordless-Recipes-Valentines-Day-Eat-The-Love-Irvin-Lin-cover

WORDLESS RECIPES #3 Valentine’s Day Edition – Molten Chocolate Lava Cake

Bluth's Original Frozen Banana Copycat Wordless Recipe by Irvin Lin of Eat the Love. www.eatthelove.com

Wordless Recipe #4: Arrested Development’s Bluth’s Original Frozen Banana “Copycat” Recipe

Disclaimer

This blog currently has a partnership with Amazon.com in their affiliate program, which gives me a small percentage of sales if you buy a product through a link on my blog. I only recommend products (usually cookbooks, but sometimes ingredients or equipment) that I use and love, not for any compensation unless otherwise noted in the blog post. If you are uncomfortable with this, feel free to go directly to Amazon.com and search for the book or item of your choice.

Copyright © 2010–2026. Eat the Love. All rights reserved. | Privacy Policy

Rate This Recipe

Your vote:




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