Chocolate Mayonnaise Cake

Chocolate Mayonnaise Cake

Chocolate mayonnaise cake is a tender, deeply chocolatey sheet cake made without adding eggs or oil separately. Mayonnaise supplies both, while cocoa and a whisked-together batter keep the crumb soft and moist.

The cake bakes in a 9×13-inch pan and takes 10 minutes to prepare, then 30 to 35 minutes in the oven. Cool it right in the pan before frosting; it is an easy choice for birthdays, potlucks, and casual gatherings.

Use the espresso powder if you want a fuller chocolate flavor, or leave it out for a straightforward chocolate cake.

Why you’ll love it

Why This Chocolate Mayonnaise Cake Recipe Works

The method is simple, but the ingredient roles and order of mixing help the cake bake up evenly and stay tender.

  • Water keeps the batter workable. The lukewarm water thins the mayonnaise into a smooth base before the dry ingredients go in. That makes it easier to combine the flour and cocoa without overmixing.
  • Cocoa supplies the chocolate flavor. The cocoa gives the cake its rich color and chocolate taste. Whisk it thoroughly with the flour and sugar so there are no dry pockets or cocoa clumps.
  • Baking soda lifts the cake. It helps the batter rise into a soft, even crumb. Distributing it through the dry ingredients prevents concentrated pockets that can affect the flavor and texture.
  • Espresso powder deepens the cocoa. A small amount enhances the impression of chocolate without making the cake taste strongly of coffee. It is optional, so the cake works without it.
  • Cooling before frosting protects the finish. The cake sets as it cools in the pan. Frosting it while warm can make the frosting melt and slide rather than spread in an even layer.
Advertisement

What you need

Ingredients You’ll Need

This pantry-friendly cake uses a short list of ingredients. Measure the flour carefully and have the frosting ready for when the cake is completely cool.

  • Mayonnaise: One and one-half cups; regular mayonnaise provides the eggs and oil for a moist, tender crumb.
  • Water: One and one-half cups, lukewarm, to thin and smooth the mayonnaise before adding dry ingredients.
  • Vanilla extract: Two teaspoons add warmth and round out the chocolate flavor; use pure vanilla if available.
  • All-purpose flour: Three cups, or the same amount of gluten-free measure-for-measure flour. Spoon and level rather than packing the cup.
  • Granulated sugar: One and one-half cups sweeten the cake and contribute to its soft, moist texture.
  • Cocoa: Three-quarters cup of cocoa gives the cake its chocolate flavor; sift it to break up lumps.
  • Baking soda: Two and one-half teaspoons help the cake rise. Check that it is fresh for reliable lift.
  • Espresso powder: Two teaspoons, optional, bring out the cocoa’s depth without turning the cake into a coffee dessert.
  • Salt: One-half teaspoon of table salt balances the sweetness and sharpens the chocolate flavor.
  • For the frosting: One prepared batch of chocolate frosting; choose a frosting that spreads easily over a cooled sheet cake.
Advertisement

Tools

Equipment You’ll Need

  • 9×13-inch pan: The specified pan gives the batter room to bake into a single layer of even thickness.
  • Large mixing bowl: Use it to whisk the wet ingredients first, then mix in the sifted dry ingredients.
  • Whisk and sifter: A whisk smooths the mayonnaise mixture and combines the batter; a sifter breaks up cocoa and flour lumps.
  • Wire rack: Set the pan on the rack so air can circulate while the cake cools.
  • Toothpick or thin knife: Either gives a simple center test for doneness without disturbing the cake.

The method

How to Make Chocolate Mayonnaise Cake

1. Prepare the pan and oven

Heat the oven to 350°F with a rack in the center. Lightly grease a 9×13-inch pan.

Coat the bottom and corners of the pan so the cake releases cleanly when portions are served.

2. Whisk the wet ingredients

In a large bowl, whisk together the mayonnaise, water, and vanilla until the mayonnaise is fully blended and the mixture looks thin and smooth.

If you still see small mayonnaise streaks, keep whisking before adding the flour.

3. Sift and combine the dry ingredients

Sift in the flour, sugar, cocoa, baking soda, espresso powder if using, and salt. Whisk just until no dry pockets remain.

