Ingredients
Scale
For the Cake:
- 2 cups all-purpose flour
- 2 cups granulated sugar
- 1 teaspoon baking soda
- 1/2 teaspoon salt
- 1 cup unsalted butter (2 sticks)
- 1 cup water
- 1/2 cup unsweetened cocoa powder
- 2 large eggs
- 1 teaspoon vanilla extract
- 1/2 cup sour cream
For the Frosting:
- 1/2 cup unsalted butter (1 stick)
- 1/4 cup unsweetened cocoa powder
- 1/2 cup milk
- 3 1/2 cups powdered sugar
- 1 teaspoon vanilla extract
- 1 cup chopped pecans or walnuts (optional, for topping)
Instructions
Step 1: Preheat Oven
- Preheat Oven: Preheat your oven to 350°F (175°C). Grease and flour a 18×13-inch sheet pan.
Step 2: Prepare the Cake Batter
- Mix Dry Ingredients: In a large mixing bowl, whisk together the flour, sugar, baking soda, and salt.
- Heat Butter and Cocoa: In a saucepan, combine the butter, water, and cocoa powder. Bring to a boil over medium heat, stirring frequently.
- Combine Wet and Dry: Pour the hot cocoa mixture into the dry ingredients and mix until combined.
- Add Eggs and Sour Cream: Add the eggs, vanilla extract, and sour cream to the batter. Mix until smooth and well combined.
Step 3: Bake the Cake
- Pour Batter: Pour the batter into the prepared sheet pan and spread evenly.
- Bake: Bake in the preheated oven for 20–25 minutes, or until a toothpick inserted in the center comes out clean.
Step 4: Prepare the Frosting
- Make Frosting: While the cake is baking, prepare the frosting. In a saucepan, melt the butter over medium heat. Stir in the cocoa powder and milk, bringing the mixture to a boil.
- Add Powdered Sugar: Remove from heat and whisk in the powdered sugar and vanilla extract until smooth and glossy. If using, stir in the chopped nuts.
Step 5: Frost the Cake
- Frost While Warm: Once the cake is done baking, remove it from the oven and pour the warm frosting over the hot cake, spreading it evenly.
Step 6: Serve
- Cool and Slice: Allow the cake to cool for a bit before slicing into squares. Serve warm or at room temperature.
- Prep Time: 20
- Cook Time: 20