The Feast

Home cooking recipes for everyday dinners and easy entertaining

Mexican Chocolate Cake: Easy Step-by-Step Recipe

· 5 min read · Baking and Desserts

Mexican chocolate cake is a rich, moist chocolate cake spiced with cinnamon and a hint of cayenne or chili powder, inspired by the traditional Mexican hot chocolate made with cinnamon and sometimes a touch of heat. This guide walks you through making it from scratch, including the exact spice balance, baking times, and troubleshooting tips so you get a perfectly tender, deeply flavored cake every time.

What You'll Need

  • 1 ¾ cups (220g) all-purpose flour
  • ¾ cup (65g) unsweetened cocoa powder (natural or Dutch-process)
  • 1 ½ teaspoons baking powder
  • 1 ½ teaspoons baking soda
  • 1 teaspoon salt
  • 2 teaspoons ground cinnamon (or 1 disk Mexican chocolate, grated)
  • ½ teaspoon cayenne pepper (optional, for heat; reduce to ¼ teaspoon for mild)
  • 1 ¾ cups (350g) granulated sugar
  • 2 large eggs, at room temperature
  • 1 cup (240ml) whole milk, at room temperature
  • ½ cup (120ml) vegetable oil
  • 2 teaspoons vanilla extract
  • 1 cup (240ml) hot coffee or hot water
  • 9-inch (23cm) round cake pans (two) or a 9x13-inch baking pan
  • Parchment paper and non-stick spray
  • Optional frosting: whipped cream, chocolate ganache, or cinnamon cream cheese frosting

Step-by-Step

  1. Preheat and prep pans: Heat your oven to 350°F (175°C). Grease two 9-inch round cake pans with non-stick spray, line the bottoms with parchment paper rounds, then spray the parchment. Set aside.
  2. Whisk dry ingredients: In a large bowl, sift or whisk together the flour, cocoa powder, baking powder, baking soda, salt, cinnamon, and cayenne (if using). Make sure there are no lumps.
  3. Mix wet ingredients: In a separate bowl, whisk the sugar, eggs, milk, oil, and vanilla extract until smooth and well combined. The mixture should look uniform.
  4. Combine wet and dry: Pour the wet mixture into the dry ingredients. Whisk gently until just combined—do not overmix. A few small lumps are fine.
  5. Add hot liquid: Pour in the hot coffee (or hot water) and stir until the batter is thin and smooth. This step is crucial for a moist crumb. The batter will be very liquid.
  6. Divide and bake: Evenly divide the batter between the prepared pans (about 2 cups each). Bake for 30-35 minutes, or until a toothpick inserted into the center comes out with a few moist crumbs, not wet batter.
  7. Cool completely: Let the cakes cool in the pans on a wire rack for 10 minutes. Then run a knife around the edges, invert onto the rack, remove parchment, and let cool completely before frosting. If using a 9x13 pan, bake for 35-40 minutes.
  8. Frost and serve: Once completely cool, frost as desired. A simple dusting of powdered sugar or a dollop of whipped cream works beautifully. Slice and serve at room temperature.

Common Mistakes

  • Overmixing the batter: Once you add the dry ingredients, mix only until no streaks remain. Overmixing develops gluten, making the cake tough and dense.
  • Skipping the hot liquid: The hot coffee or water helps bloom the cocoa and dissolve the sugar, creating a smoother, more intense chocolate flavor. Don't use cold liquid.
  • Opening the oven door too early: The cake needs steady heat to rise. Wait until at least 25 minutes have passed before checking.
  • Using cold eggs or milk: Cold ingredients don't emulsify well, leading to a heavier cake. Let them sit at room temperature for 30 minutes.
  • Not testing for doneness properly: A toothpick inserted in the center should come out with a few moist crumbs, not completely clean. If it's clean, the cake may be overbaked.

Tips

  • Use Mexican chocolate for extra authenticity: Substitute 1 disk (about 3 oz) of Mexican chocolate (like Ibarra or Abuelita) for the cinnamon and part of the sugar. Grate it finely and add to the dry ingredients.
  • Adjust the heat: Start with ¼ teaspoon cayenne for a subtle warmth. Add up to ¾ teaspoon for a noticeable kick. You can also use ancho chili powder for a smokier flavor.
  • Make it ahead: The cake layers can be baked, cooled, and wrapped tightly in plastic wrap. Store at room temperature for up to 2 days, or freeze for up to 3 months.
  • For a dairy-free version: Use almond or oat milk instead of whole milk, and a neutral oil like canola. The texture will still be moist.
  • Sift your cocoa: Cocoa powder tends to clump. Sifting ensures an even distribution and a smoother batter.

Troubleshooting

  • Cake is dry: This usually means overbaking or too much flour. Check your oven temperature with an oven thermometer. Next time, reduce baking time by 2-3 minutes, and measure flour by spooning into the cup and leveling off.
  • Cake sinks in the middle: The oven may be too cool, or the batter was overmixed. Also, never open the oven door during the first 20 minutes. If the cake sinks after cooling, it may be underbaked—test with a toothpick again.
  • Cake is too dense: This can happen if the baking powder/soda are old (check expiration dates), or if the batter wasn't mixed enough to incorporate air. Also, ensure your eggs are at room temperature.
  • Spice is too strong: If you added too much cayenne, you can balance it by frosting with a sweet cream cheese frosting or whipped cream. The heat will mellow after a day.
  • Cake sticks to the pan: Always line the bottom with parchment. If it still sticks, run a knife around the edge before inverting, and let it cool for the full 10 minutes.

Frequently Asked Questions

Can I use Dutch-process cocoa instead of natural cocoa?

Yes, but note that Dutch-process cocoa is less acidic. If using it, you can reduce the baking soda to 1 teaspoon and add 1 teaspoon of baking powder. The texture will be slightly different, but still good.

What if I don't have coffee?

Use hot water instead. The coffee enhances the chocolate flavor, but water works perfectly fine. Just make sure it's hot.

Can I make this cake gluten-free?

Yes, substitute the all-purpose flour with a 1:1 gluten-free baking flour blend that contains xanthan gum. The texture will be slightly more crumbly, but it will hold together.

How long does this cake last?

Unfrosted, it stays fresh at room temperature for up to 3 days if wrapped tightly. Frosted, refrigerate and consume within 4-5 days. Let it come to room temperature before serving for best flavor.

Can I bake this as a sheet cake?

Absolutely. Pour the batter into a greased 9x13-inch pan and bake at 350°F for 35-40 minutes, or until a toothpick comes out clean. Cool completely before frosting.

Is this cake spicy?

With ½ teaspoon cayenne, it has a mild warmth that most people describe as a subtle tingle. If you're sensitive, use ¼ teaspoon or omit it entirely. The cinnamon is the dominant spice.

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