Chocolate Sheet Cake Recipe

I’m not saying this lightly.

A chocolate sheet cake sounds simple. A little too simple. Like, “oh cool, a flat cake.” But then you take one bite and suddenly you’re standing over the pan at 11pm, fork in hand, telling yourself this is the last piece.

Spoiler: it’s not the last piece.

This cake is moist, deeply chocolatey, and topped with a warm fudge frosting that soaks right into the top layer while it’s still hot. It’s the kind of cake that shows up at potlucks and gets eaten before anything else on the table.

And here’s what nobody talks about: sheet cakes are actually easier to make than layer cakes. No stacking, no leveling, no praying your frosting holds it together. You just bake it, frost it, and eat it right out of the pan.

That’s my kind of dessert.


What You’ll Need

For the Cake

  • 2 cups all-purpose flour
  • 2 cups granulated sugar
  • 1 tsp baking soda
  • ½ tsp salt
  • 1 cup unsalted butter (2 sticks)
  • 1 cup water
  • ¼ cup unsweetened cocoa powder
  • 2 large eggs
  • ½ cup full-fat sour cream
  • 1 tsp pure vanilla extract

For the Chocolate Fudge Frosting

  • ½ cup unsalted butter (1 stick)
  • ¼ cup unsweetened cocoa powder
  • 6 tbsp whole milk
  • 3½ cups powdered sugar (sifted)
  • 1 tsp pure vanilla extract
  • 1 cup chopped pecans or walnuts (optional but honestly, get the nuts)

Tools You’ll Need

  • 18×13 inch rimmed sheet pan (also called a half-sheet pan)
  • Large mixing bowl
  • Medium saucepan (x2)
  • Whisk
  • Electric hand mixer or stand mixer
  • Rubber spatula
  • Measuring cups and spoons
  • Cooling rack

Pro Tips

These are the things I wish someone had told me before I made my first sheet cake.

  1. Don’t skip the hot butter and cocoa step. Melting the butter with cocoa and water and pouring it hot over the flour mixture is what gives this cake its signature fudgy texture. It’s not optional.
  2. Frost it while it’s warm. Pour the frosting over the cake 5 minutes out of the oven, not after it cools. The frosting seeps into the top and sets into something almost like fudge. If you wait, you’ll get a stiff frosting that doesn’t integrate the same way.
  3. Sift your powdered sugar. Lumpy frosting is a real thing and it’s not fun to eat. Takes 30 extra seconds. Do it.
  4. Use full-fat sour cream. Low-fat versions add water to the batter and you’ll lose that dense, moist crumb. Full-fat only here.
  5. Let it sit for 20 minutes before cutting. The frosting needs time to set. I know it’s hard to wait. Do it anyway.

Substitutions and Variations

No sour cream? Plain whole-milk Greek yogurt works perfectly as a swap.

Dairy-free version: Use vegan butter (like Earth Balance), plant-based milk (oat or full-fat coconut), and coconut cream instead of sour cream.

No pecans? Skip them entirely or swap for sprinkles, crushed pretzels, or flaky sea salt on top.

Want a mocha vibe? Add 1 tsp of instant espresso powder to the cake batter. It deepens the chocolate flavor without making it taste like coffee.

Gluten-free: A 1:1 gluten-free flour blend (like Bob’s Red Mill) works well here. The texture is slightly more dense but still really good.


Make Ahead Tips

Sheet cake is one of the best make-ahead desserts out there.

  • Bake the cake a day ahead and store covered at room temperature. Frost it the morning of, or frost it the night before and cover loosely.
  • Frosted cake keeps at room temperature for up to 3 days, covered. Refrigerating it tends to dry it out faster.
  • Freezing works too. Freeze unfrosted cake slices tightly wrapped. Thaw overnight at room temp and frost fresh.

How to Make It

Step 1: Prep Your Pan

Preheat your oven to 350°F (175°C).

Grease your 18×13 inch sheet pan with butter or nonstick spray, then lightly flour it. You can also line it with parchment paper, which makes cleanup even easier.

Step 2: Mix Your Dry Ingredients

In a large mixing bowl, whisk together the 2 cups flour, 2 cups sugar, 1 tsp baking soda, and ½ tsp salt. Set aside.

