A chocolate cake is a dense, moist dessert with deep cocoa flavor, often served at birthdays, potlucks, or as a family dessert after dinner. This version uses common pantry ingredients and avoids specialty items like buttermilk or espresso powder. It bakes in two standard rounds and holds its shape well when sliced.
Serves 12 · Prep 25 min · Cook 35 min · Total 2 hr 15 min
Equipment That Matters
What pans to use
Use two 9-inch (23 cm) round cake pans. If only one is available, bake one layer at a time. Line the bottoms with parchment paper and grease the sides with butter or nonstick spray. A springform pan is not recommended for this batter—it is too thin and leaks easily.A stand mixer with a paddle attachment or a hand mixer with large bowls makes blending easier. Rubber spatulas are needed to scrape the bowl fully between additions.
Ingredients
- 2 cups (400 g) granulated sugar
- 1¾ cups (220 g) all-purpose flour
- ¾ cup (65 g) unsweetened cocoa powder (natural or Dutch-process)
- 2 tsp (10 g) baking powder
- 1½ tsp (7 g) baking soda
- 1 tsp (5 g) salt
- 2 large eggs, at room temperature
- 1 cup (240 ml) whole milk, at room temperature
- ½ cup (120 ml) neutral oil (canola, vegetable, or grapeseed)
- 2 tsp (10 ml) vanilla extract
- 1 cup (240 ml) boiling water
Instructions
- Preheat oven to 350°F (175°C). Grease and line two 9-inch (23 cm) round cake pans. Set aside.
- In a large bowl, sift together sugar, flour, cocoa powder, baking powder, baking soda, and salt. Whisk for 20 seconds to blend.
- Add eggs, milk, oil, and vanilla. Mix with a hand mixer on medium speed for 2 minutes until smooth. Scrape bowl as needed.
- Pour in boiling water last. Stir by hand with a spatula until fully combined. The batter will be thin—this is correct.
- Divide evenly between the two pans. Tap each pan once on the counter to release air bubbles.
- Bake for 30–35 minutes, until a toothpick inserted in the center comes out clean or with moist crumbs (not wet batter).
- Let cakes cool in pans for 10 minutes. Then run a knife around the edges and invert onto wire racks. Remove parchment and cool completely before frosting—about 1 hour.
Scaling for Different Batch Sizes
How to adjust for one or three layers
For a single layer, halve all ingredients and bake in one 9-inch (23 cm) pan for 28–32 minutes. For a three-layer cake, multiply all ingredients by 1.5 and divide among three 9-inch (23 cm) pans. Bake at 350°F (175°C) for 25–30 minutes.For a 9x13-inch (23x33 cm) sheet cake, use the full recipe in one pan. Bake at 350°F (175°C) for 35–40 minutes. Check center with a toothpick.
Storage
How long does chocolate cake keep?
Refrigerate within 2 hours of cooling. Wrap tightly in plastic wrap or store in an airtight container. A frosted cake keeps for 4 days refrigerated. Unfrosted layers, wrapped in plastic, keep 4 days at room temperature or 2 months frozen.Freeze unfrosted layers for up to 2 months. Thaw overnight in the refrigerator, then bring to room temperature before frosting. Do not freeze a fully frosted cake with buttercream—it separates. Ganache or fudge frosting holds better in the freezer.
Serving and Pairing
When to serve and what to serve with it
This cake suits birthday parties, holiday gatherings, or weeknight desserts. Pair with vanilla ice cream, whipped cream, or a berry compote. For adults, a glass of cold milk, coffee, or red wine like Zinfandel complements the cocoa bitterness.Slice with a thin, sharp knife dipped in hot water and wiped dry between cuts for clean edges.
Common Errors and Their Effects
Using cold eggs or milk
Cold dairy causes the batter to seize and may result in uneven texture or dense spots. Always use room-temperature liquids.Overmixing after adding flour
Once flour is added, overmixing develops gluten and leads to a tough, chewy crumb. Mix only until the dry ingredients are incorporated.Opening the oven too early
Do not open the oven door before 25 minutes. A sudden drop in temperature can cause the cake to collapse in the center.Flavor and Texture Notes
Why boiling water is used
The boiling water dissolves cocoa powder fully and enhances the chocolate flavor. It also thins the batter for a tender crumb. Do not substitute warm or room-temperature water—it will not have the same effect.Dutch-process cocoa gives a smoother, darker cake. Natural cocoa (like Hershey’s) is more acidic and works fine here due to the balance of baking soda and baking powder.
Ingredient Swaps
What to use if you’re missing something
For buttermilk: use 1 cup milk with 1 tbsp vinegar or lemon juice, let sit 5 minutes. Not needed here, but useful in other recipes.For oil: use melted butter in equal volume. The cake will be slightly richer and denser.
For whole milk: use 2% or half-and-half. Skim milk may dry out the cake. Non-dairy milk (soy, oat, almond) works if fat content is at least 2.5 g per 8 oz.
For eggs: commercial egg replacer (such as flax or chia) changes texture and is not recommended for this recipe. If needed, use ¼ cup unsweetened applesauce per egg—but expect a gummy texture.
Frosting Options
Which frostings pair best
Classic chocolate buttercream: beat 1 cup (230 g) softened butter with 3½ cups (420 g) powdered sugar, ½ cup (40 g) cocoa powder, ¼ cup (60 ml) milk, and 1 tsp vanilla. Adjust milk for spreadable consistency.Seven-minute frosting: a cooked meringue that sets firm. Good for a retro look but not heat-stable.
Ganache: heat 1 cup (240 ml) heavy cream and pour over 8 oz (225 g) chopped semisweet chocolate. Stir until smooth, then cool to thicken before spreading.