Zimt

Why Adding Mayonnaise Makes a Cake Moist

· 6 min read · Cakes

In this article
  1. How Mayonnaise Changes the Cake Texture
  2. How to Substitute Mayonnaise in a Recipe
  3. What Happens if You Use Too Much Mayonnaise?
  4. Which Mayonnaise Works Best for Baking?
  5. How to Store and Keep Mayonnaise Cakes
  6. Mayonnaise Baking for Different Cake Types

Mayonnaise makes a cake moist because it is an emulsion of oil, eggs, and acid that provides fat and moisture in a stable form. For example, replacing some butter with mayonnaise in a chocolate cake results in a tighter crumb and a longer shelf life without changing the flavor.

How Mayonnaise Changes the Cake Texture

Mayonnaise acts as a combined replacement for several individual ingredients, primarily oil and eggs. Because mayonnaise is an emulsion, the fat is already broken down into tiny droplets and suspended in water. When mixed into a batter, these droplets distribute more evenly than melted butter or oil alone, which prevents the cake from feeling greasy while keeping the interior tender.

The eggs in mayonnaise provide structure and leavening, while the vinegar or lemon juice adds a touch of acidity. This acidity reacts with leavening agents like baking soda to create more carbon dioxide bubbles, leading to a lighter, more airy rise. The oil prevents the flour's proteins from forming long, tough gluten strands, which ensures the cake stays soft rather than becoming bread-like.

Since mayonnaise is a stable fat, it does not separate as easily during the baking process. This stability helps the cake retain moisture even after it has cooled. While butter provides a distinct flavor, oil-based fats like those in mayonnaise stay liquid at room temperature, which is why mayonnaise cakes often feel moister to the touch and taste than traditional butter cakes.

How to Substitute Mayonnaise in a Recipe

To use mayonnaise in a cake, replace the oil or butter on a 1:1 ratio by volume. If a recipe calls for 1/2 cup (110 g) of vegetable oil, use 1/2 cup (110 g) of full-fat mayonnaise. If the recipe uses butter, ensure the butter was meant to be melted; if the recipe calls for "creaming" softened butter and sugar, mayonnaise is not a direct substitute because it cannot hold air bubbles in the same way solid fat does.

Follow these steps to incorporate mayonnaise into your batter:

  1. Whisk your dry ingredients, such as flour, cocoa powder, and baking soda, in a separate bowl to ensure no clumps remain.
  2. Beat the mayonnaise with the sugar and any other liquid ingredients, like vanilla extract or milk, until the mixture is smooth and pale.
  3. Slowly fold the dry ingredients into the wet mixture, stirring only until the flour streaks disappear to avoid overworking the gluten.
  4. Bake the cake at 350°F (175°C) for 30-35 minutes, or until a toothpick inserted into the center comes out clean or with a few moist crumbs.

For a standard 9-inch (23 cm) round cake, using 1/2 cup (110 g) of mayonnaise typically provides enough fat to keep the cake moist for 3-5 days when stored at room temperature in an airtight container. If you are making a larger batch, such as a 9x13 inch (23x33 cm) sheet cake, you may need 3/4 cup to 1 cup (170 g to 220 g) of mayonnaise depending on the original fat requirement of the recipe.

What Happens if You Use Too Much Mayonnaise?

Adding too much mayonnaise can lead to a cake that is overly dense or has an oily residue on the surface. If the ratio of fat to flour is too high, the cake may collapse in the center during baking because the structure cannot support the weight of the oil. This results in a gummy texture that feels undercooked even if the internal temperature has reached the safe zone.

Another risk is the introduction of too much acidity. While a small amount of vinegar helps the cake rise, an excess can interfere with the flavor, leaving a slight tang that clashes with sweet frostings. It can also over-activate the baking soda, causing the cake to rise too quickly and then sink, creating a concave top.

To avoid these issues, stick to the 1:1 substitution rule for oil. If you are replacing butter, start by replacing only half of the butter with mayonnaise to maintain the structural integrity of the cake. If the batter looks separated or curdled before it goes into the oven, whisk it vigorously for 30 seconds to re-emulsify the fats.

Which Mayonnaise Works Best for Baking?

Use full-fat, commercial mayonnaise for the most consistent results. Light or low-fat versions contain thickeners, starches, and higher water content, which can change the chemistry of the cake and lead to a rubbery texture. The high oil content in full-fat mayonnaise is what creates the desired moist crumb.

Avoid using mayonnaise with added flavors, such as garlic, herb, or chipotle mayonnaise, as these will be noticeable in a sweet cake. Plain, creamy mayonnaise is the only type suitable for desserts. If you are using a homemade mayonnaise, ensure it is well-emulsified and smooth; any separation in the mayo can lead to pockets of oil in the finished cake.

A rule of thumb for selecting mayo is to check the ingredient list for oil as the first or second ingredient. If the first ingredient is water or a modified starch, the mayonnaise will not provide the same moisturizing effect as a traditional oil-based version.

How to Store and Keep Mayonnaise Cakes

Because of the high fat content, mayonnaise cakes stay moist longer than butter cakes, but they still require proper storage to prevent spoilage. Store the cake in an airtight container or under a cake dome at room temperature for up to 3 days. If the cake has a cream cheese frosting or fresh fruit filling, it must be refrigerated.

In the refrigerator, a mayonnaise cake will typically keep for 5-7 days. However, the cold temperature can cause the fats to firm up, making the cake feel drier than it actually is. To restore the moist texture, let a slice sit at room temperature for 20-30 minutes or warm it slightly in the microwave for 5-10 seconds before serving.

For long-term storage, wrap individual slices tightly in plastic wrap and then in aluminum foil before placing them in the freezer. Mayonnaise cakes freeze well for up to 3 months. Thaw a slice in the refrigerator overnight before bringing it to room temperature.

Mayonnaise Baking for Different Cake Types

Chocolate cakes benefit the most from mayonnaise because the strong cocoa flavor masks any potential tang from the vinegar. In a dark chocolate cake, the oil in the mayo enhances the richness of the chocolate and creates a velvety mouthfeel. For vanilla or white cakes, use a smaller amount of mayonnaise or substitute it with sour cream to avoid a yellowish tint or a slight savory undertone.

When baking carrot cakes or zucchini cakes, mayonnaise works well because these recipes already incorporate oil and often have a denser structure. The emulsion helps hold the moisture from the grated vegetables, preventing the cake from becoming soggy while ensuring the edges don't dry out during the longer bake times required for vegetable-heavy batters.

If you are making a sponge cake or a chiffon cake, do not use mayonnaise. These cakes rely on whipped egg whites for their structure, and the heavy fats in mayonnaise will deflate the air bubbles, resulting in a flat, dense disk rather than a light, fluffy cake.