This surprisingly clever dessert uses mayonnaise as a secret ingredient, replacing both eggs and oil to create an incredibly moist chocolate cake with a tender, even crumb. The mayonnaise seamlessly incorporates into the batter, leaving no trace of its flavor while ensuring rich texture.
Simply sift dry ingredients together, whisk the mayonnaise with sugars and vanilla, then combine everything with cold water. The method is straightforward: alternate adding dry ingredients and water, mixing just until combined to avoid developing gluten.
Bake at 350°F for 30–35 minutes until a toothpick comes out clean. The result yields eight servings of deeply chocolatey perfection that stays fresh longer than traditional versions. Frost with classic chocolate buttercream or enjoy plain—the versatility makes it ideal for birthdays, potlucks, or everyday treats.
My grandmother refused to tell anyone her secret ingredient for decades. We all assumed it was some expensive European chocolate or perhaps buttermilk from a specific farm. The day she finally whispered "mayonnaise" over a slice of birthday cake, I nearly dropped my fork. The woman had been feeding us jarred salad dressing in dessert form since before I could walk, and we had raved about it every single time.
I made this for my skeptical husband who swore he hated mayonnaise in anything but potato salad. He took three bites, eyes closed, and declared it the best chocolate cake hed ever tasted. When I finally told him what made it so tender, he just said "make it again next weekend." That endorsement speaks louder than any recipe review I could write.
Ingredients
- 2 cups all-purpose flour: The backbone that holds everything together without making the cake heavy or dense
- 2/3 cup unsweetened cocoa powder: Use a good quality brand here because it makes up most of the chocolate flavor
- 1 1/2 teaspoons baking powder: Works with the baking soda to give the cake its rise
- 1 1/2 teaspoons baking soda: Essential for neutralizing the acidity in the cocoa and mayonnaise
- 1/2 teaspoon salt: A tiny amount that makes chocolate taste more chocolatey
- 1 cup mayonnaise: Regular full fat mayonnaise only, no light versions or the texture will suffer
- 1 cup granulated sugar: Provides sweetness and helps create a tender crumb
- 1 cup brown sugar, packed: Adds moisture and a subtle caramel depth that white sugar alone cannot achieve
- 1 tablespoon vanilla extract: Pure extract makes a noticeable difference in the final flavor
- 1 1/4 cups cold water: Cold is key here because it helps keep the batter from getting too warm while you mix
Instructions
- Preheat your oven:
- Get it to 350°F and grease two 8-inch round pans with butter and a dusting of flour
- Whisk the dry ingredients:
- Sift together flour, cocoa, baking powder, baking soda, and salt in a large bowl
- Make the mayonnaise base:
- In another bowl, mix the mayonnaise with both sugars and vanilla until completely smooth
- Combine everything gently:
- Add the dry ingredients and cold water alternately, starting and ending with the flour mixture, and stop mixing as soon as you no longer see dry streaks
- Bake until done:
- Divide batter between pans and bake for 30 to 35 minutes until a toothpick comes out clean
- Cool completely:
- Let the cakes rest in their pans for 10 minutes before turning them onto wire racks
This cake has become my go to for office birthdays and potlucks because it travels so well and never fails to impress. Last summer I brought one to a barbecue and watched three different people ask for the recipe. The look on their faces when I finally explained the secret ingredient was absolutely worth keeping the mystery to myself for so long.
Frosting Secrets
A classic chocolate buttercream lets the mayonnaise magic shine without competing flavors. I have found that a simple chocolate ganache also works beautifully and feels a bit more elegant for dinner parties.
Make It Your Own
Replace the cold water with strong brewed coffee if you want an even deeper chocolate flavor. The coffee does not make the cake taste like coffee, it just amplifies the cocoa notes beautifully.
Cupcake Version
This recipe translates perfectly to cupcakes, which I actually prefer for sharing at work or school functions. They bake faster and are easier to portion out without needing a knife and plates.
- Fill lined muffin tins two thirds full
- Bake for 20 to 22 minutes at the same temperature
- Check them early because cupcake times can vary by oven
This recipe has taught me that some of the best kitchen secrets come from the most unexpected places. Now I keep an extra jar of mayonnaise in the pantry just for cake days.
Recipe FAQs
- → Does the mayonnaise make the cake taste like mayonnaise?
-
No, the mayonnaise flavor completely disappears during baking. It simply contributes richness, moisture, and acts as a substitute for eggs and oil without any detectable taste. You'll only taste deep chocolate flavor.
- → Why use mayonnaise in chocolate cake?
-
Mayonnaise is essentially an emulsion of oil and eggs, which are the exact ingredients needed for cake baking. This combination creates exceptional moisture and a tender crumb structure while simplifying the ingredient list.
- → Can I use low-fat or light mayonnaise?
-
For best results, use regular full-fat mayonnaise. Low-fat versions contain less oil and more water, which can affect the cake's texture, moisture level, and overall structure. The fat content is crucial for tenderness.
- → How should I store this chocolate cake?
-
Keep the cake covered at room temperature for up to 3 days. The high moisture content from mayonnaise helps it stay fresh longer than typical cakes. For longer storage, refrigerate for up to a week or freeze unfrosted layers for up to 3 months.
- → Can I convert this to cupcakes?
-
Yes, simply distribute the batter among lined muffin tins and bake for 20–22 minutes at the same temperature. This yields approximately 18–24 cupcakes depending on size. Check for doneness with a toothpick.
- → What frosting works best with this cake?
-
Classic chocolate buttercream pairs beautifully, but cream cheese frosting, ganache, or even a simple dusting of powdered sugar all work well. The cake's robust chocolate flavor stands up to rich frostings without being overwhelmed.