You're not going to believe how perfectly moist and intensely chocolatey this cake is! This easy one-bowl, do-it-all recipe can be used to bake a sheet cake, layer cake, or cupcakes, so it's perfect for any occasion. If you need a chocolate cake recipe for a birthday celebration, graduation party, bridal or baby shower, or just because... this moist and fudgy chocolate cake is it!
"The best chocolate cake recipe! Made this with my 7 year old and it was so easy to follow. In her words decadent and mommy can we make this again. This is now a staple!" - Tanisha, ⭐️⭐️⭐️⭐️⭐️
This cake is giving serious Matilda chocolate cake vibes. I know my fellow '90s kids know what I'm talking about... the scene in the 1996 movie when Matilda's classmate, Bruce, devours Miss Trunchbull's chocolate cake. The scene is gross, but the cake looks totally indulgent and delicious.
I may be biased, but I can't get over how perfect this cake is! It's seriously chocolatey with the perfect balance of fudgy flavor and moist texture. And it's incredibly simple to make. This is about to be your favorite chocolate cake recipe!
Here's what I love most about this recipe:
- Easy to Make - This chocolate cake could not be easier to make! The recipe uses simple ingredients and comes together in just one bowl.
- Versatile - This cake recipe is so versatile! Need a layer cake to celebrate your spouse's birthday? Check! Need a sheet cake for a graduation party? Check! Need to make a bunch of cupcakes for your child's birthday party? Check! This cake recipe can do it all!
- Flavor & Texture - I worked hard to really nail the flavor and texture of this cake. It needed to be deeply chocolatey with fudgy, dark chocolate flavor and also be perfectly moist without feeling too dense. And since cocoa powder is very absorbent and can dry out a cake batter, I needed just the right mix of liquid ingredients to achieve the luscious texture I wanted. Many recipe tests playing with different combinations and ratios of liquid ingredients led me here. Using a mixture of oil, milk, sour cream, and hot coffee keep this cake batter moist and luxurious.
- Crowd-Pleasing - I served this cake (in sheet cake form) at my kids' birthday party and also made it for each of their birthdays (in layer cake form) at their requests! I always receive rave reviews on the flavor and how perfectly moist the cake is.


Oh, and for a holiday version of this crowd-pleasing chocolate cake, check out my easy Yule Log Layer Cake recipe.
Ingredient Notes & Substitutions
See recipe card at the bottom of this post for full ingredient list and measurements.

All-Purpose Flour - This cake manages to be tender and moist without cake flour, so we're sticking with pantry staple all-purpose flour.
Cocoa Powder - You can use natural unsweetened or Dutch process cocoa powder to bake this chocolate cake. The decision comes down to what kind of chocolate flavor you want.
Natural unsweetened cocoa powder will give you a classic, slightly acidic chocolate flavor that's lighter in color, while Dutch process cocoa powder (my personal preference) adds a smooth dark chocolate flavor that's darker in color. The cakes and cupcakes shown in this post were all made using Dutch process cocoa.
Whole Milk - Milk adds moisture and richness to the cake batter. I always recommend whole milk for baking, though you can substitute a lowfat milk if you prefer.
Vegetable Oil - Vegetable oil adds needed moisture and fat to the cake batter. Compared to butter it creates a cake with a more tender crumb, which is why we're using oil instead of butter in this recipe.
Sour Cream - Sour cream helps to create a moist cake. Because of its acidity, it's also responsible for activating the baking soda, which helps the cake to rise when baking. You can substitute Greek yogurt for the sour cream, but note that doing so may add a subtle tangy flavor to the cake.
Hot Coffee - The hot liquid blooms the cocoa powder, deepening its chocolate flavor, while the coffee enhances the flavor of the chocolate (without making it taste like coffee - promise!). If you prefer, you can substitute an equal measure of boiling water.
Special Equipment
This recipe requires no special equipment! All you'll need is a mixing bowl, whisk, and wooden spoon. Then choose your baking pan based on the type of cake you want to bake:
- 9x13 metal pan OR
- Two 9 inch round cake pans OR
- Cupcake pan
Step-By-Step Recipe Instructions
See recipe card at the bottom of this post for detailed recipe instructions.

