The Best Chocolate Sheet Cake (with Chocolate Frosting)
This chocolate sheet cake has a tender, plush crumb and a deep cocoa flavor, with a smooth dark chocolate frosting spread right to the edges. Melted chocolate, butter and oil give the cake richness, while hot coffee brings out the cocoa without making the finished cake taste like coffee.
The cake bakes in a 9×13-inch pan and serves a crowd. Prep takes 30 minutes, baking takes 45 minutes, and the total time is 135 minutes, including inactive cooling time. It is a practical choice for birthdays, potlucks and make-ahead celebrations.
Why you’ll love it
Why This Chocolate Sheet Cake Recipe Works
The thin batter and generous frosting are deliberate choices that help this simple pan cake stay moist and taste richly chocolatey.
- Hot liquid wakes up the cocoa. Adding hot coffee or water helps bloom the cocoa powder, making its chocolate flavor more pronounced. Coffee adds depth without taking over.
- Sour cream keeps the crumb tender. Its acidity and fat help make the cake soft and moist. The extra egg yolk adds richness and structure.
- The pan makes serving easy. A 9×13-inch pan gives the batter a broad, even surface and keeps the cake simple to portion. There is no need to stack or layer it.
- Dark chocolate balances the frosting. Melted dark chocolate gives the buttercream a clear chocolate flavor and keeps it from tasting overly sweet. Beating it after adding the chocolate makes the frosting smooth and spreadable.
What you need
Ingredients You’ll Need
Use unsweetened, natural cocoa rather than Dutch-process cocoa, and measure the flour and cocoa by scooping and leveling. Good-quality chocolate makes a noticeable difference in both the cake and frosting.
- For the chocolate sheet cake: Three ounces of finely chopped semisweet chocolate, for a smooth melted base.
- Butter and oil: One stick, or 4 ounces, of unsalted butter plus 1/3 cup melted coconut oil; canola or vegetable oil also works.
- Cocoa powder: One cup of unsweetened natural cocoa powder. Avoid Dutch-process cocoa for this recipe.
- Granulated sugar: 3/4 cup adds sweetness and helps the cake stay moist.
- Light brown sugar: One packed cup contributes a soft texture and a mild molasses note.
- All-purpose flour: One and 3/4 cups, scooped and leveled so the cake does not turn dense.
- Baking soda and salt: One and 1/2 teaspoons baking soda and 3/4 teaspoon salt balance and lift the batter.
- Eggs and egg yolk: Two large eggs and one large yolk, at room temperature, give the cake structure and richness.
- Sour cream: One cup adds moisture and a little tang; use full-fat sour cream for the intended richness.
- Whole milk: 1/4 cup loosens the mixture and helps the wet ingredients blend evenly.
- Vanilla extract: One tablespoon goes into the cake batter, and one teaspoon flavors the frosting.
- Hot coffee or water: One cup of freshly brewed coffee or freshly boiled water blooms the cocoa. Choose coffee for added depth.
- For the chocolate frosting: One cup, or 8 ounces, of unsalted butter at room temperature, plus 2 cups confectioners’ sugar, 1/8 teaspoon salt and 1 and 1/2 tablespoons heavy cream.
- Dark chocolate: Six ounces of good-quality dark chocolate, melted and then left to cool for 10 minutes, gives the frosting its chocolate flavor.
- Chocolate sprinkles: Use as desired for a simple finish, or leave them off.
Tools
Equipment You’ll Need
- 9×13-inch baking pan: The stated pan size gives the cake the right depth and baking area.
- Wire rack: The rack lets air circulate around the pan while the cake cools completely.
The method
How to Make Chocolate Sheet Cake
1. Prepare the pan
Heat the oven to 350°F. Coat a 9×13-inch pan generously with nonstick spray.
Preheat the oven well in advance so the cake starts baking at the stated temperature.
2. Melt the chocolate mixture
Put the chopped semisweet chocolate, butter and oil in a large glass bowl. Microwave in 30-second bursts, stirring after each, until melted; whisk until smooth and set aside.
Stop once no solid pieces remain. Stirring between bursts helps prevent the chocolate from scorching.
3. Combine the dry ingredients
In a large bowl, whisk the cocoa powder, both sugars, flour, baking soda and salt until evenly mixed.
Break up any lumps of brown sugar or cocoa before adding the wet ingredients.
4. Mix the wet ingredients
In another large bowl, beat the eggs and yolk with the sour cream, milk and vanilla until well blended.
Room-temperature eggs and sour cream mix more easily into a smooth batter.
5. Build the batter
Stir the melted chocolate mixture into the egg mixture. Add the dry ingredients and mix only until incorporated.
A few small streaks are easier to fix than an overmixed, tough cake; stop once the flour disappears.
6. Add the hot liquid
Pour in 1 cup of freshly brewed coffee or freshly boiled water. Let the mixture stand for 1 minute, then stir gently until combined.
The batter will look very thin; that is expected. Pour slowly to keep splashes to a minimum.
7. Bake the cake
Pour the batter into the prepared pan and smooth the surface. Bake for 38 to 45 minutes, until a toothpick or tester inserted in the cake comes out clean or with only a few moist crumbs.
If your oven runs hot, begin checking around 38 minutes. Avoid testing in a spot that contains melted chocolate.
8. Cool completely
Set the pan on a wire rack and let the cake cool completely before frosting.
Warm cake will soften the butter in the frosting and can make it slide or melt.
9. Make the frosting
Beat the butter on medium until completely smooth. Lower the speed and gradually mix in the confectioners’ sugar, then add the salt, cream and vanilla and beat smooth. Add the melted chocolate, beat until blended, then beat on medium-high for 1 minute.
The melted chocolate should have cooled for 10 minutes before it goes into the butter so it does not melt the frosting.
10. Frost and finish
Spread the frosting over the cooled cake. Add chocolate sprinkles if you want a little crunch and color.
An offset spatula or the back of a spoon makes it easy to reach the corners.
Doneness
How to Tell When It’s Done
If the cake is still underdone at the first check, return it to the oven and check again after a short interval. If your oven tends to run hot, start checking around 38 minutes to avoid overbaking.
Cool the cake completely before frosting. The crumb should feel set rather than warm or fragile, and the frosting should stay in an even layer instead of melting.
Tips & common mistakes
Tips and Common Mistakes
A few small details help this cake bake evenly and keep its frosting smooth.
- Use natural cocoa. The recipe calls for unsweetened cocoa that is not Dutch-process. Using a different type can change how the baking soda reacts and affect the cake’s rise.
- Measure the dry ingredients carefully. Scoop and level the flour and cocoa rather than packing them into the measuring cup. Too much can make the cake dry or heavy.
- Give the oven time to preheat. A fully heated oven helps the thin batter begin baking consistently. A rushed preheat can throw off the timing.
- Stir the chocolate between bursts. Chocolate can hold its shape while getting hot, so stirring shows whether it has melted and helps prevent scorched spots.
- Stop mixing when the flour disappears. Overmixing after adding the dry ingredients can make the crumb tough. Gentle mixing after adding the hot liquid is enough.
Make it your way
Substitutions and Variations
A few ingredient changes are possible, though the listed choices give the cake its intended texture and flavor.
- Coffee or water: Use either freshly brewed coffee or freshly boiled water. Water keeps the chocolate flavor direct, while coffee deepens it.
- Milk: A lower-fat milk can replace whole milk if needed, though the batter will have slightly less richness.
- Semisweet chocolate: A similarly balanced baking chocolate can work in the cake. Much sweeter chocolate may make its flavor less pronounced.
- Dark chocolate frosting: Semisweet chocolate can replace dark chocolate for a sweeter, milder frosting. Keep the amount the same.
- Skip the sprinkles: The sprinkles are optional and do not affect the frosting. Leave them off or use another simple decoration.
Serving
What to Serve with Chocolate Sheet Cake
Cut the cake into squares and serve it on its own, or add a scoop of vanilla ice cream for a cool contrast to the rich chocolate frosting.
For a party table, pair it with fresh berries or lightly sweetened whipped cream. The cake is rich, so small squares are often plenty.
Storage
Make-Ahead, Storage and Reheating
Make ahead: Bake the cake a day ahead, let it cool completely, then cover it well and keep it at room temperature. Frost it once cool, or prepare the frosting ahead and keep it covered; let it soften enough to spread before using.
Storage: Keep the frosted cake covered with plastic wrap at room temperature for up to 3 days. Protect the cut edges from air so the exposed crumb does not dry out.
Freezing: Freeze unfrosted cake, tightly wrapped, for up to 3 months for the best texture. Thaw it while wrapped at room temperature, then frost; leftover frosted slices can also be frozen in a sealed container.
Reheating: This cake is best served at room temperature, so let chilled slices sit out briefly before serving. If you prefer a warm slice, heat it just until slightly warm; too much heat can melt the frosting.
Questions
Chocolate Sheet Cake FAQs
Can I use Dutch-process cocoa in this chocolate sheet cake?
It is better to use natural, unsweetened cocoa. Dutch-process cocoa has different acidity, which can change how the baking soda works and may affect the cake’s rise.
Does the cake taste like coffee?
No, not strongly. Coffee brings out the cocoa’s depth, but the finished cake tastes chocolatey; use boiled water if you prefer to avoid coffee altogether.
Why is the cake batter so thin?
The hot coffee or water loosens the batter after the cocoa and other ingredients are combined. That thin consistency is expected and helps produce a moist crumb.
Can I make this cake without an electric mixer?
Yes. A sturdy whisk and a flexible spatula can handle the batter, and you can beat the frosting by hand with a little more effort. Make sure the butter is soft enough to mix smoothly.
How do I keep the frosting from getting lumpy?
Use room-temperature butter and add the confectioners’ sugar gradually at low speed. Make sure the melted chocolate has cooled for 10 minutes before mixing it in.
How many people does a 9×13-inch cake serve?
The listed yield is 1 cake in a 9×13-inch pan. The number of portions depends on how large you cut the squares, so smaller pieces work well for a gathering.
Recipe Card

The Best Chocolate Sheet Cake (with Chocolate Frosting)
Ingredients
Method
- Heat the oven to 350°F and generously coat a 9x13-inch pan with nonstick spray.
- In a large glass bowl, microwave the chocolate, butter, and oil in 30-second bursts, stirring between each, until fully melted. Whisk smooth and set aside.
- In a large bowl, mix the cocoa powder, both sugars, flour, baking soda, and salt until evenly combined.
- In a separate large bowl, beat the eggs, yolk, sour cream, milk, and vanilla until well combined.
- Stir the chocolate mixture into the egg mixture, then add the dry ingredients and mix until just combined.
- Add the hot coffee (or water), let stand 1 minute, then stir gently until fully combined. The batter will be very thin.
- Pour the batter into the pan and smooth the top. Bake 38 to 45 minutes, until a toothpick or tester comes out clean or with just a few moist crumbs.
- Cool completely on a wire rack.
- Beat the butter on medium speed until completely smooth. Reduce to low and gradually add the confectioners' sugar until combined, then add the salt, cream, and vanilla and beat until smooth.
- Add the melted chocolate and beat until smooth, then increase to medium-high and beat 1 minute.
- Spread the frosting over the cooled cake and top with sprinkles if desired.