Where Did Mayonnaise Cake Originate?
In this article
Mayonnaise cake originated in the United States as a resourceful home-baking method to create a moist, white cake using pantry staples. Many people believe the mayonnaise adds a distinct mayonnaise flavor to the finished dessert, but the oil and eggs in the condiment actually act as emulsifiers to improve the cake's crumb and moisture.
Understand the Role of Mayonnaise in the Batter
Mayonnaise serves as a combined source of fat and protein in a cake recipe. Because mayonnaise is an emulsion of oil, egg yolks, and an acid like vinegar or lemon juice, it replaces the need for separate butter or oil and some of the eggs. The oil provides a tender texture that stays soft even when the cake is refrigerated, while the egg yolks contribute to the structure and richness of the crumb.
The acid in the mayonnaise reacts with the leavening agents, such as baking soda, to create a lift that results in a lighter, airier sponge. This chemical reaction helps the cake rise evenly and prevents the batter from becoming too dense. When the cake bakes, the vinegar scent disappears completely, leaving behind a neutral, buttery taste that pairs well with vanilla or citrus extracts.
Using mayonnaise is a practical choice for bakers who want a consistent result without the need to cream butter and sugar for several minutes. Since the emulsion is already stable, the batter mixes quickly and is less likely to separate. This makes it a reliable option for high-altitude baking or for those using basic mixing equipment.
Prepare the Ingredients for a Classic Mayonnaise Cake
A standard mayonnaise cake relies on a balance of flour, sugar, and the emulsified fat from the mayonnaise. To ensure the best texture, use room temperature ingredients so they incorporate smoothly without clumps. If the mayonnaise is too cold, it may not blend evenly with the sugar and flour, leading to small pockets of fat in the finished cake.
For the dry ingredients, sift the flour and baking powder together to remove lumps and aerate the mixture. This step is necessary because mayonnaise cakes have a very fine crumb, and any clumps of flour will be noticeable in the final slice. Use a neutral-flavored commercial mayonnaise rather than a homemade version to ensure the fat ratios are consistent with the recipe's requirements.
Since this recipe uses raw flour and raw eggs (via the mayonnaise), it is important to follow safety guidelines. Heat-treat the flour to 160°F (71°C) and let it cool before mixing, and use pasteurized eggs in any homemade mayonnaise to protect pregnant people, young children, older adults, and anyone with a weakened immune system. Raw batter should never be tasted before baking.
Serves 12 · Prep 15 min · Cook 35 min · Total 50 min
Ingredients
- 2 1/2 cups (310 g) all-purpose flour, heat-treated to 160°F (71°C)
- 1 1/2 cups (300 g) granulated sugar
- 1 tsp (5 g) baking soda
- 1/2 tsp (3 g) salt
- 1 cup (240 ml) mayonnaise (commercial, full-fat)
- 1 cup (240 ml) water or milk
- 1 tsp (5 ml) vanilla extract
- 1 tsp (5 ml) white vinegar
Instructions
- Preheat the oven to 350°F (175°C). Grease and flour two 8-inch (20 cm) round cake pans or one 9x13 inch (23x33 cm) rectangular pan.
- In a large mixing bowl, whisk together the heat-treated flour, sugar, baking soda, and salt until well combined.
- Add the mayonnaise, water or milk, vanilla extract, and vinegar to the dry ingredients.
- Beat the mixture on medium speed with a hand mixer or whisk by hand for about 2 minutes until the batter is smooth and no lumps remain.
- Divide the batter evenly between the prepared pans.
- Bake for 30-35 minutes for round pans, or 35-40 minutes for a rectangular pan. The cake is done when a toothpick inserted into the center comes out clean or with a few moist crumbs, and the internal temperature of the egg-based cake reaches 160°F (71°C) as per USDA FSIS safe minimums for egg dishes.
- Cool the cakes in the pans for 10 minutes before transferring them to a wire rack to cool completely before frosting.
Adjust the Texture and Flavor Profile
You can modify the base recipe to suit different preferences by swapping the liquid or adding flavorings. Replacing the water with whole milk or buttermilk adds a richer, creamier taste and a slightly tighter crumb. If you prefer a citrus-forward cake, substitute the vanilla extract with lemon or orange extract and replace the white vinegar with fresh lemon juice.
For those who find the cake too sweet, reduce the granulated sugar by 1/4 cup (50 g). This slight reduction does not significantly impact the structure of the cake but allows the subtle buttery notes of the mayonnaise to be more apparent. If the batter seems too thick, which can happen depending on the brand of mayonnaise used, add one tablespoon (15 ml) of milk at a time until the batter reaches a pourable consistency.
Adding a pinch of cinnamon or a teaspoon of almond extract can transform the cake into a more complex dessert. When adding extracts, always stir them into the liquid ingredients before combining them with the dry flour mixture to ensure they are distributed evenly throughout the cake.
Manage Storage and Food Safety
Because of the high fat content from the mayonnaise, this cake stays moist longer than a traditional sponge cake. However, once frosted with a cream cheese or buttercream frosting, it must be handled as a perishable item. Refrigerate the cake within 2 hours of baking or frosting to prevent spoilage.
Store the cake in an airtight container in the refrigerator for 3-4 days. If you prefer to freeze the cake, wrap the unfrosted layers tightly in plastic wrap and then aluminum foil. Frozen layers will keep for about 3 months. To thaw, leave the cake in the refrigerator overnight or let it sit at room temperature for 2-3 hours before frosting.
When reheating slices of cake, avoid using a microwave for long periods as this can make the fat in the mayonnaise separate, resulting in an oily texture. A quick 10-15 second warm-up is sufficient. Always ensure that any leftovers containing dairy or eggs are discarded if they have been left at room temperature for more than 2 hours, or 1 hour if the ambient temperature is above 90°F (32°C).
Fix Common Baking Issues
If the cake sinks in the middle, it is often due to opening the oven door too early or using expired baking soda. Avoid opening the oven until at least 75% of the baking time has passed to prevent the temperature from dropping and the cake from collapsing. To check the freshness of baking soda, place a small amount in vinegar; if it doesn't bubble vigorously, replace it with a new box.
An oily residue on the top of the cake usually means the mayonnaise was not fully emulsified into the batter. To prevent this, ensure all ingredients are at room temperature and beat the batter for the full 2 minutes. If the cake is too dense, you may have over-mixed the batter after adding the flour, which develops too much gluten. Mix only until the ingredients are combined.
If the cake tastes slightly sour, it is likely because the vinegar or lemon juice was not balanced by enough sugar or vanilla. You can mask this by using a sweeter frosting, such as a classic vanilla buttercream or a rich chocolate ganache. Ensure your measuring cups are leveled off with a knife for the flour and sugar to maintain the correct chemical balance.