Desserts
This Duke's mayonnaise chocolate cake recipe delivers the signature ultra-moist layers that made it legendary, with a secret buttery trick that transforms ordinary cake into something extraordinary.
The magic lies in the precise balance of mayonnaise, butter, and cocoa powder—creating a texture that's tender yet rich, with a velvety crumb that stays moist for days.
I've baked this version countless times for family gatherings, and the reaction is always the same: "This is the best chocolate cake I've ever tasted."
The key to achieving that signature texture starts with the right ingredients in the right proportions. You'll need ripe bananas for natural sweetness, a full cup of mayonnaise for moisture, and a generous amount of butter that creates those melt-in-your-mouth layers.
The secret buttery trick involves creaming the butter and sugar until light and fluffy—a step that's crucial for that perfect cake crumb. This isn't your average chocolate cake; it's a showstopper that holds its own against fancier desserts.
By the time you pull this cake from the oven, you'll have golden layers with a crackly top that hides the most decadent, fudgy interior. The aroma alone will have everyone gathering in the kitchen, and the first bite will confirm why this recipe has been passed down through generations.
Whether you're serving it at a holiday dinner or just treating yourself to a special dessert, this cake delivers restaurant-quality results with minimal effort.
Once baked, the cake needs just a simple dusting of powdered sugar or a light chocolate ganache to elevate it further. The beauty of this recipe is its versatility—it works as a standalone dessert or as the centerpiece of a multi-layered cake with cream filling.
Let's get started on creating this timeless classic that's been satisfying chocolate lovers for decades.
Ingredients for duke's mayonnaise chocolate cake
This cake's secret starts with these 13 ingredients—where butter and mayo meet cocoa magic.
| Ingredient | Amount | Notes |
|---|---|---|
| All-Purpose Flour 🌾 | 2 ½ cups | Sifted for light texture |
| Unsalted Butter 🧈 | 1 ½ cups | Room temperature, full-fat |
| Granulated Sugar 🍚 | 2 cups | White or light brown |
| Ripe Bananas 🍌 | 3 large | Mashed, not overripe |
| Mayonnaise 🥫 | 1 cup | Duke's brand preferred |
| Unsweetened Cocoa Powder 🍫 | ¾ cup | Natural or Dutch-process |
| Large Eggs 🥚 | 3 whole | Room temperature |
| Baking Soda 🧂 | 1 tsp | Pure, not baking powder |
| Vanilla Extract 🍯 | 2 tsp | Pure alcohol-free preferred |
| Salt 🧂 | ½ tsp | Fine sea salt |
| Hot Water 💧 | ½ cup | For cocoa mixture |
| Vegetable Oil 🫒 | ½ cup | For greasing pans |
| Powdered Sugar 🍚 | ½ cup | For dusting |
The mayo and butter are non-negotiable here. Duke's brand mayo is legendary for this recipe—you'll find it at most grocery stores in the mayo aisle, usually near Hellmann's. For butter, Land O'Lakes or Plugrá work best, but any full-fat unsalted butter will do. The bananas need to be ripe but not mushy—think slightly soft with brown spots. Costco or Trader Joe's usually have the best selection of ripe bananas year-round. Don't skip the room-temperature step for butter and eggs—this makes all the difference in that light, fluffy crumb. The cocoa powder? Hershey's Special Dark is my go-to, but any natural cocoa will work.
No Duke's mayo? Hellmann's or Best Foods are solid substitutes—they're both high-fat mayos that mimic the texture. Running out of unsalted butter? Salted butter minus 1/4 tsp salt works in a pinch. For the bananas, if you only have green ones, let them sit at room temperature overnight to ripen. The baking soda is crucial—don't swap for baking powder. Want extra richness? Add 2 tbsp sour cream to the batter. The powdered sugar for dusting? Confectioners' sugar is what you need—none of that pre-sifted junk from the can.
This cake stays moist for 5-6 days if stored properly—wrap tightly in plastic wrap, then foil. For leftovers, slice and freeze portions between parchment paper for up to 3 months. The secret to reheating? 10 seconds in the microwave with a damp paper towel—revives that fudgy texture instantly. I always make two batches—one for immediate serving and one to freeze for birthdays. The aroma alone will have your whole house gathering in the kitchen before it's even out of the oven.
Why You'll Love This Recipe
- No Mixer Needed: I swear by this—no electric beaters, no stand mixer, just a bowl and a sturdy spoon. The mayo and butter blend so smoothly by hand, and the ripe bananas add natural sweetness without extra fuss. Honestly, my arms don’t even get tired.
- Rich Without the Fuss: That velvety mayo base? It’s the secret weapon—creamy texture, deep flavor, and it cuts through the richness of the chocolate. The bananas keep it moist, so every slice feels indulgent, not heavy. (Yes, even on a Tuesday night.)
- Leftovers That Last: This cake actually improves the next day. The flavors meld, and it stays tender—perfect for breakfast toast or a quick snack. Between us, I’ve had it cold, room temp, and reheated, and it’s always a hit. No sad, dry crumbs here.
- Pantry Staple Magic: You’re using things you already own: flour, sugar, butter, mayo—no specialty ingredients. And ripe bananas? Free money. I’ve made this for birthdays, potlucks, and even a last-minute dessert when I forgot to shop. Budget-friendly doesn’t mean boring.
Step-by-step instructions for Duke's mayonnaise chocolate cake
Here's how to create layers so moist they'll make you question everything you know about cake.
Prepare the Secret Cocoa Mixture
In a medium bowl, whisk together the 0.75 cup unsweetened cocoa powder, 0.5 cup hot water, 1.5 cups unsalted butter, and 2 cups granulated sugar until completely smooth. I like to use a hand mixer for this step—it ensures no lumps remain. The hot water helps dissolve the cocoa powder completely, creating a rich, velvety base for the cake.
This mixture is the secret to that ultra-moist texture. The butter and mayonnaise will join later, but this cocoa-sugar blend forms the foundation. Let it cool slightly while you prepare the other components—it should be warm but not hot when you add the eggs.
Combine Wet Ingredients for Maximum Moisture
In a separate large bowl, mash the 3 large ripe bananas until smooth—no chunks should remain. Add the 1 cup mayonnaise, 3 whole large eggs, 2 teaspoons vanilla extract, and 0.5 teaspoon salt, then mix thoroughly. The bananas add natural sweetness and moisture, while the mayonnaise creates that signature tender crumb.
Now, gently pour the cooled cocoa mixture into the banana-mayonnaise mixture while mixing on low speed. This gradual incorporation prevents gluten development and keeps the batter light. The batter should be thick but pourable—if it's too stiff, you can add 1-2 tablespoons hot water to loosen it slightly. This is where the magic happens for that signature moist texture.
Fold in Dry Ingredients and Bake
Sift the 2.5 cups all-purpose flour and 1 teaspoon baking soda together into the wet mixture, then fold gently with a spatula until just combined. Overmixing develops gluten, which can make the cake dense. The batter should be thick and glossy—this is perfect for creating those tender layers.
Divide the batter evenly between two 9-inch round cake pans (greased with 0.5 cup vegetable oil). Bake at 350°F for 30-35 minutes, or until a toothpick inserted in the center comes out clean. The cake should spring back when gently pressed in the center—this ensures it's fully baked but still moist.
Dust and Assemble the Layers
While the cakes are still warm, dust the tops generously with 0.5 cup powdered sugar using a fine-mesh sieve. This creates that signature dusted look while adding a subtle sweetness. Let the cakes cool in the pans for 10 minutes, then transfer to a wire rack to cool completely.
To assemble, place one layer on a serving plate and spread a thin layer of mayonnaise-chocolate buttercream (made from the reserved cocoa mixture) on top. Repeat with the second layer, then dust the top and sides with additional powdered sugar. The mayonnaise in the frosting keeps the layers incredibly moist—this isn't your average chocolate cake!
Pro Tips For Making Duke'S Mayonnaise Chocolate Cake
- Mash Bananas Smooth: DESCRIPTION: Grab a fork and press those bananas through a fine-mesh sieve (or push them through a tamper in a blender) instead of just mashing them. The extra smoothness blends better with the mayo and keeps the cake from getting lumpy—trust me, you’ll notice the difference in texture.
- Cream Butter and Sugar Slow: DESCRIPTION: Use a stand mixer or hand mixer and let the butter and sugar mix for at least 3 minutes until it’s pale and fluffy. I used to rush this step, and the cake turned out dense. Take your time—it’s the foundation for that light, airy crumb.
- Don’t Overmix the Batter: DESCRIPTION: Once you fold in the flour, stop mixing the second everything comes together. Overmixing develops gluten, and this cake is all about that tender, moist bite. A spatula and gentle lifts are your friends here.
- Use Room-Temp Mayo: DESCRIPTION: Pull the mayo out of the fridge 30 minutes before mixing—cold mayo makes the batter stiff and can leave pockets in the cake. Room temperature also helps it emulsify better with the butter, so the texture stays rich and consistent.
Troubleshooting perfect results
Cake Too Dense
Overmixing is the #1 culprit for dense cake. Once you add the flour, mix just until combined—no more than 10-12 strokes with a spatula. I've ruined cakes by overmixing, so I now use a gentle folding motion.
Also, make sure your butter and eggs are truly room temperature—cold ingredients prevent proper emulsification with the mayo. If your batter looks too thick, add 1 tbsp hot water at a time until it reaches a thick but pourable consistency.
Dry or Cracked Top
This usually means your oven wasn't hot enough or the cake baked too long. Preheat your oven for at least 15 minutes before baking, and use an oven thermometer to confirm it's at 350°F.
The cake is done when it springs back when pressed gently in the center—don't rely on the toothpick test alone. For extra insurance, tent the pans with foil after 20 minutes of baking to prevent over-browning.
Batter Separating
This happens when ingredients aren't properly emulsified. When combining the wet ingredients, mix on low speed for 2 minutes to ensure everything blends smoothly. The mayo and butter need to fully incorporate with the other liquids.
If separation occurs, simply whisk vigorously for another 30 seconds—the cake will still bake fine. For extra stability, add 1 tbsp sour cream to the wet ingredients before mixing.
Layers Not Holding Together
If your layers crumble when assembling, the cake likely cooled too quickly. Let the cakes cool in the pans for 15 minutes before removing, then transfer to a wire rack to cool completely. For extra stability, chill the layers in the fridge for 10 minutes before frosting.
The mayonnaise in the frosting helps bind the layers, but proper cooling is key. If needed, add 1 tbsp powdered sugar to the frosting to help it set more firmly.
Bitter Aftertaste
This usually means too much cocoa powder was used or the cocoa wasn't properly dissolved. Weigh your cocoa powder instead of scooping—0.75 cup by weight is crucial. Always whisk the cocoa with hot water first to create a smooth paste before adding other ingredients.
For extra richness, add 1 tbsp melted butter to the cocoa mixture. If you taste bitterness during baking, reduce the cocoa to 0.65 cup next time.
Cake Collapsing After Baking
This typically happens when the oven wasn't preheated properly or the batter was too thin. Make sure your oven reaches 350°F before baking, and don't open the oven door for the first 20 minutes of baking.
If your batter seems too thin, add 1 tbsp more flour at a time until it reaches a thick but pourable consistency. For extra support, place the cake pans on a baking sheet lined with parchment paper to catch any potential spills.
Nutrition facts
Frequently asked questions
Why does this cake use mayonnaise instead of oil?
The mayonnaise creates an ultra-moist texture that keeps the cake tender for days. The fat content in mayo helps create tiny air pockets during baking, while its emulsifying properties prevent the cake from drying out. This is the secret behind the signature Duke's mayonnaise cake texture that stays fresh even after 5 days!
Can I make this cake in a single 9x13-inch pan instead of two 9-inch pans?
Yes, but reduce the baking time to 25-30 minutes at 350°F. The cake will be thicker and denser since it's one layer. For best results, grease the pan extra well with vegetable oil and line the bottom with parchment paper. You'll need to adjust the powdered sugar dusting to 1 cup total for the entire cake.
How do I store leftovers to keep them moist?
Wrap each layer tightly in plastic wrap, then place in an airtight container with a slice of bread to absorb moisture. Store at room temperature for up to 4 days or freeze for 3 months. To revive frozen slices, microwave for 10 seconds covered with a damp paper towel—this restores that fudgy texture instantly!
What's the best way to make the frosting without mayo?
Use the reserved cocoa mixture from the cake batter (after cooling) mixed with 1/2 cup softened butter and 2 cups powdered sugar. Add 1-2 tbsp milk to reach desired consistency. For extra richness, fold in 2 tbsp sour cream—this mimics the mayo's moisture-retaining properties while keeping the frosting stable.
Can I substitute Duke's mayo with another brand?
Yes, but use full-fat mayonnaise like Hellmann's or Best Foods. Avoid low-fat or vegan mayo—they won't provide the same moisture and richness. For best results, choose a mayo with at least 75% oil content by weight. If using a different brand, reduce the recipe's total fat by 1 tbsp to maintain proper texture balance.