Scrape the bottom and sides of the bowl once; cocoa and flour can settle there.

4. Fill the pan

Transfer the thick batter to the prepared pan and spread it into an even layer, reaching the corners.

An even surface helps the cake bake at a similar rate from edge to center.

5. Bake the cake

Bake for 30 to 35 minutes. Check the center with a toothpick or thin knife; it should come out clean or with a few moist crumbs.

Begin checking at 30 minutes. A smear of wet batter means it needs more time.

6. Cool in the pan

Set the pan on a wire rack and leave the cake to cool completely in the pan.

The center and pan should no longer feel warm before you add frosting.

7. Frost and serve

Once fully cool, spread the prepared chocolate frosting over the cake. Cut into portions and serve from the pan.

Use a gentle, even pressure when spreading so the soft top stays intact.

Advertisement

Doneness

How to Tell When It’s Done

The center should look set rather than glossy, and the top should spring back lightly when touched. A toothpick or thin knife inserted in the middle should come out clean or with a few moist crumbs, not streaked with raw batter.

Start checking at 30 minutes, then continue baking as needed up to 35 minutes. If the tester shows wet batter, return the cake to the oven and check again; avoid waiting for the tester to come out completely dry, which can mean the cake is overbaked.

Let the cake cool fully in the pan before frosting. The edges may feel ready first, but the center needs time to finish setting and lose its warmth.

Advertisement

Tips & common mistakes

Tips and Common Mistakes

A few small choices make this one-bowl-style batter easier to mix and the finished cake more reliable.

  • Use lukewarm water. It helps the mayonnaise loosen into a smooth mixture. Very hot water is unnecessary; aim for water that feels mildly warm, not hot.
  • Whisk the mayonnaise until smooth. Unblended streaks can leave uneven patches in the batter. Take a moment to make the wet mixture uniform before adding the dry ingredients.
  • Sift the cocoa and flour. Cocoa tends to form small lumps, and sifting helps it mix evenly without prolonged whisking.
  • Stop mixing when combined. Once the dry ingredients disappear, spread the batter in the pan. Excess mixing can make a cake crumb less tender.
  • Spread the batter evenly. Leveling the surface and working into the corners helps prevent a high center and thinner edges.
  • Wait until the cake is cool. Warm cake can soften frosting and make it difficult to spread. If you are short on time, leave it uncovered on the rack until the pan and center are fully cool.
  • Measure flour without packing it. Too much flour can make the cake dense. Spoon flour into the measuring cup and level the top rather than scooping directly from the bag.
Advertisement

Make it your way

Substitutions and Variations

The cake accommodates a few practical swaps, though changing the flour or mayonnaise can affect texture.

  • Vegan mayonnaise: Use it in place of conventional mayonnaise without changing the other ingredients. Check that it is smooth and not a strongly flavored variety.
  • Gluten-free flour: A measure-for-measure gluten-free flour blend can replace the all-purpose flour in the stated amount. Choose a blend intended to substitute directly for wheat flour.
  • Omit the espresso: Leave out the espresso powder for a classic chocolate flavor. No other ingredient needs to change.
  • Cupcakes: Divide the batter between 2 standard muffin pans lined with baking cups, using about 1/4 cup or 59g per cup. Bake 20 to 23 minutes at 350°F.
  • Half batch: Halve every ingredient and bake the batter in an 8-inch square pan for 30 minutes. Check the center using the same clean-or-moist-crumb test.
  • S’mores finish: Top the cooled cake with Seven-Minute Frosting and crushed graham crackers. This changes the finish, not the cake batter.
Advertisement

Serving

What to Serve with Chocolate Mayonnaise Cake

Serve squares as they are, or add a scoop of vanilla ice cream or a spoonful of whipped cream. Fresh raspberries or sliced strawberries bring a tart contrast to the chocolate and frosting.

For a party, cut the cake into small squares and arrange them on a platter; the 9×13-inch pan makes it easy to serve directly from the kitchen.

Storage

Make-Ahead, Storage and Reheating

Make ahead: Bake the cake a day ahead and keep it covered at room temperature; frost it once fully cool or closer to serving. You can also prepare the frosting ahead according to its directions, then bring it to a spreadable consistency before use.

