The Feast

Home cooking recipes for everyday dinners and easy entertaining

Cocoa Cake Recipe: Step-by-Step Guide

· 5 min read · Baking and Desserts

This guide walks you through making a rich, moist cocoa cake from scratch. You'll mix dry and wet ingredients, bake, and cool the cake properly. No special equipment is needed beyond basic kitchen tools. The result is a deeply chocolatey cake perfect for birthdays, snacks, or dessert.

What You'll Need

  • 1 ½ cups (190g) all-purpose flour
  • ¾ cup (65g) unsweetened cocoa powder (natural or Dutch-processed)
  • 1 ½ teaspoons baking powder
  • ½ teaspoon baking soda
  • ½ teaspoon salt
  • 1 cup (200g) granulated sugar
  • ½ cup (120ml) vegetable oil (or melted butter)
  • 2 large eggs (room temperature)
  • 1 teaspoon vanilla extract
  • 1 cup (240ml) buttermilk (or 1 cup milk + 1 tablespoon lemon juice, left 5 minutes)
  • Optional: ½ cup hot coffee or hot water (enhances chocolate flavor)
  • 8-inch (20cm) round cake pan (or 9-inch square)
  • Parchment paper and cooking spray
  • Mixing bowls, whisk, spatula, cooling rack

Step-by-Step

  1. Preheat and prep the pan. Heat your oven to 350°F (175°C). Grease the cake pan with cooking spray, line the bottom with parchment paper, then spray the paper. This ensures the cake releases cleanly.
  2. Mix dry ingredients. In a large bowl, whisk together the flour, cocoa powder, baking powder, baking soda, salt, and sugar. Break up any lumps with the whisk.
  3. Combine wet ingredients. In a separate bowl, whisk the oil, eggs, vanilla, and buttermilk until smooth. If using hot coffee or water, have it ready but don't add it yet.
  4. Combine wet and dry. Pour the wet mixture into the dry ingredients. Stir with a spatula or whisk until just combined—no dry streaks remain. Do not overmix; a few small lumps are fine.
  5. Add hot liquid (optional). If using, pour in the hot coffee or water and stir gently until the batter becomes smooth and thin. This step deepens the cocoa flavor and makes the cake more tender.
  6. Pour and level. Pour the batter into the prepared pan. Tap the pan on the counter a few times to release air bubbles.
  7. Bake. Place in the center of the oven. Bake for 30–35 minutes, or until a toothpick inserted into the center comes out clean or with a few moist crumbs. The cake should pull away slightly from the edges.
  8. Cool in the pan. Let the cake cool in the pan on a wire rack for 10–15 minutes. This allows the structure to set before turning out.
  9. Turn out and cool completely. Run a knife around the edges, invert the pan onto a plate, peel off the parchment, then flip the cake right-side up onto the rack. Cool completely before frosting or serving—about 1 hour.

Common Mistakes

  • Overmixing the batter: Stirring too much develops gluten, making the cake dense and tough. Mix only until combined.
  • Using cold ingredients: Cold eggs and buttermilk don't emulsify well, leading to a lumpy batter. Bring them to room temperature first.
  • Opening the oven door too early: The cake can collapse if the oven temperature drops suddenly. Wait until at least 25 minutes have passed.
  • Skipping the parchment: Even if you grease the pan, the cake can stick. Parchment guarantees clean removal.
  • Baking in a dark pan without adjusting: Dark pans absorb more heat and can over-brown the crust. If using one, reduce the oven temperature by 25°F (15°C) or check for doneness 5 minutes early.

Tips

  • Measure flour correctly: Spoon flour into your measuring cup and level with a knife. Scooping directly can pack in too much flour, making the cake dry.
  • Use quality cocoa: Dutch-processed cocoa gives a milder, less acidic flavor; natural cocoa is more intense. Both work, but don't swap them if the recipe specifies one.
  • Add a pinch of espresso powder: A teaspoon of instant coffee or espresso powder (dissolved in the hot water) intensifies chocolate flavor without making it taste like coffee.
  • Test for doneness correctly: Insert the toothpick near the center but not all the way to the bottom—the center is the last to set. A few moist crumbs are okay; wet batter means more time.
  • Let it cool fully before frosting: If the cake is warm, frosting will melt and slide off. Patience pays off.

Troubleshooting

  • Cake is dry: You may have overbaked or used too much flour. Next time, check at 25 minutes and use the spoon-and-level method. If the cake is already dry, brush it with simple syrup (equal parts sugar and water heated until dissolved) before frosting.
  • Cake sinks in the middle: This often happens if the oven door was opened early or the leavener is old. Test baking powder by mixing 1 teaspoon with ½ cup hot water—it should bubble vigorously. If not, replace it.
  • Cake sticks to the pan: Run a knife around the edge, then place the pan on a damp, hot towel for a minute. The steam helps release it. Always use parchment next time.
  • Batter is too thick: If you skipped the hot liquid, the batter may be very thick. That's okay—it will still bake, but the texture may be denser. If you added the liquid and it's still thick, your flour may be overmeasured; add a tablespoon of milk.
  • Cracked top: A cracked top is usually due to too much leavener or a too-hot oven. It's cosmetic, not a failure. Trim the dome or cover with frosting.
  • Chocolate flavor is weak: Cocoa powder loses potency over time. If your cocoa is old, consider adding a bit more (up to 2 extra tablespoons) or use the hot coffee option.

Frequently Asked Questions

Can I use all-purpose flour instead of cake flour?

Yes, all-purpose flour works fine. The cake will be slightly denser but still tender. If you want a lighter crumb, replace 2 tablespoons of flour with cornstarch.

Can I make this cake without eggs?

You can substitute each egg with ¼ cup unsweetened applesauce or a flax egg (1 tablespoon ground flaxseed + 3 tablespoons water, left to thicken). The texture will be a bit more moist and less airy.

How should I store the cocoa cake?

Store unfrosted cake in an airtight container at room temperature for up to 3 days. Frosted cake can be refrigerated for up to 5 days, but bring to room temperature before serving for best flavor.

Can I freeze this cake?

Yes. Wrap the cooled, unfrosted cake tightly in plastic wrap, then foil. Freeze for up to 3 months. Thaw in the refrigerator overnight or at room temperature for a few hours.

Why is my cake bitter?

Bitter taste often comes from using too much baking soda or from old cocoa powder. Check that your baking soda is fresh and measure precisely. If using natural cocoa, ensure the recipe includes enough acid (buttermilk) to balance.

Can I double this recipe?

Yes, double all ingredients and bake in two 8-inch pans or one 9x13-inch pan. Adjust baking time: two 8-inch layers bake about 25–30 minutes; a 9x13-inch pan may need 35–40 minutes.

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions