Chocolate school cake is a tender, fudgy sheet cake topped with a glossy chocolate glaze, the kind served in cafeterias and at bake sales. It works because the cake uses simple pantry ingredients and a boiling-water method that keeps the crumb moist for days, while the poured-on glaze soaks slightly into the top for a fudge-like finish. This version is easy to mix by hand, bakes in one pan, and needs no fancy equipment.
Ingredients
- 2 cups (250 g) all-purpose flour
- 2 cups (400 g) granulated sugar
- 1/2 cup (50 g) unsweetened cocoa powder, natural or Dutch-process
- 2 teaspoons baking soda
- 1/2 teaspoon salt
- 1 cup (240 ml) boiling water
- 1/2 cup (120 ml) buttermilk, at room temperature
- 1/2 cup (120 ml) vegetable oil
- 2 large eggs, at room temperature
- 2 teaspoons vanilla extract
- For the glaze:
- 1/2 cup (115 g) unsalted butter
- 1/4 cup (25 g) unsweetened cocoa powder
- 1/4 cup (60 ml) milk
- 3 cups (360 g) powdered sugar, sifted
- 1 teaspoon vanilla extract
Instructions
- Preheat the oven to 350°F (175°C). Grease a 9×13-inch (23×33 cm) baking pan with butter or cooking spray, then dust lightly with cocoa powder or flour.
- In a large bowl, whisk together the flour, sugar, cocoa powder, baking soda, and salt until no lumps remain.
- Pour the boiling water into the dry ingredients and stir with a wooden spoon or whisk until the mixture is smooth and slightly thickened. It will be thin at this point; that is correct.
- Add the buttermilk, oil, eggs, and vanilla extract. Whisk vigorously until the batter is completely smooth and glossy, about 1 minute. Scrape the bottom of the bowl to make sure no dry pockets remain.
- Pour the batter into the prepared pan. Bake for 28 to 32 minutes, until a toothpick inserted into the center comes out with a few moist crumbs, not wet batter. The cake should feel springy when pressed gently.
- Remove the cake from the oven and place it on a wire rack. Let it cool in the pan for 15 minutes while you make the glaze.
- For the glaze: in a medium saucepan, melt the butter over medium heat. Whisk in the cocoa powder and milk, and bring to a gentle simmer. Cook for 1 minute, stirring constantly, until smooth and slightly thickened.
- Remove the pan from the heat and whisk in the powdered sugar and vanilla extract until the glaze is smooth and pourable. If it is too thick to pour, add 1 tablespoon of milk at a time.
- Pour the warm glaze over the still-warm cake (after its 15-minute rest). Use a spatula to spread it evenly to the edges. The glaze will set into a fudge-like topping as it cools.
- Let the cake cool completely, about 30 minutes, before slicing and serving. For cleaner slices, chill for 15 minutes in the refrigerator first.
Tips
- Do not skip the boiling water step; it blooms the cocoa and creates the cake’s moist texture. If you use Dutch-process cocoa, the boiling water still works, but the cake will be slightly less red and a touch more mild in flavor.
- Buttermilk can be replaced with 1/2 cup (120 ml) milk mixed with 1 1/2 teaspoons lemon juice or white vinegar, left to sit for 5 minutes. The acid is needed to react with the baking soda, so do not use plain milk alone.
- Pour the glaze while the cake is warm, not hot. If the cake is too hot, the glaze will soak in completely and disappear; if too cold, the glaze will harden into a thick layer that does not spread.
- For a neater presentation, line the pan with parchment paper overhanging on the long sides. Lift the whole cake out after cooling, then glaze and slice.
Serving Suggestions
Serve this cake at room temperature in squares, straight from the pan. It pairs well with a glass of cold milk, a scoop of vanilla ice cream, or a dollop of lightly sweetened whipped cream. For a lunchbox-friendly treat, cut it into bars and wrap individually in plastic wrap; they travel well and stay moist for a day.
Variations
Add 1/2 cup (85 g) semisweet chocolate chips to the batter before baking for extra chocolate pockets. Swap the vanilla extract in the glaze for 1 teaspoon peppermint extract for a mint-chocolate version. For a peanut butter twist, swirl 1/3 cup (85 g) creamy peanut butter into the batter just before pouring it into the pan. To make it dairy-free, use a plant-based buttermilk (such as soy or oat milk mixed with vinegar) and replace the butter in the glaze with vegan butter or coconut oil; the texture will be slightly softer.
Storage and Reheating
Store the cake covered at room temperature for up to 3 days, or in the refrigerator for up to 5 days. The glaze will firm up when chilled; let slices sit out for 10 minutes before serving to soften. To freeze, wrap the unglazed cake tightly in plastic wrap and foil for up to 3 months; thaw overnight in the refrigerator, then glaze and bring to room temperature. To reheat individual slices, microwave for 10 to 15 seconds on medium power, just until warm; do not overheat or the glaze will melt into the cake.
Frequently Asked Questions
Can I use a different pan size? Yes, you can bake this in two 8-inch round pans for a layer cake, but reduce the baking time to 22 to 25 minutes. A 9-inch square pan will work too, but the cake will be thicker and need about 35 minutes. Check with a toothpick.
Why is my cake sunken in the middle? This usually happens if the oven door is opened during the first 20 minutes of baking, or if the batter was overmixed after adding the eggs. Mix just until smooth, and resist peeking.
Can I make this without eggs? Yes, replace each egg with 1/4 cup (60 g) plain yogurt or applesauce. The cake will be slightly denser and less fluffy, but still moist and chocolatey. Add 1/2 teaspoon extra baking powder to help lift.
Is the glaze supposed to be runny? The glaze should be pourable but not watery; it will thicken as it cools. If it is too thin, whisk in 1/4 cup (30 g) more powdered sugar. If too thick, add milk 1 tablespoon at a time.
Can I use hot coffee instead of boiling water? Yes, replace the boiling water with hot brewed coffee. It deepens the chocolate flavor without making the cake taste like coffee. This is a common swap in chocolate cakes.
How do I get clean slices? Use a sharp knife dipped in hot water and wiped dry between cuts. Chill the cake for 15 to 20 minutes before slicing for the cleanest edges.
Related
- Dinner Ideas for Adults: 10 Real Meals
- Birthday Meal Ideas for Adults: 10 Dinners
- Carbonated Drinks and Gas: How to Fizz Any Beverage
More recipes to cook
Safety notes: safe minimum internal temperatures from USDA FSIS; raw and undercooked fish guidance from the U.S. FDA. Food safety notes
Spotted an error? Tell us and we will correct it (corrections policy).