Storage: Keep leftover cake well covered at room temperature for several days, as noted in the recipe directions. If the frosting you choose requires refrigeration, follow its storage guidance.

Freezing: Freeze the cake for longer storage, wrapped well to protect it from drying out and absorbing freezer odors. Thaw it covered at room temperature; frosting after thawing can give the neatest finish.

Reheating: This cake is best served at room temperature, so let refrigerated or thawed portions sit out until no longer chilled. Avoid microwaving frosted pieces, which can melt the topping unevenly.

Advertisement

Questions

Chocolate Mayonnaise Cake FAQs

Does chocolate mayonnaise cake taste like mayonnaise?

No. The mayonnaise works as a source of fat and eggs, while the cocoa, sugar, and vanilla define the flavor. Use a plain, mild mayonnaise rather than a flavored spread.

Can I make this cake without espresso powder?

Yes. The espresso powder is optional and mainly strengthens the chocolate impression; leaving it out will not prevent the cake from baking.

Can I use a different frosting?

Yes. Any frosting you enjoy with chocolate cake will work once the cake has cooled completely. A lighter frosting such as Seven-Minute Frosting also pairs well with crushed graham crackers.

Why is my cake dense?

Too much flour, overmixing, or old baking soda can all contribute to a dense crumb. Measure the flour without packing it, mix only until the batter is combined, and check that the baking soda is fresh.

Can I bake this in a round cake pan?

The instructions specify a 9×13-inch pan, and a different pan changes the batter depth and baking time. For the tested smaller batch option, halve the ingredients and use an 8-inch square pan.

How do I cut clean squares?

Let the cake cool fully and allow the frosting to set slightly before cutting. Wipe the knife between cuts to keep the frosting from dragging across the next piece.

Advertisement

Recipe Card

Chocolate Mayonnaise Cake

Chocolate Mayonnaise Cake

A single-layer chocolate sheet cake made with mayonnaise in place of eggs and oil, baked in a 9x13-inch pan and finished with a chocolate frosting.
Prep Time 10 minutes
Cook Time 30 minutes
Total Time 40 minutes

Ingredients
  

Cake
  • 1 1/2 cups (340g) mayonnaise
  • 1 1/2 cups (340g) water lukewarm
  • 2 teaspoons King Arthur Pure Vanilla Extract
  • 3 cups (360g) King Arthur Unbleached All-Purpose Flour or King Arthur Gluten-Free Measure for Measure Flour
  • 1 1/2 cups (297g) granulated sugar
  • 3/4 cup (63g) King Arthur Triple Cocoa Blend
  • 2 1/2 teaspoons baking soda
  • 2 teaspoons espresso powder optional*
  • 1/2 teaspoon table salt
Frosting*
  • 1 batch Super-Simple Chocolate Frosting prepared

Method
 

  1. Heat the oven to 350°F with the rack in the center. Lightly grease a 9" x 13" pan.
  2. In a large bowl, whisk the mayonnaise, water, and vanilla until the mayonnaise dissolves and the mixture is thin and smooth.
  3. Sift in the flour, sugar, cocoa, baking soda, espresso powder, and salt and whisk until combined. Spread the thick batter evenly in the pan.
  4. Bake 30 to 35 minutes, until a toothpick or thin knife in the center comes out clean or with a few moist crumbs.
  5. Cool the cake in the pan on a wire rack.
  6. When fully cool, frost with your choice of frosting.

Notes

Use the espresso powder for enhanced chocolate flavor. Vegan mayonnaise can replace conventional mayonnaise with everything else unchanged. For cupcakes, divide the batter among 2 standard muffin pans lined with baking cups (about 1/4 cup or 59g each) and bake 20 to 23 minutes at 350°F. To halve the recipe, halve all ingredients and bake in an 8" square pan for 30 minutes. Frosting ideas: Seven-Minute Frosting with crushed graham crackers for an s'mores version, or toppings from the Chocolate Peanut Butter Poke Cake.
Storage: Store leftovers well covered at room temperature for several days, or freeze for longer storage.
Timing: Cook: 30 to 35 minutes; Yield: one 9" x 13" cake

Related Recipes