Zimt

Chocolate Mayo Cake with Peanut Butter Frosting Recipe

· 6 min read · Cakes

In this article
  1. Ingredients
  2. Instructions
  3. Tips
  4. Serving Suggestions
  5. Variations
  6. Storage and Reheating
  7. Frequently Asked Questions

This chocolate mayo cake is a surprisingly moist, rich dessert that uses mayonnaise to add fat and tenderness without any eggy flavor. The peanut butter frosting balances the cocoa depth with a salty‑sweet creaminess that makes each bite feel indulgent yet familiar. Follow the steps below for a reliable, bakery‑style result in your own kitchen.

Ingredients

Choosing the right ingredients is key to achieving the perfect texture and flavor balance. Use a good quality, full‑fat mayonnaise, unsweetened cocoa powder, and real peanut butter for the best taste; the fats in mayo act like oil, keeping the crumb soft while the cocoa gives a deep chocolate note.

  • 1 ½ cups (360 g) all‑purpose flour
  • ¾ cup (75 g) unsweetened cocoa powder
  • 1 ½ tsp baking soda
  • ½ tsp baking powder
  • ¼ tsp salt
  • 1 ¼ cups (250 g) granulated sugar
  • ½ cup (120 ml) mayonnaise (full‑fat)
  • ½ cup (120 ml) milk, room temperature
  • ¼ cup (60 ml) vegetable oil
  • 2 large eggs, at room temperature
  • 1 tsp vanilla extract
  • ½ cup (120 ml) boiling water
  • For the frosting:
  • ½ cup (115 g) creamy peanut butter
  • ¼ cup (56 g) unsalted butter, softened
  • 2 cups (250 g) confectioners’ sugar, sifted
  • 2‑3 tbsp heavy cream or milk
  • ¼ tsp salt

Measure dry ingredients with a spoon‑and‑level method to avoid a dense crumb, and bring refrigerated items to room temperature before mixing. This prevents the batter from curdling and ensures an even rise during baking.

Instructions

Begin by preheating your oven and preparing the pan; a 9‑inch round cake pan works well, but you can also use a 9×13 in sheet pan for a flatter cake. Proper pan preparation—greasing and lightly flouring or using parchment—helps the cake release cleanly, preserving the decorative frosting surface.

  1. Preheat the oven to 350°F (175°C). Place a rack in the middle of the oven.
  2. In a large bowl whisk together flour, cocoa powder, baking soda, baking powder, and salt. Set aside.
  3. In another bowl combine sugar, mayonnaise, oil, and eggs. Beat on medium speed until the mixture is light‑yellow and slightly fluffy, about 2 minutes.
  4. Add vanilla extract and milk to the wet mixture; beat just until incorporated.
  5. Gradually add the dry ingredients to the wet mixture, stirring on low speed. Stop mixing as soon as the flour disappears to avoid over‑development of gluten.
  6. Carefully pour the boiling water into the batter. The batter will be thin; this is normal and creates a tender crumb.
  7. Pour the batter into the prepared pan, smoothing the top with a spatula.
  8. Bake for 30‑35 minutes, or until a toothpick inserted into the center comes out clean and the edges pull slightly from the pan. The internal temperature should read about 200°F (93°C).
  9. Allow the cake to cool in the pan for 10 minutes, then turn out onto a wire rack to cool completely before frosting.
  10. While the cake cools, make the frosting: beat the softened butter and peanut butter together until smooth.
  11. Add sifted confectioners’ sugar, salt, and 2 tbsp of cream; beat on low, then increase to medium until light and spreadable. If the frosting is too stiff, add the remaining tablespoon of cream.
  12. Spread the frosting evenly over the cooled cake, using an offset spatula for a smooth finish. Slice and serve.

Check the cake’s doneness by both the toothpick test and the internal temperature; under‑baked cake can become gummy after cooling, while over‑baked cake will be dry. Letting the cake rest completely before frosting prevents the frosting from melting into the crumb.

Tips

These practical hints can save you from common pitfalls and help you customize the cake to your taste.

  • Substitutions: Use light mayo for a slightly less rich cake, or substitute the mayo with an equal amount of sour cream for a tangier flavor.
  • Flavor boost: Add ½ tsp instant espresso powder to the dry mix; it intensifies chocolate without adding coffee flavor.
  • Frosting consistency: If the frosting becomes too soft in a warm kitchen, refrigerate it for 10 minutes before spreading.
  • Avoid raw‑egg risk: Ensure the cake reaches 200°F (93°C) inside; this temperature destroys any potential Salmonella from the eggs.

Remember that the batter is intentionally thin; resist the urge to add extra flour to “thicken” it, as this will produce a dense texture. Also, avoid opening the oven door during the first 20 minutes of baking, which can cause the cake to sink.

Serving Suggestions

Serve each slice warm or at room temperature, optionally dusted with a light sprinkling of cocoa powder or chopped peanuts for added crunch. Pair the cake with a glass of cold milk, a shot of espresso, or a scoop of vanilla ice cream for an elevated dessert experience.

If you prefer a more dramatic presentation, cut the cake into layers and spread a thin layer of frosting between them before frosting the exterior. This creates a surprise peanut‑butter center that looks as good as it tastes.

Variations

For a nut‑free version, replace the peanut butter frosting with a classic chocolate ganache or a cream cheese frosting flavored with vanilla. The cake base itself remains unchanged, so you can keep the same moist texture while catering to different dietary needs.

Another popular twist is to incorporate ½ cup of chopped toasted peanuts into the batter before baking, giving the crumb a subtle crunch. You can also swap half the cocoa for melted dark chocolate for an even richer chocolate flavor.

Storage and Reheating

Store the unfrosted cake layers in an airtight container at room temperature for up to 2 days, or freeze them wrapped tightly in plastic and foil for up to 2 months. Once frosted, keep the cake refrigerated; the peanut butter frosting is stable for 5‑7 days when covered loosely with plastic wrap.

To reheat a slice, place it on a microwave‑safe plate and warm on medium power for 15‑20 seconds, or warm the whole cake in a 300°F (150°C) oven for 10‑12 minutes, tented with foil to prevent the frosting from melting. Always bring refrigerated cake to room temperature before serving for optimal flavor.

Frequently Asked Questions

Can I use light mayonnaise instead of full‑fat?

Yes, light mayo will work, but the cake will be slightly less tender and the crumb a bit drier. If you choose light mayo, consider adding an extra tablespoon of oil to compensate for the reduced fat.

Is the batter safe to taste before baking?

No. The batter contains raw eggs and flour, both of which can harbor harmful bacteria. It should only be consumed after the cake reaches a safe internal temperature of at least 200°F (93°C).

How do I know if the cake is fully baked without a thermometer?

Besides the classic toothpick test, the edges should pull away from the pan slightly, and the top will look set and may form a thin crust. The center should feel springy to the touch, not wet.

Can I make this cake gluten‑free?

Replace the all‑purpose flour with a 1‑to‑1 gluten‑free flour blend that contains xanthan gum. The texture will be similar, though you may need to add a tablespoon of extra oil to maintain moisture.

Will the frosting stay soft at room temperature?

The peanut butter frosting stays spreadable for several hours at room temperature, especially in cooler climates. In hot environments, keep the cake refrigerated until just before serving to prevent the frosting from becoming oily.