Devil's Food Snack Cake Recipe: One-Pan, 30 Minutes
In this article
Devil's food snack cake is a single-layer chocolate cake with a tender, moist crumb and a deep cocoa flavor, baked in an 8-inch square pan and often topped with a simple frosting or a dusting of powdered sugar. This version comes together in one bowl and bakes in about 30 minutes. The ingredient list below makes one 8x8-inch cake, about 9 squares.
What Goes Into the Cake
Use natural unsweetened cocoa powder, not Dutch-process, for the classic devil's food tang. The boiling water blooms the cocoa and makes the batter thin; that is normal.
- 1 cup (120 g) all-purpose flour
- 1 cup (200 g) granulated sugar
- 1/3 cup (30 g) natural unsweetened cocoa powder
- 1 teaspoon baking soda
- 1/2 teaspoon salt
- 1 large egg, room temperature
- 1/2 cup (120 ml) buttermilk, room temperature
- 1/2 cup (120 ml) neutral oil, such as canola
- 1 teaspoon vanilla extract
- 1/2 cup (120 ml) boiling water
For the frosting, have ready 1/2 cup (1 stick, 113 g) unsalted butter, 1/3 cup (30 g) cocoa powder, 2 cups (240 g) powdered sugar, 2 to 3 tablespoons milk, and a pinch of salt.
Mixing and Baking Steps
- Heat the oven to 350F (175C). Grease an 8x8-inch metal pan and line the bottom with parchment, leaving an overhang on two sides.
- Whisk the flour, sugar, cocoa, baking soda, and salt in a large bowl until no cocoa streaks remain, about 30 seconds.
- Add the egg, buttermilk, oil, and vanilla. Whisk until smooth, about 1 minute; the batter will be thick.
- Pour in the boiling water and whisk gently until the batter is thin and glossy, about 30 seconds. Scrape the bowl once.
- Pour into the pan and bake at 350F (175C) for 28 to 33 minutes, until the center springs back when pressed and a toothpick inserted in the middle comes out with a few moist crumbs.
- Cool in the pan on a rack for 15 minutes, then lift out using the parchment and cool completely, about 45 minutes, before frosting.
For the frosting, melt the butter in a small saucepan over low heat, stir in the cocoa, and cook 30 seconds. Off the heat, stir in the powdered sugar, salt, and enough milk to make a spreadable icing. Spread on the cooled cake.
Why the Batter Looks Wrong
The batter is thinner than brownie batter after the boiling water goes in, and that is expected. If the cocoa looks speckled after whisking, let the batter rest 5 minutes and whisk again; the cocoa hydrates and the color evens out. If the cake domes sharply, the oven rack is too high or the pan is dark; move the rack to the center and reduce the temperature by 25F (15C) for dark pans. A sunken center usually means underbaking or too much liquid; check with a toothpick at 28 minutes.
Frosting and Serving Ideas
This cake is rich enough to serve plain with a dusting of powdered sugar. For a classic finish, spread the cocoa frosting above while the cake is still slightly warm so it glazes. A spoonful of whipped cream or a scoop of vanilla ice cream balances the cocoa. Serve squares at room temperature with coffee or cold milk. For a picnic, cut into 9 squares and pack in a single layer.
Make-Ahead Timeline
Bake the cake up to 1 day ahead; wrap the cooled, unfrosted cake tightly and keep at room temperature. Frost up to 4 hours before serving, or chill the frosted cake and bring it to room temperature for 30 minutes before cutting. The batter can be mixed and poured into the pan up to 30 minutes ahead; bake straight from the counter, adding 2 to 3 minutes to the bake time.
Storing Leftover Snack Cake
Cover leftovers tightly and keep at room temperature for up to 2 days, or refrigerate for up to 4 days. Freeze individual squares, wrapped, for up to 2 months; thaw at room temperature for about 1 hour. Frosted cake keeps best refrigerated after the first day. Discard any cake left out more than 2 hours at room temperature, or 1 hour above 90F (32C).
Scaling to Other Pan Sizes
The recipe doubles for a 9x13-inch pan; bake at 350F (175C) for 32 to 38 minutes. For a 9-inch round, use the same batter and bake 25 to 30 minutes. For cupcakes, fill liners two-thirds full and bake at 350F (175C) for 18 to 22 minutes. A toothpick should come out with moist crumbs, not wet batter.