This amazing homemade chocolate cake is rich, moist, and made from scratch. It’s a classic recipe perfect for birthdays, gatherings, or any chocolate craving.
1¾ cups all-purpose flour
¾ cup unsweetened cocoa powder
2 cups granulated sugar
1½ tsp baking soda
1½ tsp baking powder
1 tsp salt
2 large eggs (room temperature)
1 cup buttermilk
½ cup vegetable oil
2 tsp vanilla extract
1 cup hot water or coffee
Preheat oven to 350°F (175°C). Grease and line two 9-inch cake pans.
In a bowl, whisk together flour, cocoa powder, sugar, baking soda, baking powder, and salt.
In a separate bowl, whisk eggs, buttermilk, oil, and vanilla.
Combine wet and dry ingredients. Stir in hot water or coffee until smooth.
Divide batter into pans. Bake for 30–35 minutes or until a toothpick comes out with moist crumbs.
Cool for 15 minutes in pans, then transfer to a wire rack to cool completely.
Frost with your favorite frosting and serve.
For a sheet cake, use a 9×13-inch pan and bake 35–40 minutes. Store covered at room temperature for 2 days or refrigerated for up to 5.