The Best 9×13 Chocolate Cake from Scratch
The rich and decadent 9×13 Chocolate Cake is a delightful treat that never fails to impress. With its moist layers and luscious frosting, this cake is a quintessential addition to any gathering—whether it’s a birthday party, a potluck, or just a cozy dessert night at home. Imagine cutting into a perfectly baked cake, the sponge yielding effortlessly beneath your fork while a wave of rich chocolate aroma fills the air. It’s not just a dessert; it’s a slice of happiness baked straight from scratch, enveloping you in warm, chocolatey whispers.
Table of Contents

I remember the first time I made this cake for my friends—it was an instant success. Everyone praised the texture and flavor, and I felt like a superstar baker for the day! Not only does this 9×13 Chocolate Cake deliver incredible flavor, but it’s also easy to whip up, making it a fantastic choice for bakers of any skill level. So, if you’re looking for a crowd-pleaser that’s just as comforting as it is delicious, look no further. Let’s dive into this sweet adventure together!
Why You’ll Love This Recipe
- Simple & Quick: This cake can be made in about an hour, perfect for those impromptu gatherings.
- Irresistible Flavor: A blend of bittersweet chocolate and coffee creates a deep, complex flavor profile.
- Eye-Catching Appeal: Its rich, dark color and creamy frosting are bound to impress your guests.
- Flexible Serving: Enjoy it as an afternoon snack, dessert after dinner, or even at breakfast with a cup of coffee.
- Diet-Friendly Options: Easily adjust the recipe for gluten-free flour or dairy-free options.
Ingredients You’ll Need
- 2 cups (240g) all-purpose flour: This provides the structure for the cake. For a gluten-free version, substitute with a 1:1 gluten-free flour mix.
- ½ cup (42g) unsweetened natural cocoa powder: Use high-quality cocoa powder for the best flavor.
- 1¾ cups (346g) granulated sugar: Sweetens the cake and balances the cocoa’s bitterness.
- 2 tsp baking powder: This is needed for leavening, helping the cake rise during baking.
- ½ tsp baking soda: Works alongside baking powder to create a lighter texture.
- 1 tsp salt: Enhances all other flavors in the cake.
- ½ cup (100g) vegetable oil: Keeps the cake moist; you can swap this with melted coconut oil for a different flavor.
- 3 oz bittersweet chocolate, melted and cooled: Adds a deep chocolate flavor; feel free to substitute with semi-sweet chocolate.
- 3 large eggs: Gives the cake richness and helps bind the ingredients together.
- 1 cup (227g) buttermilk: Contributes to moisture and a tender crumb. Yogurt can serve as a substitute.
- ½ cup (111g) hot strong coffee: intensifies the chocolate flavor, but hot water can work just as well.
- 1 tsp vanilla extract: A classic flavor enhancer that rounds out the chocolate.
- 1 ½ cup (339g) unsalted butter, room temperature: This is vital for the frosting’s creamy consistency.
- ¾ cup (63g) natural unsweetened cocoa powder: For making the decadent frosting; don’t skip on quality here either!
- 3-4 cups (339-454g) powdered sugar: Sweetens the frosting; adjust the amount to reach your desired sweetness.
- 1 tsp vanilla extract: For an extra layer of flavor in the frosting.
- ¼ tsp salt: Balances sweetness in the frosting.
- 2-4 tbsp heavy cream: Helps achieve the desired frosting consistency.
How to Make The Best 9×13 Chocolate Cake from Scratch
- Preheat the Oven: Begin by preheating your oven to 350ºF (180ºC). Greasing or lining a 9×13 inch baking pan with parchment paper will ensure easy removal after baking.
- Mix Dry Ingredients: In a large mixing bowl, whisk together 2 cups all-purpose flour, ½ cup cocoa powder, 1¾ cups granulated sugar, 2 tsp baking powder, ½ tsp baking soda, and 1 tsp salt. Set this aside.
- Whisk Wet Ingredients: In another bowl, combine ½ cup vegetable oil, 3 oz melted bittersweet chocolate (cooled), 3 large eggs, 1 cup buttermilk, ½ cup hot coffee, and 1 tsp vanilla extract. Whisk until well combined.
- Combine Mixtures: Gradually add the dry ingredients to the wet mixture, mixing until everything is just combined. Avoid overmixing; a few small lumps are okay.
- Pour Batter: Pour the batter into your prepared baking pan, spreading it evenly.
- Bake: Place the pan in your preheated oven. Bake for 30-35 minutes, or until a toothpick inserted in the center comes out clean. If you’re using a dark pan, start checking for doneness at about 28 minutes.
- Cool the Cake: Once baked, allow the cake to cool completely in the pan set on a wire rack.
- Make the Frosting: In a mixing bowl, beat 1½ cups unsalted butter using a hand mixer or stand mixer on medium speed for about 2 minutes until smooth and creamy.
- Add Cocoa and Sugar: Mix in ¾ cup cocoa powder, 1 tsp vanilla extract, and ¼ tsp salt on low speed. Gradually add in 3 cups of powdered sugar, mixing well after each cup.
- Adjust Consistency: Add 2 tablespoons of heavy cream and mix on medium speed until fluffy, about 1 minute. If needed, add more powdered sugar for thickness or more cream for a thinner consistency.
- Frost the Cake: Once your cake is completely cooled, spread the frosting generously over the top, ensuring even coverage.
Storing & Reheating
Store leftover cake at room temperature for up to three days, covered with plastic wrap or in an airtight container to keep it moist. For longer storage, refrigerate it for up to a week in a sealed container. You can also freeze this chocolate cake for up to three months—just wrap it well in plastic wrap and aluminum foil. To reheat, simply pop slices in the microwave for about 10-15 seconds until just warm. Keep in mind that while the flavor will remain delicious, the texture may become slightly denser upon refrigeration or freezing.
Chef’s Helpful Tips
- Avoid overmixing your batter; it can lead to a tougher cake.
- Make sure your ingredients, especially eggs and butter, are at room temperature for the best texture.
- When baking, if the edges appear brown and the center looks set, your cake is likely done.
- Adding a pinch of espresso powder to the dry ingredients can enhance the chocolatey flavor even more.
- You can prepare the cake a day in advance; it often tastes even better the next day!
Life is full of chocolatey cravings, and you’ll find that this cake satisfies every one. Its balance of sweetness and depth makes it perfect for baking up when friends swing by or you need a stellar dessert ready in advance for a get-together. Plus, getting your hands covered in cocoa powder while making it is half the fun!

