This cake delivers intense chocolate flavor with a dense, fudgy crumb that stays moist for up to five days. The secret is hot coffee, which deepens the cocoa’s richness and improves texture without making the cake taste like coffee. It’s ideal for birthdays, potlucks, or anytime a serious chocolate craving hits.
Ingredients
- 2 cups (400 g) granulated sugar
- 1¾ cups (220 g) all-purpose flour
- ¾ cup (65 g) unsweetened cocoa powder (natural or Dutch-process)
- 1½ tsp baking powder
- 1½ tsp baking soda
- 1 tsp salt
- 2 large eggs, at room temperature
- 1 cup (240 ml) whole milk, at room temperature
- ½ cup (120 ml) vegetable oil or melted coconut oil
- 2 tsp pure vanilla extract
- 1 cup (240 ml) hot brewed coffee (not espresso), just off the boil
Instructions
- Preheat oven to 350°F (175°C). Grease and flour two 9-inch (23 cm) round cake pans or line with parchment paper.
- In a large bowl, sift together sugar, flour, cocoa powder, baking powder, baking soda, and salt. Sifting prevents lumps and ensures even leavening.
- In a separate bowl, whisk eggs, milk, oil, and vanilla until smooth.
- Add wet ingredients to dry ingredients and mix with a hand mixer on medium speed for 2 minutes until well combined.
- Slowly pour in hot coffee while mixing on low speed. The batter will be thin—this is normal and ensures a tender crumb.
- Divide batter evenly between the prepared pans.
- Bake for 30–35 minutes, until a toothpick inserted in the center comes out with moist crumbs, not wet batter.
- Let cakes cool in pans for 10 minutes, then turn out onto wire racks to cool completely before frosting.
Why Hot Coffee Works
Coffee enhances the depth of chocolate without adding its own flavor at this quantity. The heat helps dissolve sugar and cocoa, and the liquid structure improves moisture retention. If avoiding caffeine, use hot water or decaf coffee—results are nearly identical.
Frosting: Classic Chocolate Fudge Buttercream
- 1 cup (230 g) unsalted butter, softened
- 3½ cups (440 g) powdered sugar, sifted
- ½ cup (45 g) unsweetened cocoa powder
- ¼ cup (60 ml) whole milk or heavy cream
- 1 tsp vanilla extract
- Pinch of salt
- Beat butter in a large bowl with a mixer on medium speed until creamy, about 2 minutes.
- Add sifted powdered sugar, cocoa powder, milk, vanilla, and salt. Start mixing on low, then increase to high speed for 3 minutes until fluffy.
- If frosting is too thick, add milk 1 tsp at a time. If too thin, add more powdered sugar 1 tbsp at a time.
- Frost cooled cake layers: spread on bottom layer, top with second layer, then frost top and sides.
Make-Ahead and Assembly Timeline
Cake layers can be baked up to 2 days ahead. Cool completely, wrap tightly in plastic wrap, and store at room temperature. Frosting can be made 1 day ahead; keep covered at room temperature if using within 24 hours, or refrigerate. If refrigerated, let it sit at room temperature for 30 minutes and rewhip before using. Assemble the cake the day it will be served for best texture.
Storage and Reheating
Store frosted cake covered at room temperature for up to 2 days. For longer storage, refrigerate for up to 5 days. Bring to room temperature for 1 hour before serving to soften the buttercream and restore moisture. Unfrosted cake layers freeze well: wrap in plastic and foil, freeze up to 3 months. Thaw overnight at room temperature before frosting.
Substitutions and Swaps
Use buttermilk instead of whole milk for a slightly tangy flavor and tighter crumb—add 1 tbsp lemon juice or vinegar to milk and let sit 5 minutes. Replace oil with applesauce for a lighter texture, but expect a denser result. For a dairy-free version, use almond milk and vegan butter in the frosting. Cocoa powder should not be substituted with chocolate, as it alters fat and moisture balance. If using gluten-free flour, choose a 1:1 baking blend with xanthan gum included—results vary by brand.
Serving and Pairing Ideas
This cake pairs well with vanilla ice cream or whipped cream for contrast. Serve slices with a glass of cold milk or a lightly sweetened iced coffee. At gatherings, it holds up well on dessert tables and travels without shifting if fully chilled first. Dust the top with cocoa powder or add chocolate shavings for a simple finish without extra sweetness.
Related
- Super Moist Chocolate Banana Bread Recipe
- Coconut Flour Fudge That Sets Firm
- Nut Free Fudge Recipe That Sets Firm
Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.
Spotted an error? Tell us and we will correct it (corrections policy).