Step 1: Make the cake. In a large bowl, whisk together flour, sugar, cocoa powder, baking powder, baking soda, and salt.

Step 2: To the dry ingredients add milk, oil, sour cream, eggs, and vanilla. Stir until well combined.

Step 3: Add hot coffee to the batter, carefully mixing with a whisk until well blended.

Step 4: Add batter to a parchment-lined pan. Bake at 350º F for 35 minutes. Let cool.
Allison's Top Tips
When the dry and wet ingredients in the cake batter are mixed together, the batter will be thick and look a lot like brownie batter. When you add the hot coffee, it will at first seem like it won't blend into the batter, but keep mixing. It will eventually come together and the batter will be thin and pourable.
Be sure to line the cake pan with parchment paper to ensure the cake doesn't stick. Here's a tutorial for the easiest way to line cake pans with parchment paper.
The recipe explains how to bake this cake in a 9x13 pan, but the same recipe can easily be adapted for other pans and sizes. You'll find instructions for baking this recipe as a layer cake or cupcakes in the Notes section at the bottom of the recipe card below.

Frosting Suggestions
This cake is really versatile and could be frosted with just about any frosting you like. Here are some of my favorite pairings:
- You can't go wrong with a classic all-butter buttercream frosting. This recipe makes the best-tasting American buttercream frosting, includes detailed-step-by-step instructions, and explains multiple ways to customize the flavor, from vanilla to chocolate to strawberry to cookie butter.
- Chocolate ganache buttercream frosting plays up the richness of this cake to create a truly decadent chocolate cake. You see this frosting on the sheet cake and layer cake in this post, and this is the frosting to use if "Matilda cake" is your goal!
- Fans of the classic chocolate peanut butter combo will love this cake paired with peanut butter cream cheese frosting. That's exactly what I did to create this chocolate peanut butter sheet cake (plus peanut butter cups and drizzles of chocolate ganache and melty peanut butter to take it over-the-top in the best way!).
- To create the ultimate cookies and cream cake, pair this cake with Oreo buttercream frosting!
- For an adults-only spin on chocolate frosting, try this Irish coffee chocolate frosting. It might be my favorite flavor of chocolate frosting, and it would be so fun for a St. Patrick's Day cake! You see this frosting on the cupcake photo above in this post.
- Classic cream cheese frosting would also pair beautifully with this cake! This recipe also includes fun flavor variations like brown butter and vanilla bean.
Love this recipe? Please leave a star rating and review on the recipe below! And don't forget to subscribe to Always Eat Dessert for even more easy dessert recipes and helpful baking tips.
Recipe

Moist & Fudgy Chocolate Cake (One-Bowl)
Special Equipment
- Cake pan (round or rectangular) or cupcake pan
Ingredients
Chocolate Cake
- 2 cups (240 grams) all-purpose flour
- 2 cups (396 grams) granulated sugar
- ¾ cup (63 grams) cocoa powder (Dutch processed or natural unsweetened)
- 2 teaspoons (8 grams) baking powder
- 1 ½ teaspoons (10 grams) baking soda
- 1 teaspoon (6 grams) fine sea salt
- ¾ cup (170 grams) whole milk
- ½ cup (100 grams) vegetable oil
- ¼ cup (56 grams) full-fat sour cream
- 2 large eggs, lightly beaten
- 2 teaspoons (10 grams) vanilla extract
- 1 cup (227 grams) hot coffee
- Chocolate Ganache Buttercream Frosting (or other frosting of your choosing)
Instructions
Make the cake batter.
- Preheat oven to 350º F. Line a 9x13 metal baking pan with parchment paper and set aside. *See recipe note for baking round cake layers or cupcakes.
- In a large bowl, whisk together flour, sugar, cocoa powder, baking powder, baking soda, and salt.2 cups (240 grams) all-purpose flour, 2 cups (396 grams) granulated sugar, ¾ cup (63 grams) cocoa powder, 2 teaspoons (8 grams) baking powder, 1 ½ teaspoons (10 grams) baking soda, 1 teaspoon (6 grams) fine sea salt
- To the dry ingredients add milk, oil, sour cream, eggs, and vanilla. Stir until well combined. The batter will be thick, similar to the texture of brownie batter.¾ cup (170 grams) whole milk, ½ cup (100 grams) vegetable oil, ¼ cup (56 grams) full-fat sour cream, 2 large eggs,, 2 teaspoons (10 grams) vanilla extract
- Add hot coffee to the batter, carefully mixing with a whisk until well blended. The batter will now be very thin.1 cup (227 grams) hot coffee
Bake the cake.
- Pour the cake batter into the prepared cake pan.
- Bake the cake for 30-35 minutes, or until the top sprigs back when gently poked and a cake tester inserted into the center of the cake comes out clean or with just a few moist crumbs.
- Let the cake cool completely before frosting or storing.