Recipe FAQs
Can I make this cake ahead of time?
Yes! You can bake the cake a day in advance. Just cover it in plastic wrap after it cools completely, and it will be perfect for slicing the next day!
What’s the best way to store the cake?
Store your cake at room temperature for up to three days. Just make sure to keep it covered to maintain moisture. You can also refrigerate or freeze portions for longer storage.
Can I use a different pan size?
Yes, you can use different pan sizes! Just adjust the baking time accordingly; smaller pans may bake faster, while larger ones may take longer. Always check for doneness with a toothpick.
Can I make this cake gluten-free?
Absolutely! Substitute the all-purpose flour with a 1:1 gluten-free flour blend. This works well without compromising on taste or texture. Just be sure to double-check your other ingredients for gluten-free options as well.
PrintMore CAKES Recipes
- The Best New York Cheesecake
- Carrot Cake Coffee Cake
- Moist Vanilla Cake
- Mixed Berry Crisp
- Sour Cream Pound Cake
Did You Enjoy Making This Recipe? Please rate this recipe with ⭐⭐⭐⭐⭐ or leave a comment.
📖 Recipe Card

The Best 9×13 Chocolate Cake from Scratch
- Prep Time: 10 minutes
- Cook Time: 30-35 minutes
- Total Time: 0 hours
- Yield: 20 servings 1x
- Category: Cakes
- Method: Baking
- Cuisine: American
Description
This 9×13 Chocolate Cake from Scratch is a crowd-pleaser! With rich cocoa flavor and a simple prep, it’s perfect for any gathering or celebration.
Ingredients
- 2 cups (240g) all-purpose flour
- ½ cup (42g) unsweetened natural cocoa powder
- 1¾ cups (346g) granulated sugar
- 2 tsp baking powder
- ½ tsp baking soda
- 1 tsp salt
- ½ cup (100g) vegetable oil
- 3 oz bittersweet chocolate, melted and cooled
- 3 large eggs
- 1 cup (227g) buttermilk
- ½ cup (111g) hot strong coffee, can substitute hot water if needed
- 1 tsp vanilla extract
- 1 ½ cup (339g) unsalted butter, room temperature
- ¾ cup (63g) natural unsweetened cocoa powder
- 3–4 cups (339-454g) powdered sugar
- 1 tsp vanilla extract
- ¼ tsp salt
- 2–4 tbsp heavy cream
Instructions
- Preheat the oven to 350ºF (180ºC). Grease or line a 9×13 inch baking pan and set aside.
- In a large mixing bowl, combine the flour, cocoa powder, sugar, baking powder, baking soda, and salt. Mix well and set aside.
- In another bowl, whisk together the vegetable oil, melted chocolate, eggs, buttermilk, hot coffee, and vanilla until smooth.
- Gradually mix the dry ingredients into the wet ingredients until just combined. Avoid overmixing.
- Pour the batter into the prepared baking pan, smoothing it into an even layer.
- Bake for 30-35 minutes, checking with a toothpick at 28 minutes if using a dark pan. The cake is done when the toothpick comes out clean.
- Let the cake cool completely in the pan before frosting.
Notes
You can substitute hot water for coffee if needed.
This cake pairs wonderfully with various frostings, including chocolate ganache or buttercream.
Store leftovers in an airtight container at room temperature for up to 3 days.
Nutrition
- Serving Size: 1 slice
- Calories: 350
- Sugar: 25g
- Sodium: 200mg
- Fat: 20g
- Saturated Fat: 8g
- Unsaturated Fat: 10g
- Trans Fat: 0g
- Carbohydrates: 40g
- Fiber: 2g
- Protein: 5g
- Cholesterol: 50mg
