School cake is a classic, no-fuss sheet cake that has been a staple in lunchboxes and bake sales for generations. It is a simple, moist vanilla cake topped with a rich, fudgy chocolate frosting that hardens slightly as it sets, making it perfect for slicing and packing. This recipe uses basic pantry ingredients and comes together quickly, making it a reliable choice for busy families.
Ingredients
- 2 cups (250 g) all-purpose flour
- 1 ½ cups (300 g) granulated sugar
- ½ cup (115 g) unsalted butter, softened
- ½ cup (120 ml) vegetable oil
- 1 cup (240 ml) buttermilk, at room temperature
- 2 large eggs, at room temperature
- 2 teaspoons vanilla extract
- 1 teaspoon baking powder
- ½ teaspoon baking soda
- ½ teaspoon salt
- For the frosting:
- ½ cup (115 g) unsalted butter
- ¼ cup (25 g) unsweetened cocoa powder
- ¼ cup (60 ml) milk
- 3 cups (360 g) powdered sugar, sifted
- 1 teaspoon vanilla extract
Instructions
- Preheat your oven to 350°F (175°C). Grease and flour a 9×13-inch baking pan, or line it with parchment paper for easy removal.
- In a medium bowl, whisk together the flour, baking powder, baking soda, and salt. Set aside.
- In a large bowl, beat the softened butter and sugar together until light and fluffy, about 2-3 minutes. Add the oil and continue beating until well combined.
- Add the eggs one at a time, beating well after each addition. Stir in the vanilla extract.
- Gradually add the dry ingredients to the wet mixture, alternating with the buttermilk, starting and ending with the flour mixture. Mix until just combined—do not overmix.
- Pour the batter into the prepared pan and spread it evenly. Bake for 28-32 minutes, or until a toothpick inserted into the center comes out clean or with a few moist crumbs. The cake should be golden brown.
- Allow the cake to cool completely in the pan on a wire rack. This is important—if the cake is warm, the frosting will melt.
- For the frosting: In a medium saucepan, melt the butter over medium heat. Stir in the cocoa powder and milk. Bring the mixture to a gentle boil, then remove from heat immediately.
- Whisk in the powdered sugar and vanilla extract until smooth. If the frosting is too thick, add a tablespoon more milk; if too thin, add a little more powdered sugar.
- Pour the warm frosting over the cooled cake and spread it evenly with a spatula. Let the frosting set for about 15-20 minutes before slicing and serving.
Tips
- Buttermilk substitute: If you don’t have buttermilk, add 1 tablespoon of lemon juice or white vinegar to 1 cup of milk and let it sit for 5 minutes. This will work perfectly.
- Don’t overmix: Overmixing the batter can develop gluten and make the cake tough. Mix until the flour just disappears.
- Cool completely: Always cool the cake completely before frosting. A warm cake will cause the frosting to become runny and soak in, rather than forming a nice fudge layer.
- Even slices: For clean, neat slices, use a sharp knife dipped in hot water and wipe it dry before each cut.
Serving Suggestions
School cake is delicious on its own, but you can serve it with a glass of cold milk or a scoop of vanilla ice cream for a special treat. It also pairs well with fresh berries or a dusting of powdered sugar for a slightly more elegant presentation.
Variations
- Chocolate School Cake: Replace ¼ cup (30 g) of the flour with unsweetened cocoa powder for a chocolate version of the cake base.
- Spice School Cake: Add 1 teaspoon of ground cinnamon and ½ teaspoon of ground nutmeg to the dry ingredients for a warm, spiced flavor.
- Peanut Butter Frosting: Swap the cocoa powder in the frosting for ½ cup (130 g) of creamy peanut butter, and reduce the powdered sugar to 2 cups (240 g).
Storage and Reheating
Store the cake in an airtight container at room temperature for up to 3 days, or in the refrigerator for up to 5 days. To freeze, wrap the unfrosted cake tightly in plastic wrap and then aluminum foil; it will keep for up to 3 months. Thaw overnight in the refrigerator before frosting and serving. If you prefer the cake warm, reheat individual slices in the microwave for 15-20 seconds, but note that the frosting will soften.
Frequently Asked Questions
Can I use whole wheat flour instead of all-purpose? Yes, you can substitute up to half of the all-purpose flour with whole wheat flour for a denser, more nutritious cake. The texture will be slightly heartier, and the cake may need an extra minute or two of baking time.
Can I make this cake gluten-free? Absolutely. Use a 1:1 gluten-free baking flour blend in place of the all-purpose flour. Make sure the blend contains xanthan gum for structure. The baking time may be similar, but check for doneness a few minutes early.
Why is my cake dry? A dry cake is often the result of overbaking or using too much flour. Be sure to measure your flour correctly (spoon it into the cup and level it off) and start checking the cake at the 28-minute mark.
Can I use milk instead of buttermilk? Yes, but the cake will be slightly less tender. For a closer texture, make the buttermilk substitute mentioned in the Tips section above.
My frosting is too runny. How do I fix it? If the frosting is too runny, it may not have boiled long enough, or the powdered sugar may not have been fully incorporated. Whisk in more sifted powdered sugar, a tablespoon at a time, until it reaches a spreadable consistency.
Can I bake this in a different pan? Yes, you can use two 9-inch round pans. The baking time will be shorter, about 22-26 minutes, so keep an eye on them. You may need to adjust the frosting amount slightly.
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).