Desserts
This Duke’s mayonnaise chocolate cake delivers ultra-moist layers and secret swirls that make every slice unforgettable. The key? Duke’s mayonnaise—its rich texture keeps the cake tender while adding subtle depth to the chocolate flavor.
I’ve perfected this recipe through years of baking, and it never fails to impress, even skeptics who prefer boxed mixes. The result is a cake that’s dangerously addictive, with a fudgy center and a perfectly balanced crumb.
The beauty of this recipe lies in its simplicity—just a handful of ingredients, 30 minutes of active prep, and 45 minutes in the oven. The mayonnaise doesn’t just add moisture; it creates a velvety finish that makes every bite irresistible.
I’ve tested countless variations, and this method guarantees a cake that’s foolproof, whether you’re a seasoned baker or just starting out. The secret swirls add visual appeal while keeping the texture rich and uniform.
What you’ll end up with is a golden-brown, ultra-moist cake with layers that melt in your mouth. The chocolate flavor is deep and satisfying, while the mayonnaise adds a subtle richness that elevates it beyond your typical boxed mix.
Top it with whipped cream, chocolate shavings, or a dusting of powdered sugar for the perfect finishing touch. This cake is the kind that disappears faster than you can say "second slice."
Perfect for birthdays, holidays, or whenever you crave a decadent dessert without the fuss. The recipe scales easily, so you can adjust the size of the pan to fit your needs. Let’s get baking—this cake is worth every calorie.
Ingredients for duke's mayonnaise chocolate cake
The secret to ultra-moist layers starts with Duke's mayonnaise and just 13 simple ingredients.
| Ingredient | Amount | Notes |
|---|---|---|
| Duke's Mayonnaise 🍳 | 1 cup | Unopened jar for best texture |
| Unsalted Butter 🧈 | 1 ½ cups | Room temperature for smooth mixing |
| Granulated Sugar 🍚 | 2 cups | White or light brown |
| Dark Chocolate Chips 🍫 | 2 cups | Semi-sweet, 60% cocoa |
| All-Purpose Flour 🌾 | 2 ½ cups | Sifted for light texture |
| Baking Powder 🧂 | 2 tsp | Aluminum-free preferred |
| Salt 🧂 | ½ tsp | Fine sea salt |
| Vanilla Extract 🌿 | 2 tsp | Pure, high-quality |
| Whole Milk 🥛 | 1 cup | Room temperature |
| Large Eggs 🥚 | 3 whole | Room temperature |
| White Chocolate Chips 🍫 | 1 cup | For secret swirls |
| Powdered Sugar 🍚 | 1 cup | For dusting |
| Chocolate Shavings 🍫 | ½ cup | Dark or white, optional |
Duke's mayonnaise is non-negotiable here—its thick, creamy texture is what creates those melt-in-your-mouth layers. Grab the largest jar available (usually 30 oz) from any major grocery store, but check the expiration date—it should be fresh for best results. The butter needs to be room temperature; if it's too cold, the cake will turn out dense. For chocolate chips, Ghirardelli or Guittard brands are my go-to—they melt smoothly without clumping. The white chocolate chips for the swirls should be high-quality too; Hershey's White Chips work in a pinch but lack depth. Pre-sift your flour and baking powder to avoid lumps, and use a kitchen scale if you're feeling fancy for precise measurements.
No Duke's mayonnaise? Hellmann's or Best Foods work as substitutes, but the texture won't be identical. Short on dark chocolate chips? Chop a 70% dark chocolate bar instead—just make sure it's finely chopped for even distribution. The baking powder should be fresh; if it's over a year old, it loses its lift. For the swirls, you can use chocolate ganache or melted milk chocolate bars if you're feeling adventurous. The milk should be whole milk for richness, but 2% works if that's all you have. Eggs should be large; medium eggs will make the cake slightly denser. And if you're watching calories, you can reduce the butter by 2 tablespoons and add an extra tablespoon of mayonnaise—it keeps the moisture without adding as much fat.
This cake keeps beautifully for 4-5 days in an airtight container at room temperature, though I find it's best enjoyed within the first 2 days. If you're making it ahead, wrap tightly in plastic wrap and store in the fridge—bring it to room temperature before serving. The leftovers reheat well in the microwave for 10-15 seconds to restore that fresh-baked texture. For serving, dust with powdered sugar right before slicing to keep it looking pretty. The chocolate shavings add a restaurant-quality touch—use a vegetable peeler on a chocolate bar for quick shavings. Freezing isn't recommended as the texture can get gummy, but you can freeze individual slices for up to 1 month if you must.
Why You'll Love This Recipe
- Pantry Magic: I swear, this cake comes together with stuff I already have—no fancy ingredients, just mayo, butter, sugar, and chocolate chips. The kind of recipe where you don’t even need to run to the store.
- Rich Without Effort: That Duke’s mayo adds a velvety depth you won’t find in regular cake—creamy, slightly tangy, and somehow makes the chocolate chips melt into pure bliss. Honestly, it’s the kind of flavor that makes you question why you ever baked anything else.
- Weeknight Hero: Slice it for breakfast, pack it for lunch, or serve it at a last-minute gathering—this cake holds up like a champ. Between us, I’ve had it cold, room temp, and even reheated, and it’s still dangerously good.
- Budget-Friendly Luxury: A single can of Duke’s mayo stretches to feed a crowd, and the rest of the ingredients? Basic. But somehow, it tastes like you spent hours and a fortune. My secret weapon for when I want to impress without breaking the bank.
Step-by-step instructions for Duke's mayonnaise chocolate cake recipe
Here's how to create that legendary ultra-moist texture and secret white chocolate swirls.
Prepare the Chocolate Batter Foundation
In a large mixing bowl, combine the 1 cup Duke's Mayonnaise with the 1.5 cups unsalted butter at room temperature. Using an electric mixer on medium speed, beat for 3-4 minutes until completely smooth and creamy. This step is crucial - the mayonnaise creates that signature moistness we're after, and the butter ensures rich flavor.
Gradually add the 2 cups granulated sugar while continuing to mix on medium speed. The mixture will lighten in color as it incorporates air, which helps create that tender crumb. Scrape down the sides of the bowl with a spatula to ensure all ingredients are fully incorporated. This is where the cake's signature texture begins to develop - don't rush this step or you'll end up with a dense cake.
Incorporate Wet Ingredients and Fold in Dry Components
Add the 3 whole large eggs, one at a time, mixing well after each addition. Then stir in the 2 teaspoons vanilla extract and 1 cup whole milk. Mix until just combined - you want to maintain some air in the batter, so avoid overmixing at this stage.
In a separate bowl, whisk together the 2.5 cups all-purpose flour, 2 teaspoons baking powder, and 0.5 teaspoon salt. Sift this mixture directly into the wet ingredients while mixing on low speed. The goal is to create a smooth batter with no flour streaks remaining. This is where the cake's structure begins to form - you'll notice the batter become thicker as the dry ingredients absorb the liquid.
Create the Secret Swirl Layer
In a small bowl, combine 1 cup white chocolate chips with 2 tablespoons of the batter to create a paste. This will be our secret swirl layer that creates those beautiful marbled patterns. Set aside - we'll use this in the next step.
Fold 2 cups dark chocolate chips into the remaining batter using a spatula. Be gentle to maintain the air you've incorporated. The chocolate chips will distribute unevenly - that's perfect for creating pockets of rich chocolate flavor throughout each slice.
Layer and Bake for Ultra-Moist Perfection
Preheat your oven to 350°F and grease two 9-inch round cake pans. Line the bottoms with parchment paper for easy removal. Pour half of the chocolate batter into one pan and half into the other. Using a spoon, gently swirl the white chocolate paste into the batter in each pan, creating marbled patterns. The white chocolate will melt slightly from the heat and create those beautiful swirls.
Bake for 25-30 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. Immediately after removing from the oven, wrap each cake in a clean kitchen towel and place them on a wire rack. This step is crucial for maintaining moisture - the towel helps the cakes cool evenly while trapping steam.
Dust and Serve for Maximum Moisture
Once completely cooled, dust the tops of both cakes generously with 1 cup powdered sugar using a fine-mesh sieve. This creates that signature dusty finish while also helping to preserve moisture. For presentation, you can add the 0.5 cup chocolate shavings around the edges or on top of each slice when serving.
Slice each cake into 6 equal wedges (for 12 servings total) and serve immediately. The cake will be moist for several days when stored properly in an airtight container, but it's best enjoyed within 24 hours for that perfect texture. Each bite should deliver that rich chocolate flavor with pockets of smooth white chocolate swirls throughout.
Pro Tips For Making Duke'S Mayonnaise Chocolate Cake
- CHOP CHOCOLATE SMALL: I learned this the hard way—big chunks of chocolate sink to the bottom like rocks and leave you with a cake that looks like it’s hiding its ingredients. Use a knife to hack those chips into uneven pieces (no need to be precise) so they melt evenly into the batter.
- WHISK MAYONNAISE FIRST: Duke’s mayo is thicker than store brands, and mixing it in last makes for a lumpy mess. Beat it into the wet ingredients first—it blends smoother and cuts through the butter better. (Yes, even if you’re impatient like me.)
- SKIP THE OVERMIXING: This batter wants to cling to the bowl like glue. Once the flour’s incorporated, stop stirring the second it’s just combined—overworking it turns the cake dense. A few lumps? Doesn’t matter. Texture matters more.
- BAKE UNTIL SPRINGY: The toothpick test fails here—this cake’s supposed to be moist, not dry. Press the center gently: it should bounce back slowly, not wobble like jelly. If it’s golden but still jiggly, tent it and let it set 10 minutes. (Your future self will thank you.)
Common mistakes when making this dish
Overmixing the Batter
One of the biggest mistakes is overmixing after adding the flour. Once you sift in the dry ingredients, mix just until combined—about 10-15 seconds on low speed. Overmixing develops gluten, which makes the cake tough instead of tender.
I’ve seen cakes go from ultra-moist to dense simply because someone kept mixing for too long. 💡
Skipping the Room-Temp Ingredients
Using cold butter or eggs is a recipe for disaster. Cold butter won’t blend smoothly with the mayonnaise, and cold eggs won’t emulsify properly, leading to a cake that’s dry or lumpy.
Let your butter sit out for 1-2 hours or microwave it for 10 seconds (cut into chunks first) to soften. Room-temperature eggs should be 68-70°F—test by gently shaking them; they should move slightly but not slosh around.
Incorrect Pan Preparation
Greasing your pans isn’t enough—you need to line them with parchment paper too. Without parchment, the cake can stick, especially if you’re using nonstick spray. I’ve had cakes tear when removing them because the bottom wasn’t properly lined.
Use parchment that’s cut to fit snugly, and grease the top edge of the pan to create a seal. This ensures clean slices and even baking.
Underbaking or Overbaking
The cake should bake until a toothpick comes out with moist crumbs, not completely clean. Overbaking dries out the mayonnaise’s moisture, while underbaking leaves it gummy. Aim for 25-30 minutes at 350°F, and check the center—it should bounce back slightly when pressed.
If your oven runs hot, reduce the temperature by 25°F and add 5 minutes to the bake time.
Ignoring the Towel Wrap
Wrapping hot cakes in a clean kitchen towel isn’t just for show—it traps steam, keeping the mayonnaise’s moisture locked in. Skipping this step means your cake will dry out faster.
Let the cakes cool completely wrapped, then unwrap before dusting with powdered sugar. I’ve seen cakes lose half their moisture just by cooling uncovered.
Substituting the Mayonnaise
Not all mayonnaise is created equal. Duke’s has a unique texture that’s thicker and creamier than most store brands. Substituting with regular mayo can make the cake too dense or dry.
If you must substitute, use Hellmann’s or Best Foods, but add 1 extra tablespoon of milk to compensate for the difference in fat content. The mayonnaise isn’t just an ingredient—it’s the secret to that signature melt-in-your-mouth texture. 🍫
Nutrition facts
Frequently asked questions
Why does Duke's mayonnaise make this cake so moist?
The secret lies in its thick, creamy texture—Duke's mayonnaise contains more fat and emulsifiers than regular mayo, which creates a tender crumb and locks in moisture. The fat coats the flour proteins, preventing them from absorbing too much liquid and keeping each slice ultra-soft. This is why substitutions like regular mayo often result in a denser cake.
Can I make this cake in a single 9-inch pan instead of two?
Yes, but expect a taller, denser cake with 30-35 minutes of bake time. Reduce the oven temperature to 325°F to prevent overbaking. The swirls will still form, but the texture may be slightly more compact. For best results, stick to two pans for even baking and proper moisture distribution.
How do I fix a cake that's cracked on top?
Cracking usually happens from overmixing or opening the oven too soon. If it's minor, dust with extra powdered sugar to camouflage. For deep cracks, slice the cake horizontally and frost with chocolate ganache to bind the layers. The moisture from the ganache will help restore that tender texture.
What's the best way to store leftovers?
Wrap each slice tightly in plastic wrap and store in an airtight container at room temperature for up to 3 days. For longer storage, freeze slices for 1 month—thaw at room temperature for 1 hour before serving. Reheat briefly in the microwave (10 seconds) to revive moisture. Never refrigerate whole cakes—they dry out faster.
Can I make this cake gluten-free?
Yes, but you'll need a 1:1 gluten-free flour blend (like Bob's Red Mill) and add 1 extra teaspoon of baking powder for lift. Replace the all-purpose flour and mix as directed. Expect a slightly denser texture, but the mayonnaise will still keep it moist. Test with a small batch first to adjust ratios.