Chocolate Mayonnaise Cake with Coffee Recipe
This chocolate mayonnaise cake with coffee is a moist, deeply flavorful layer cake that uses mayonnaise as the secret fat—replacing butter and eggs to create an incredibly tender crumb. The coffee doesn't make it taste like coffee; it simply deepens the chocolate flavor, making every bite rich and satisfying. It's an old-fashioned recipe that deserves a comeback, and it's easier than you think.
Ingredients
- 2 cups (240g) all-purpose flour
- 1 cup (200g) granulated sugar
- 3/4 cup (75g) unsweetened cocoa powder (natural or Dutch-processed)
- 1 1/2 teaspoons baking soda
- 1/2 teaspoon baking powder
- 1/2 teaspoon salt
- 1 cup (240ml) strong brewed coffee, cooled to room temperature
- 1 cup (240g) full-fat mayonnaise (not light or miracle whip)
- 1 teaspoon vanilla extract
- For the coffee chocolate frosting: 1/2 cup (115g) unsalted butter, softened
- 2 cups (240g) powdered sugar, sifted
- 1/4 cup (25g) cocoa powder
- 2 tablespoons strong brewed coffee, cooled
- 1 teaspoon vanilla extract
- Pinch of salt
Instructions
- Preheat your oven to 350°F (175°C). Grease and flour two 9-inch round cake pans, or line the bottoms with parchment paper.
- In a large mixing bowl, whisk together the flour, sugar, cocoa powder, baking soda, baking powder, and salt until well combined.
- In a separate bowl, whisk the cooled coffee, mayonnaise, and vanilla extract until smooth. The mixture will look a bit odd—that's fine.
- Pour the wet ingredients into the dry ingredients and stir with a spatula or whisk until just combined. Do not overmix; a few lumps are okay.
- Divide the batter evenly between the prepared pans. Bake for 25–30 minutes, or until a toothpick inserted into the center comes out clean or with a few moist crumbs.
- Let the cakes cool in the pans for 10 minutes, then turn them out onto a wire rack to cool completely. This is crucial—if they're even slightly warm, the frosting will melt.
- While the cakes cool, make the frosting. In a medium bowl, beat the softened butter until creamy. Add the powdered sugar, cocoa powder, coffee, vanilla, and salt. Beat on low speed until combined, then increase to medium-high and beat for 2–3 minutes until light and fluffy. If it's too thick, add a teaspoon of coffee or milk; if too thin, add a little more powdered sugar.
- Once the cakes are completely cool, place one layer on a serving plate. Spread about 1/3 of the frosting over the top. Place the second layer on top, and frost the top and sides with the remaining frosting.
- Slice and serve. The cake is even better the next day, as the flavors meld.
Tips
- Use full-fat mayonnaise: Light or fat-free mayo contains more water and less oil, which can make the cake gummy or dry. Stick with regular mayo for the best texture.
- Don't overmix: Overmixing develops gluten, which makes the cake tough. Mix until the flour is just moistened—a few streaks are fine.
- Cool completely before frosting: Warm cake will cause the frosting to slide off and melt. If you're in a hurry, pop the layers in the fridge for 20 minutes.
- Substitute buttermilk: If you don't have coffee, you can use room-temperature buttermilk or even water mixed with a teaspoon of instant espresso powder for a similar depth.
Serving Suggestions
Serve this cake at room temperature with a glass of cold milk or a hot cup of coffee. It's also lovely with a scoop of vanilla ice cream or a dollop of lightly sweetened whipped cream. For a festive touch, dust the top with a little extra cocoa powder or shaved chocolate.
Variations
- Mocha layer cake: Add 1 teaspoon of instant espresso powder to the dry ingredients for an even stronger coffee kick.
- Chocolate mayonnaise cupcakes: Pour the batter into lined muffin tins and bake for 18–22 minutes. This makes about 18 cupcakes.
- Add-ins: Fold in 1 cup of chocolate chips, chopped walnuts, or shredded coconut before baking for extra texture.
- Different frosting: Use a simple chocolate ganache (melted chocolate and cream) or a cream cheese frosting instead of the coffee buttercream.
Storage and Reheating
Store the frosted cake in an airtight container at room temperature for up to 3 days, or in the refrigerator for up to 5 days. Bring it to room temperature before serving for the best flavor and texture. You can also freeze unfrosted cake layers wrapped tightly in plastic wrap and foil for up to 3 months; thaw in the refrigerator overnight. To reheat individual slices, microwave for 10–15 seconds—just enough to warm the chocolate without melting the frosting.
Frequently Asked Questions
Can I taste the mayonnaise? No. The mayonnaise is completely neutral in flavor—it acts as a fat and moisture agent, similar to oil and eggs. The coffee and cocoa dominate the taste.
Why is there no egg in this recipe? Mayonnaise contains eggs and oil, so it replaces both. This makes the cake incredibly moist and tender without needing to add separate eggs.
Can I use instant coffee instead of brewed coffee? Yes. Dissolve 1–2 teaspoons of instant coffee granules in 1 cup of hot water, then let it cool. You can also use cold water and stir well.
Why did my cake sink in the middle? This can happen if the oven door is opened too early, or if the batter was overmixed. Also, check that your baking soda is fresh—it's the main leavener here.
Can I make this cake gluten-free? Yes, you can substitute a 1:1 gluten-free flour blend. The texture may be slightly denser, but it should still be delicious.
How do I know when the cake is done? Insert a toothpick into the center; it should come out clean or with a few moist crumbs. The edges will also pull away from the pan slightly.