This double layer chocolate cake is deeply moist, rich, and intensely chocolatey, thanks to a combination of cocoa powder, hot coffee, and buttermilk. The frosting is a surprising but brilliant twist: ripe avocado blended with cocoa and powdered sugar creates a silky, creamy chocolate ganache-like topping that is far less sweet than buttercream and much easier to spread. It’s a showstopper for birthdays or any celebration, and no one will guess the secret ingredient.
Ingredients
- For the cake:
- 1 ¾ cups (220g) all-purpose flour
- ¾ cup (65g) unsweetened cocoa powder (natural or Dutch-processed)
- 1 ½ teaspoons baking powder
- 1 ½ teaspoons baking soda
- 1 teaspoon salt
- 2 cups (400g) granulated sugar
- 2 large eggs, at room temperature
- 1 cup (240ml) buttermilk, at room temperature
- ½ cup (120ml) vegetable oil
- 2 teaspoons vanilla extract
- 1 cup (240ml) hot coffee (or hot water)
- For the avocado chocolate frosting:
- 2 ripe avocados (about 200g flesh)
- ½ cup (40g) unsweetened cocoa powder
- 2 cups (240g) powdered sugar, sifted
- 1 teaspoon vanilla extract
- ⅛ teaspoon salt
- 2–3 tablespoons milk or heavy cream, as needed
Instructions
- Preheat and prep: Preheat your oven to 350°F (175°C). Grease and flour two 9-inch round cake pans, or line the bottoms with parchment paper.
- Mix dry ingredients: In a large bowl, whisk together the flour, cocoa powder, baking powder, baking soda, and salt. Set aside.
- Combine wet ingredients: In another large bowl, beat the sugar and eggs together until light and slightly thickened, about 2 minutes. Add the buttermilk, oil, and vanilla, and mix until combined.
- Add dry to wet: Gradually add the dry ingredients to the wet mixture, mixing on low speed or by hand until just combined. The batter will be thick.
- Add hot coffee: Carefully pour in the hot coffee and stir until the batter is smooth and thin. It will look quite liquid—that’s correct.
- Bake: Divide the batter evenly between the prepared pans. Bake for 28–32 minutes, or until a toothpick inserted in the center comes out clean. Let the cakes cool in the pans for 10 minutes, then turn out onto a wire rack to cool completely.
- Make the frosting: While the cakes cool, scoop the avocado flesh into a food processor or blender. Add the cocoa powder, powdered sugar, vanilla, and salt. Blend until completely smooth, scraping down the sides as needed. If the frosting is too thick, add milk one tablespoon at a time until it reaches a spreadable consistency. If it’s too thin, add a little more powdered sugar.
- Assemble: Once the cakes are completely cool, place one layer on a serving plate. Spread about ¾ cup of frosting on top. Place the second layer on top, then frost the top and sides of the cake with the remaining frosting. Use an offset spatula for smooth results.
- Chill before serving: Refrigerate the assembled cake for at least 30 minutes before slicing to help the frosting set.
Tips
- Use ripe avocados: The avocados must be soft but not brown or stringy. Mash them well before blending; any lumps will be visible in the frosting.
- Don’t skip the hot coffee: The hot liquid helps bloom the cocoa powder, intensifying the chocolate flavor without making the cake taste like coffee. You can use hot water if you prefer.
- Cool cakes completely: Frosting a warm cake will cause the frosting to melt and slide. If you’re in a hurry, you can freeze the layers for 20 minutes before assembling.
- Adjust sweetness: The frosting is less sweet than traditional buttercream. If you prefer a sweeter frosting, add an extra ¼ cup of powdered sugar. If you like it more intense, add another tablespoon of cocoa.
Serving Suggestions
Serve this cake at room temperature for the best flavor and texture. It’s excellent with a glass of cold milk, a scoop of vanilla ice cream, or a dollop of lightly sweetened whipped cream. For a special touch, dust the top with a little extra cocoa powder or shaved dark chocolate before serving.
Variations
- Mocha cake: Replace the hot coffee with 1 cup of strong brewed espresso or add 1 tablespoon of instant espresso powder to the dry ingredients.
- Gluten-free: Substitute the all-purpose flour with a 1:1 gluten-free baking flour blend. The texture will be slightly more tender, but still delicious.
- Spice it up: Add 1 teaspoon of cinnamon and ¼ teaspoon of cayenne pepper to the dry ingredients for a Mexican chocolate twist.
- Nutty crunch: Fold ½ cup of toasted chopped walnuts or pecans into the batter before baking.
Storage and Reheating
Store the frosted cake in an airtight container in the refrigerator for up to 4 days. Because the frosting contains avocado, it must be kept cold. Bring the cake to room temperature for about 30 minutes before serving to soften the frosting and enhance the cake’s moistness. You can also freeze unfrosted cake layers, wrapped tightly in plastic wrap and foil, for up to 2 months. Thaw overnight in the refrigerator before frosting. The frosted cake itself is not ideal for freezing because the avocado frosting may become watery after thawing.
Frequently Asked Questions
Can I taste the avocado in the frosting?
No. The avocado adds creaminess and healthy fats, but its flavor is completely masked by the cocoa and powdered sugar. The frosting tastes like a rich, dark chocolate ganache.
Can I use this frosting on other cakes?
Yes, this frosting works well on any chocolate or vanilla cake, as well as on cupcakes. It’s also great as a filling for chocolate sandwich cookies.
Why is my frosting lumpy?
Lumps usually come from under-processed avocado or unsifted powdered sugar. Make sure your avocados are fully ripe and blend the frosting for at least 2 minutes, scraping down the bowl often. Sift the powdered sugar before adding it.
Can I make this cake without buttermilk?
Yes. Make a buttermilk substitute by adding 1 tablespoon of lemon juice or white vinegar to 1 cup of milk, then letting it sit for 5 minutes until it curdles. Use that in place of the buttermilk.
How do I know when the cake is done?
Insert a toothpick into the center of the cake; it should come out with only a few moist crumbs attached, not wet batter. The cake should also spring back when lightly pressed in the center.
Can I make this cake in advance?
Yes. You can bake the cake layers a day ahead and store them, wrapped, at room temperature or in the fridge. The frosting can also be made a day ahead and refrigerated in an airtight container; let it sit at room temperature for 30 minutes before spreading.