Cassandra says
Such a delicious cake. I've made it several times and it never disappoints!
Jen says
This recipe is fantastic! Due to my in-laws allergies I make it gf/df using 1-for-1 gf flour, mayonnaise and almond milk and it works so well. I wish I could taste the original because if the adjusted version is this good the original has to be even better!
Elizabeth says
I have made this SO. MANY. TIMES. AND. IT. IS. SO. GOOD...HIGHLY RECOMMEND!
Erin says
This is by far the best chocolate cake recipe out there. I’m to the point that if I’m making anything with a chocolate cake base, I use this one instead of whatever is in the recipe I’m trying.
Allison Ferraro says
This is such a huge compliment! Thank you for loving this recipe, Erin!
- Allison
Donna says
This cake is delicious,I have only made it twice the first time in round layer pans and the 2nd time a 13×9 pan and both times the cakes fell in the middle. This is the only recipe this happens and I do not know why?
Allison Ferraro says
Hi Donna! When cakes fall in the middle, the most likely culprit is that the cake was underbaked or that the oven temperature isn't accurate. Did you bake the cakes until they sprung back when poked? Do you use an oven thermometer to confirm that your oven's temperature is accurate? And are you careful not to open the oven when the cake is baking?
- Allison
Catia says
This cake came out just fabulous. I topped it with a peanut butter cream cheese frosting. Simply irresistible and very easy to make. Will definitely make it over and over again!!
Lene says
Helloo!
Love the recipe. I was wondering if I can replace the sour cream for plain yogurt?
Thank youu!
Allison Ferraro says
Hi Lene! If you want to replace the sour cream I recommend substituting Greek yogurt, since you want to be sure to use yogurt that's thick and slightly acidic.
- Allison
Raquel says
I use mayonnaise and the cake comes out so moist it’s heavenly
Allison Ferraro says
Hi Raquel! I'm so glad you reached out to let me know! Did you replace the sour cream with mayonnaise or did you add it in addition to all the other ingredients? And did you notice it affect the flavor?
- Allison
Alexandra says
Delicious!!! It's like a drug... highly addictive!!! And so easy to make. Thank you!
Tracy Slade says
Hi Allison
Can I split the recipe into 4 round pans?
Allison Ferraro says
Hi Tracy! What size pans are you referring to? The recipe is designed to be baked in two 9 inch round pans (see the Recipe Notes at the bottom of the recipe card for instructions), which is approximately equal to four 6 inch pans.
- Allison
Sarah says
I don’t know what I did wrong but mine came out jiggly? It looked great but I feel like the coffee put it over board. Any recommendations or suggestions as to what I did wrong??
Allison Ferraro says
Hi Sarah! It sounds like the cake was under baked. Please remember that bake times can vary and are just a guide... more important is to follow the cues in the recipe for when the cake is done. In this case, the cake should be baked until the top sprigs back when gently poked and a cake tester inserted into the center of the cake comes out clean or with just a few moist crumbs. Additionally, I would confirm that all ingredients were measured correctly (ideally using a kitchen scale) and test that your oven's temperature is accurate using an oven thermometer.
- Allison
Kim says
Yum! Would tell everyone not to be afraid of using the coffee. It just accentuates the chocolate taste and doesn’t give coffee flavor.
Jenna says
Thank you this was what I was looking for in the comments - looking forward to giving this a go!
Nina Munday says
Hello, hot coffee, not used it before, do you warm the granules of coffee or do you add water?
Allison Ferraro says
Hi Nina! You'll want to add hot, brewed coffee (liquid) to the cake batter.
- Allison
Hailey S says
So lovely, will become a staple recipe in our home. Used coconut oil instead of veg oil; worked well.
Colleen says
Can I use a Bundt pan?
Allison Ferraro says
Hi Colleen! I have not yet tested this recipe in a bundt pan, so I can't say with certainty how it would turn out.
- Allison
Max says
Hey, I was wondering how to make the cake firmer? I'm planning on using this recipe for a two tier cake, and was hoping for some tips to get a smooth frost and a cake that's easy to carve, and the original recipe is amazing but a little soft, so I was wondering if maybe using half a cup of liquid coffee instead of a full one would be the solution? Any tips will be much appreciated! 🙂
Allison Ferraro says
Hi Max! As you mentioned, this cake is intentionally soft, and I'm afraid I can't say with certainty how to make the cake more sturdy for stacking in tall tiers (as opposed to layers) since I haven't tested this myself. If you plan to give it a try, I would consider adding an additional egg or additional flour. I would definitely recommend doing a trial run to ensure that it achieves the structure you're aiming for without negatively altering the flavor. If you do give it a try, please let me know how it turns out.
- Allison
Danielle says
Amazing recipe. Turned out exactly as I hoped. I added a thin layer of raspberry jam under the frosting. I’ll
Be making this for the rest of my life. Thank you!
Reba says
I made a double batch of this cake and baked it in a larger disposable aluminum pan, turned out great!
Hubby is taking it to a work potluck tonight, he chose the cream cheese frosting to go with it!
Farhana Geiger says
I used this recipe to make cupcakes. It was great! My husband, who is not usually a cake or cupcake fan (he’s a cheesecake fan), complimented how it was moist and the right amount of sweetness. We did the half recipe to make 12 cupcakes. As we wanted our toddler to enjoy it, rather than hot coffee we added hot water. I did add a pinch more salt to the final (thinned out) batter to taste, but otherwise followed the recipe instructions. I have saved this now to try again in the future for a cake!
Josephine Juckiewicz says
Looking for to trying this recipe. Any suggestions on how to scale the recipe to fit a 15" x 11" pan?
Allison Ferraro says
Hi Josephine! I haven't baked the cake in a pan this large but would be happy to help! Is the 11 x 15 pan you're using shallow like a rimmed sheet pan or is it deeper like a standard 9x13 pan?
- Allison
Amelia says
I also am about to try this recipe in an 11x15 pan. The pan I’m using is normal, not shallow.
Lauren says
The most delicious chocolate cake! Super moist and chocolaty and so delicious. I substituted hot water for the coffee because I was afraid my kids wouldn’t like it and it came out excellent! Thank you so much
Vee says
Delicious! Thank you for this recipe! For non-American taste I’d recommend 1/2 of the sugar and olive oil instead. The butter crème frosting was also amazing!
Ginna says
Hands down the best chocolate cake I have ever had. I could eat just the cake without frosting, but of course I had to add the ganache frosting. Delicious! I did add 2 1/2 cups of powdered sugar because I like my frosting on the sweeter side. I bake at least once a week and have tried many chocolate cake recipes over the years....I won't be looking anymore.
Kayla says
AMAZING RECIPE! Super easy and simple to make, and the result was soooo moist and chocolate but held its structure so well! I tripled the recipe and split it between four 9-inch square sheet pans that each baked for about 40 minutes, and I stacked and cut them into a 2-layer lettered sheet cake. It was loved by everyone!
Karen says
Delicious. Made this as a birthday cake for a friend at work. Everyone raced about how delicious it was. Thank you for sharing your recipe 😀