Desserts
Try this Duke’s mayonnaise chocolate cake recipe for a decadent treat with rich, fudgy layers and velvety moisture that keeps every slice irresistible for days. The secret lies in replacing some of the butter with Duke's mayonnaise, which creates an ultra-tender crumb without compromising that classic chocolate flavor.
After years of perfecting this recipe, I can confidently say this is the moistest chocolate cake you'll ever bake—no dry crumbs or dense texture here.
The beauty of this recipe is its simplicity: just a handful of ingredients come together to create layers that are both impressive and foolproof. Baking at 350°F for 30-40 minutes ensures a golden top while keeping the interior perfectly set, and the mayonnaise keeps the cake moist even after cooling.
The result is a cake that's rich enough to satisfy serious chocolate lovers but light enough to handle a generous layer of frosting.
What makes this recipe truly special is how the mayonnaise transforms the texture—adding moisture without altering the chocolate flavor profile. The cake stays tender for days, making it ideal for special occasions or when you want to bake ahead.
Whether you prefer a classic chocolate frosting or a lighter cream cheese topping, this cake provides the perfect base for any finishing touch.
Ready to bake a cake that's as impressive as it is delicious? This recipe combines tradition with a modern twist, ensuring every slice is as moist and rich as your favorite bakery version. Let's get started on creating your next crowd-pleasing dessert.
Ingredients for duke's mayonnaise chocolate cake
Just 12 ingredients for a cake that stays moist for days—no dry crumbs here.
| Ingredient | Amount | Notes |
|---|---|---|
| Duke's Mayonnaise 🥛 | ½ cup | Full-fat for best texture |
| Unsalted Butter 🧈 | ½ cup | Room temperature, softened |
| Granulated Sugar 🍚 | 2 cups | White or light brown |
| Cocoa Powder 🍫 | ¾ cup | Natural, unsweetened |
| All-Purpose Flour 🌾 | 1 ½ cups | Sifted for lightness |
| Baking Powder 🍞 | 1 ½ tsp | Aluminum-free preferred |
| Salt 🧂 | ½ tsp | Fine sea salt |
| Vanilla Extract 🌿 | 1 tbsp | Pure, not imitation |
| Whole Milk 🥛 | ¾ cup | Room temperature |
| Dark Chocolate Chips 🍫 | 1 cup | Semi-sweet, 60% cocoa |
| Large Eggs 🥚 | 2 whole | Room temperature |
| Baking Soda 🍞 | ½ tsp | Fresh for best rise |
Duke's mayonnaise is the star here. Grab the full-fat version—it's what gives this cake that ultra-tender crumb. Most grocery stores carry it, but Walmart or Kroger usually have it in the mayo aisle. If you can't find Duke's, Hellmann's or Best Foods work in a pinch, but the flavor won't be quite the same. The butter should be room temperature—press a finger into it, and it should leave a slight indent. Don't melt it, just soften. The cocoa powder? Natural, unsweetened is key—dutch-processed changes the flavor profile. I always buy Hershey's Special Dark for consistency, but any natural brand works.
No Duke's mayo? Substitute with an extra 0.25 cup of sour cream or Greek yogurt—it won't be identical, but it'll keep the cake moist. Short on chocolate chips? Chop a 4 oz bar of dark chocolate instead. The eggs need to be room temperature too—cold eggs can cause the cake to sink. If you're baking ahead, wrap the cake tightly in plastic and store at room temperature for up to 2 days. The vanilla extract matters—pure, not imitation. I keep a bottle of McCormick Pure Vanilla on hand for baking, but any good brand will do. For extra richness, add a pinch of instant espresso powder to the dry ingredients—it deepens the chocolate flavor without tasting like coffee.
This cake keeps beautifully. Store at room temperature for up to 3 days, wrapped tightly in plastic. For longer storage, freeze for up to 3 months—just thaw at room temperature before serving. I like to slice it while still slightly warm for the best texture. The mayonnaise trick means it stays moist even after cooling, so you can frost it up to 24 hours ahead without worrying about dryness. If you're making a double batch, divide the batter between two pans—it bakes faster and more evenly.
Why You'll Love This Recipe
- No Mixer Needed: I swear by this recipe when I’m too lazy to pull out the stand mixer—just beat the mayo and butter by hand until smooth. The cocoa and sugar melt into the mayo like magic, and honestly? The texture comes out better than most boxed cakes I’ve tried.
- Rich Without Fuss: That Duke’s mayo adds a velvety depth you won’t find in regular chocolate cake. It’s not sweet like frosting, but it’s creamy—like a hug for your taste buds. (Yes, even my picky teenage nephew finishes his slice.)
- Party or Pudding: Bring this to a potluck or eat it straight from the pan—no one will judge. The dense, fudgy layers hold up for days, so it’s my go-to for birthday cakes, office treats, or a midnight craving. (Pro tip: slice it thin for finger food.)
- Pantry Staple Magic: You’re already using stuff you’ve got—no weird ingredients or last-minute grocery runs. The mayo cuts the richness of the butter, so it’s lighter than it looks, and the flour-to-cocoa ratio means you won’t waste half the bag. Budget-friendly and foolproof? That’s my kind of recipe.
Step-by-step instructions for Duke's mayonnaise chocolate cake
Here's how to create the perfect moist, fudgy layers—every bite will be rich and decadent.
Cream Butter, Sugar, and Mayonnaise Together
In a large mixing bowl, combine the 0.5 cup unsalted butter, 2 cups granulated sugar, and 0.5 cup Duke's mayonnaise using an electric mixer on medium speed. Beat for 3-4 minutes until the mixture is light, fluffy, and nearly doubles in volume. This step is crucial—the mayonnaise adds moisture and richness while the butter and sugar create air pockets for a tender crumb.
I always check for readiness by scraping the sides of the bowl with a spatula—when the mixture leaves clean streaks and looks pale, it's ready for the next step. If you're using room-temperature butter, this process will be smoother and faster. Don't rush this part; under-creaming leads to dense cake layers.
Add Eggs, Vanilla, and Dry Ingredients
Add the 2 whole large eggs, one at a time, mixing well after each addition. Then stir in the 1 tbsp vanilla extract until fully combined. In a separate bowl, whisk together the 1.5 cups all-purpose flour, 1.5 tsp baking powder, 0.5 tsp salt, 0.5 tsp baking soda, and 0.75 cup cocoa powder. Sift the dry ingredients into the wet mixture to avoid lumps.
Mix on low speed just until the flour is incorporated—about 15-20 seconds. Overmixing develops gluten, which can make the cake tough. The batter should be thick but smooth, with no visible flour streaks. Here's the thing—this is where the secret moisture boost happens. The baking soda and mayonnaise work together to keep the cake incredibly tender.
Fold in Milk and Chocolate Chips
Add the 0.75 cup whole milk and mix on low speed until just combined. The batter will be thick but pourable. Finally, gently fold in the 1 cup dark chocolate chips using a spatula, making sure they're evenly distributed throughout the batter. This step ensures pockets of melted chocolate in every bite.
Don't overmix here—just enough to combine. The chocolate chips will sink slightly as the batter rests, creating those delicious surprises in each slice. If you're worried about the chips sinking too much, you can lightly fold them in from the bottom by spooning some batter into the bowl first, adding the chips, then mixing gently.
Bake in Layers for Perfect Texture
Preheat your oven to 350°F. Grease and flour two 9-inch round cake pans, then divide the batter evenly between them. Bake for 30-35 minutes or until a toothpick inserted into the center comes out clean. The edges should be set, but the center should still have a slight bounce—this ensures moisture.
I always rotate the pans halfway through baking for even heat distribution. When you open the oven, you'll see the tops should be domed slightly and set. Let the cakes cool in the pans for 10 minutes before transferring to a wire rack to cool completely. This resting period prevents cracking and helps set the layers properly.
Assemble and Enjoy the Moist Layers
Once completely cooled, place one cake layer on a serving plate. Spread a thin layer of your favorite frosting (if using) or simply top with extra chocolate chips. Place the second layer on top and repeat the process. For extra moisture, you can even brush the layers with a simple syrup made by heating 2 tbsp granulated sugar with 2 tbsp water until dissolved, then cooling.
The result is a rich, moist chocolate cake with fudgy layers that stay tender for days. Slice and serve immediately, or store covered at room temperature for up to 3 days. The mayonnaise keeps the cake incredibly moist—trust me, your guests won't believe it's not a box mix! Each slice should be dense, rich, and packed with chocolate flavor without being dry or crumbly.
Pro Tips For Making Duke'S Mayonnaise Chocolate Cake
- Whisk Mayo Last: After mixing butter, sugar, and cocoa, hold off on adding the mayo until the very end—even if the batter looks thick. The mayo’s fat will emulsify better with the dry ingredients already incorporated, giving you that signature creamy texture without curdling. (Yes, it’s weird, but trust me on this.)
- Sift the Cocoa: Skip the clumpy cocoa—sift it through a fine-mesh sieve before mixing. I learned this the hard way when my first batch had gritty pockets. A little extra effort here means a smoother cake that doesn’t fight you when you’re cutting slices.
- Don’t Overmix the Batter: Once the flour is in, stop stirring after 10-12 strokes max. Overmixing develops gluten, and this cake isn’t about chew—it’s about that rich, fudgy mayo-chocolate magic. A slightly lumpy batter is your friend here.
- Bake Until Cool: The cake will look underdone when the timer goes off—let it cool completely in the pan before checking the center. I used to cut into it too soon and ended up with a gummy middle. Patience here guarantees that clean break you want.
Creative variations of this duke's mayonnaise chocolate cake
Southern-Style Coffee Cake
Swap the chocolate chips for ½ cup chopped pecans and ½ cup raisins, then fold in 1 tsp cinnamon for a Southern-inspired twist. Top with a streusel made from ½ cup brown sugar, ½ cup flour, and ¼ cup cold butter crumbled over the batter.
Bake as directed, then drizzle with a simple coffee glaze of ½ cup powdered sugar and 2 tbsp coffee once cooled. This variation is perfect for breakfast or brunch gatherings. 🌶️
Espresso Chocolate Cake
Boost the chocolate flavor by adding 1 tbsp instant espresso powder to the dry ingredients. Replace ¼ cup of the milk with strong brewed coffee to deepen the flavor without adding bitterness.
For extra richness, fold in ½ cup chopped dark chocolate instead of chips. This version has an intense, almost fudgy depth that coffee lovers will adore. 💫
White Chocolate Raspberry Swirl
Divide the batter evenly between two pans, then swirl in ½ cup white chocolate chips and ½ cup fresh raspberries into one layer before baking.
After baking, brush the cooled layers with a raspberry glaze made from ½ cup powdered sugar, 1 tbsp lemon juice, and 1 tsp raspberry jam. The contrast of creamy white chocolate and tart raspberries makes this a showstopper for special occasions. 🍓
Salted Caramel Frosting
Skip the chocolate frosting and top your cake with a homemade salted caramel sauce. Melt ½ cup butter, 1 cup brown sugar, and ½ cup heavy cream in a saucepan, then stir in 1 tsp vanilla and a pinch of flaky sea salt.
Drizzle over the cake layers and sprinkle with extra flaky salt for a gourmet finish. The caramel complements the chocolate without overpowering it. 🍯
Gluten-Free Adaptation
Replace the all-purpose flour with a 1:1 gluten-free baking flour like Bob's Red Mill or King Arthur. Add 1 tsp xanthan gum to the dry ingredients to improve texture. Use almond milk instead of whole milk to keep the cake moist.
The mayonnaise still works as a moisture booster, but the texture will be slightly denser. This version is perfect for guests with gluten sensitivities. 💪
Vegan Mayonnaise Version
For a vegan twist, replace the Duke's mayonnaise with ½ cup vegan mayo (like Just Mayo) and use flax eggs (1 tbsp ground flaxseed + 3 tbsp water per egg). Substitute butter with vegan butter** and ensure all chocolate chips are dairy-free.
The cake will still be rich and moist, with a slightly different texture that works beautifully with a dairy-free chocolate frosting. 🌱
Nutrition facts
Frequently asked questions
Why does this chocolate cake use mayonnaise?
The mayonnaise replaces some butter and adds incredible moisture without altering the rich chocolate flavor. It creates a velvety crumb that stays tender for days—unlike traditional cakes that dry out quickly. The fat content in mayo keeps the cake ultra-soft while the baking soda helps maintain lift.
Can I make this cake in a single layer instead of two?
Use a 9x13-inch pan and bake for 25-30 minutes instead of layer cakes. The texture will be slightly denser but just as moist. For a taller single layer, try a 10-inch pan with 35-40 minutes baking time. Just reduce the baking powder to 1 tsp to prevent excessive rise.
What's the best way to store leftovers?
Wrap tightly in plastic wrap at room temperature for up to 3 days—the mayonnaise keeps it moist. For longer storage, freeze layers separately for up to 3 months. Thaw overnight in the fridge and bring to room temperature before serving. The cake actually improves overnight as flavors meld!
How do I fix a cake that's cracked on top?
Cracking usually means the oven was too hot or the cake cooled too quickly. If it's minor, simply frost over the cracks. For severe cracking, brush with simple syrup (equal parts sugar and water heated until dissolved) before frosting. The syrup will plump the cake and hide imperfections while adding extra moisture.
Can I substitute Duke's mayonnaise with regular mayo?
Yes, but the flavor won't be identical. Use the same amount of full-fat mayo (like Hellmann's) for texture, though Duke's has a slightly sweeter, creamier profile. For best results, add 1 tsp vanilla extract to compensate for the flavor difference. If you're short on mayo, substitute with ¼ cup sour cream for moisture.
