This chocolate mayonnaise cake is a classic Depression-era trick that replaces eggs with mayonnaise, yielding an incredibly moist, tender crumb with a deep chocolate flavor. The mayonnaise—made from oil and eggs—acts as both fat and binder, so you get a rich, dense cake that never tastes of mayo. It’s the perfect solution when you’re out of eggs or need an egg-free dessert that doesn’t compromise on texture.
Ingredients
- 2 cups (240 g) all-purpose flour
- 1 cup (200 g) granulated sugar
- 1/2 cup (50 g) unsweetened cocoa powder (natural or Dutch-processed)
- 1 1/2 teaspoons baking soda
- 1/2 teaspoon baking powder
- 1/2 teaspoon salt
- 1 cup (240 ml) mayonnaise (full-fat, not low-fat or miracle whip)
- 1 cup (240 ml) water (room temperature)
- 1 teaspoon vanilla extract
Instructions
- Preheat your oven to 350°F (175°C). Grease and flour a 9-inch round cake pan (or two 8-inch rounds) or line with parchment paper.
- In a large mixing bowl, whisk together the flour, sugar, cocoa powder, baking soda, baking powder, and salt. Make sure there are no lumps; sift if needed.
- Add the mayonnaise, water, and vanilla extract to the dry ingredients. Using a hand mixer or a sturdy whisk, beat on medium speed until the batter is smooth and well combined. Scrape down the sides and bottom of the bowl. The batter will be thin—that’s normal.
- Pour the batter into the prepared pan(s). Tap the pan gently on the counter to release any air bubbles.
- Bake for 30–35 minutes for a 9-inch round, or 25–30 minutes for 8-inch rounds, or until a toothpick inserted into the center comes out clean or with a few moist crumbs. The top should spring back when lightly pressed.
- Let the cake cool in the pan for 10 minutes, then turn out onto a wire rack to cool completely before frosting or serving.
Tips
- Use full-fat mayo: Low-fat or fat-free mayonnaise contains more water and less oil, which can make the cake gummy or cause it to sink. Stick with regular mayonnaise for the best texture.
- Don’t overmix: Once the batter is smooth, stop mixing. Overworking the gluten can make the cake tough. A few small lumps are fine.
- Check for doneness early: Ovens vary, so start checking at the lower end of the time range. If the toothpick comes out with wet batter, bake for another 2–3 minutes and test again.
- Substitute buttermilk: If you don’t have water, you can use buttermilk or milk instead. Buttermilk adds a slight tang and extra tenderness, but the cake will be a bit more dense.
Serving Suggestions
This cake is delicious on its own, but it shines with a simple dusting of powdered sugar or a rich chocolate buttercream. For a classic pairing, serve with a dollop of whipped cream and fresh raspberries or strawberries. It also makes an excellent base for a layered cake with your favorite frosting—try cream cheese frosting for a tangy contrast.
Variations
- Add chocolate chips: Fold in 1/2 cup of semi-sweet chocolate chips before baking for extra pockets of melted chocolate.
- Spice it up: Add 1 teaspoon of cinnamon or a pinch of cayenne pepper to the dry ingredients for a Mexican chocolate twist.
- Make it a sheet cake: Pour the batter into a greased 9x13-inch pan and bake for 25–30 minutes. This is perfect for feeding a crowd.
- Use coffee instead of water: Replace the water with brewed coffee (cooled) to deepen the chocolate flavor without tasting like coffee.
Storage and Reheating
Store the unfrosted cake in an airtight container at room temperature for up to 3 days. If frosted, keep it in the refrigerator for up to 5 days—bring to room temperature before serving for best flavor. You can also freeze the unfrosted cake for up to 3 months: wrap tightly in plastic wrap and then foil. Thaw overnight in the refrigerator, then bring to room temperature before serving. To reheat individual slices, microwave for 10–15 seconds to warm through, or place in a 300°F (150°C) oven for 5–7 minutes.
Frequently Asked Questions
Can I use mayonnaise that contains eggs? I’m allergic.
Traditional mayonnaise contains eggs, so if you have an egg allergy, look for vegan mayonnaise (like Just Mayo or homemade aquafaba-based mayo). That will work as a direct substitute and still give you the same moist texture.
Why does my cake have a slightly tangy taste?
That’s the vinegar in the mayonnaise. It’s subtle and usually masked by the chocolate, but if you notice it, it’s normal. The vinegar reacts with the baking soda to help the cake rise, so don’t skip it.
Can I make this cake gluten-free?
Yes, you can substitute a 1:1 gluten-free all-purpose flour blend. The texture may be slightly more crumbly, but it will still be moist. Add 1/4 teaspoon xanthan gum if your blend doesn’t already include it.
Why is my cake dense or sunken in the middle?
This usually happens if the batter is overmixed or if you open the oven door too early during baking. Also, make sure your baking soda is fresh—if it’s old, it won’t provide enough lift.
Can I reduce the sugar?
You can reduce it to 3/4 cup, but the cake will be less tender and may brown faster. For a sugar-free version, use a granulated sweetener that measures like sugar, but note that the texture may change.
Do I need to refrigerate this cake?
If it’s unfrosted, no—store at room temperature. If frosted with a dairy-based frosting like buttercream, refrigerate to prevent spoilage. Let it come to room temperature before serving for the best taste.