Zimt

Homemade Chocolate Cake from Scratch – Simple, Moist Recipe

· 5 min read · Cakes

In this article
  1. Ingredients
  2. Instructions
  3. Tips
  4. Serving Suggestions
  5. Variations
  6. Storage and Reheating
  7. Frequently Asked Questions

This classic chocolate cake is made entirely from pantry staples, giving you a rich, tender crumb without any boxed mixes. The balance of cocoa, butter, and a touch of coffee deepens the chocolate flavor while the simple technique keeps the batter light and airy.

Ingredients

  • 1 ¾ cups (220 g) all‑purpose flour
  • ¾ cup (75 g) unsweetened cocoa powder, sifted
  • 2  teaspoons baking powder
  • ½  teaspoon baking soda
  • ¼  teaspoon salt
  • 2  cups (400 g) granulated sugar
  • ½  cup (115 g) unsalted butter, softened
  • 2  large eggs, room temperature
  • 1  cup (240 ml) whole milk, room temperature
  • ½  cup (120 ml) strong brewed coffee, cooled
  • 2  teaspoons pure vanilla extract
  • ¼  cup (60 ml) buttermilk, room temperature
  • Optional: ½  cup (90 g) chocolate chips for extra texture

Instructions

  1. Pre‑heat the oven to 350°F (175°C). Position the rack in the center and place a rack‑level oven thermometer inside to verify the temperature.
  2. Grease two 9‑inch round cake pans with butter, then line the bottoms with parchment circles. Lightly flour the sides, tapping out excess.
  3. In a large bowl whisk together the flour, sifted cocoa, baking powder, baking soda, and salt. This aerates the dry mix and prevents lumps.
  4. In a separate bowl, beat the softened butter with the granulated sugar on medium‑high speed for 3–4 minutes, until the mixture is pale, fluffy, and has a ribbon‑like consistency when the beaters are lifted.
  5. Add the eggs one at a time, beating well after each addition. Scrape the sides of the bowl to ensure even incorporation.
  6. Stir in the vanilla extract and the cooled coffee; the coffee adds depth without making the cake taste like coffee.
  7. Combine the dry ingredients with the wet mixture in three additions: ⅓ of the dry mix, then the milk‑buttermilk blend (milk mixed with buttermilk), then the remaining dry mix. Mix on low speed just until no streaks remain; over‑mixing develops gluten and makes the cake tough.
  8. If using chocolate chips, fold them in gently with a rubber spatula.
  9. Divide the batter evenly between the prepared pans, smoothing the tops with an offset spatula.
  10. Place the pans on the middle rack and bake for 30–35 minutes. The cake is done when a toothpick inserted into the center comes out clean or with a few moist crumbs, and an instant‑read thermometer registers 200°F (93°C) in the thickest part.
  11. Allow the cakes to cool in the pans for 10 minutes, then run a thin knife around the edges, invert onto a wire rack, and peel off the parchment. Cool completely before frosting.
  12. Frost with your favorite chocolate buttercream, ganache, or whipped cream. For a classic finish, spread a thin “crumb coat,” chill 15 minutes, then apply the final frosting layer.

Tips

  • Ingredient temperature matters: Butter, eggs, milk, and buttermilk should all be at room temperature. This prevents the batter from curdling and helps the leavening agents work evenly.
  • Substitutions: Use melted coconut oil instead of butter for a dairy‑free version, and replace the milk/buttermilk with almond milk plus 1  tablespoon lemon juice to mimic acidity.
  • Avoid over‑mixing: Once the flour is added, stop mixing as soon as the batter is just combined. A few small lumps are fine and will disappear during baking.
  • Prevent a dry crumb: If you live in a high‑altitude area (above 3,000 ft), increase the liquid by 2–4 tablespoons and reduce baking powder by ¼ teaspoon.

Serving Suggestions

Serve each slice with a dollop of lightly sweetened whipped cream and a dusting of cocoa powder for an elegant finish. Pair the cake with a glass of cold milk, a bold espresso, or a glass of ruby red wine for a sophisticated dessert spread. For a kid‑friendly option, add a drizzle of chocolate syrup and a few fresh berries.

Variations

Swap half of the all‑purpose flour for almond flour to introduce a nutty undertone and a slightly denser texture. For a festive twist, fold in ½  cup of dried cherries and a teaspoon of orange zest. If you prefer a frosting that cuts through the richness, use a light cream cheese frosting flavored with a hint of espresso.

Storage and Reheating

Store the unfrosted cake layers in an airtight container at room temperature for up to 2 days, or freeze them wrapped tightly in plastic and then foil for up to 2 months. Once frosted, keep the cake refrigerated (covered) for 4–5 days. To serve, let the cake sit at room temperature for 30 minutes, then warm individual slices in the microwave for 15–20 seconds or in a 300°F (150°C) oven for 8–10 minutes. The internal temperature should reach at least 140°F (60°C) before eating.

Frequently Asked Questions

How do I know if the cake is fully baked without a thermometer?

Besides the classic toothpick test, gently press the center of the cake; it should spring back slowly. The edges will pull away from the pan, and the top will be set and slightly cracked.

Can I use instant coffee instead of brewed coffee?

Yes. Dissolve 1 ½  teaspoons of instant espresso powder in ½  cup of hot water, then let it cool before adding to the batter. This provides the same depth of flavor without extra liquid.

Is it safe to eat the batter if I use pasteurized eggs?

Even with pasteurized eggs, raw flour can harbor harmful bacteria. It is best to avoid tasting raw batter and to cook any batter‑based desserts (like cookies) to at least 160°F (71°C) throughout.

Why does my cake sink in the middle?

A sinking center usually means the oven temperature dropped too low, the batter was under‑mixed, or the cake was opened too early. Use an oven thermometer, mix just until combined, and resist the urge to check before the minimum baking time has passed.

Can I make this cake gluten‑free?

Replace the all‑purpose flour with a 1‑to‑1 gluten‑free flour blend that contains xanthan gum. Keep the rest of the recipe unchanged, but add an extra ¼  teaspoon of baking powder to aid rise.