Old-fashioned chocolate mayonnaise cake is a good reminder that a wonderful dessert doesn’t need fancy ingredients. Mayonnaise supplies the eggs and oil in this simple batter, giving the cake a soft, moist crumb without making it taste like mayonnaise.
It’s the kind of chocolate cake you might find in Grandma’s recipe box, finished with a simple cocoa frosting. Make it a day ahead if you can—the crumb stays moist, and the chocolate flavor tastes even better after an overnight rest.
Tips
- Use regular, full-fat mayonnaise, such as Hellmann’s, Best Foods, or Duke’s. Light mayonnaise and sandwich spread aren’t dependable substitutes here.
- Choose natural unsweetened cocoa powder, such as regular Hershey’s cocoa, rather than Dutch-process cocoa. This recipe is designed for natural cocoa and baking soda.
- Spoon the flour into your measuring cup and level it off. Stir the batter only until the dry streaks disappear so the cake stays tender.
- Let the cake cool completely before frosting. Start checking it at 30 minutes; a toothpick in the center should come out clean or with a few moist crumbs, not wet batter.
Storing
Cover and refrigerate the frosted cake within 2 hours of frosting or serving, and keep it refrigerated for up to 4 days. For a softer texture, let individual slices sit at room temperature for about 20 minutes before serving. Freeze tightly wrapped portions for up to 3 months and thaw in the refrigerator. No reheating is needed.

Old-Fashioned Chocolate Mayonnaise Cake
Want This Recipe Later?
Ingredients
- 2 cups all-purpose flour spooned into the measuring cup and leveled
- 1 cup granulated sugar
- 1/2 cup natural unsweetened cocoa powder for the cake; not Dutch-process
- 2 teaspoons baking soda
- 1/4 teaspoon salt
- 1 cup full-fat mayonnaise not light mayonnaise or sandwich spread
- 1 cup water room temperature
- 1 teaspoon vanilla extract for the cake
- 1/2 cup unsalted butter softened; for the frosting
- 2 cups powdered sugar for the frosting
- 1/3 cup natural unsweetened cocoa powder for the frosting
- 3–4 tablespoons milk for the frosting; add as needed
- 1 teaspoon vanilla extract for the frosting
Instructions
- Heat the oven to 350°F. Lightly grease a 9-by-13-inch baking pan.
- In a large bowl, whisk together the flour, granulated sugar, 1/2 cup cocoa, baking soda, and salt, breaking up any cocoa lumps.
- In another bowl, whisk the mayonnaise, water, and 1 teaspoon vanilla until smooth.
- Pour the mayonnaise mixture into the dry ingredients. Stir just until evenly combined, scraping the bottom and sides of the bowl. Do not overmix.
- Spread the batter evenly in the prepared pan. Bake for 30–35 minutes, until the center springs back lightly and a toothpick inserted into the center comes out clean or with a few moist crumbs.
- Set the pan on a wire rack and let the cake cool completely, about 1 hour.
- For the frosting, beat the softened butter until smooth. Sift together the powdered sugar and 1/3 cup cocoa, then gradually beat them into the butter with 3 tablespoons milk and the remaining 1 teaspoon vanilla. Beat until smooth and spreadable, adding the remaining tablespoon of milk a little at a time if needed.
- Spread the frosting over the completely cooled cake. Cut into 12 pieces to serve, or cover and refrigerate for the next day.
Notes
Made this recipe? Tap a star to rate it.