Step 3: Make the Chocolate Mixture

In a medium saucepan over medium heat, melt 1 cup butter with 1 cup water and ¼ cup cocoa powder. Whisk constantly until fully combined and starting to just bubble around the edges.

Remove from heat immediately. Don’t let it boil hard.

Step 4: Combine

Pour the hot cocoa mixture directly over your flour mixture. Stir well with a spatula until mostly combined.

Add the 2 eggs, ½ cup sour cream, and 1 tsp vanilla extract. Mix until smooth. The batter will be thin. That’s totally normal.

Step 5: Bake

Pour the batter into your prepared pan and spread it evenly to the edges.

Bake for 20-22 minutes, until a toothpick inserted in the center comes out clean and the top looks set. It moves fast in a sheet pan, so start checking at 18 minutes.

Step 6: Make the Frosting (Start This 5 Minutes Before the Cake Is Done)

In a medium saucepan, melt ½ cup butter over medium heat. Whisk in ¼ cup cocoa powder and 6 tbsp milk until smooth.

Remove from heat and whisk in 3½ cups sifted powdered sugar and 1 tsp vanilla extract until silky and pourable. Stir in nuts if using.

Step 7: Frost While Warm

Pull the cake out of the oven. Wait literally 5 minutes, then pour the frosting evenly over the top. Use a spatula to spread it all the way to the edges.

Let it sit for at least 20 minutes before cutting into squares. The frosting will set into that gorgeous fudge-like layer.

Cut, serve, and watch it disappear.


Nutritional Information (Per Serving, Based on 24 Squares)

NutrientAmount
Calories~380 kcal
Total Fat18g
Saturated Fat10g
Carbohydrates54g
Sugar42g
Protein3g
Sodium135mg

Values are approximate and will vary based on specific brands and substitutions used.


What to Serve It With

  • A scoop of vanilla bean ice cream (cold + warm cake = absolute heaven)
  • Fresh raspberries or strawberries on the side for a little tartness
  • A strong cup of coffee or espresso to balance the sweetness
  • Whipped cream if you want to keep things simple

Leftovers and Storage

Room temperature: Store covered with plastic wrap or in an airtight container for up to 3 days. It honestly gets fudgier on day two.

Refrigerator: You can refrigerate it for up to 5 days, but the texture dries out a little faster. Pull pieces out 20-30 minutes before eating to bring them back to room temp.

Freezer: Wrap individual squares tightly in plastic wrap and freeze for up to 2 months. Thaw at room temperature. Don’t microwave frozen cake — it gets rubbery.


FAQ

Can I make this in a 9×13 pan instead? You can, but it’ll be a thicker cake and will need more time to bake, around 30-35 minutes. Check with a toothpick to be sure. The sheet pan version bakes more evenly and faster.

My frosting hardened before I could pour it. What happened? It cooled too fast. Put the saucepan back on very low heat and stir in a splash of milk until it loosens up again.

Can I use Dutch-process cocoa instead of natural cocoa? Natural unsweetened cocoa is what you want here since the recipe uses baking soda, which needs the acidity in natural cocoa to react properly. Dutch-process can work in a pinch but the texture may be slightly different.

Can I double the recipe? The recipe already fills an 18×13 pan. If you need more, bake two separate pans rather than trying to scale it into a different size. Baking math gets complicated when you change pan sizes and depths.

Is it supposed to be that thin? Yes! Sheet cakes are thin by design. That’s what makes the frosting-to-cake ratio so good. And that fudge frosting on a thin, moist cake? That’s the whole point.

Can I use salted butter? You can, just skip the added salt in both the cake and frosting.


Wrapping Up

Here’s the thing about this chocolate sheet cake: it looks humble. It comes out of a flat pan, it gets eaten off paper plates at family gatherings, and it doesn’t have layers or decorations or any of that drama.

But that’s exactly what makes it special.

It’s the kind of cake people ask for by name. The one that shows up at every birthday, every potluck, every “I just needed to bake something” Sunday. And once you make it yourself, you’ll understand why.

So give it a go this week. And when you do, drop a comment below and let me know how it turned out. Did you add the pecans? Did you frost it too early and it ran off the sides? (Been there.) Any questions, leave them below and I’ll get back to you! 🍫

Leave a Comment