This easy chocolate traybake is a dependable cake for birthdays, bake sales, or an everyday sweet treat. The batter comes together in one bowl, bakes in a standard rectangular tin, and stays moist under a simple chocolate icing.
Ingredients
- 200 g (1⅔ cups) plain all-purpose flour
- 200 g (1 cup) granulated sugar
- 50 g (½ cup) unsweetened cocoa powder
- 1½ teaspoons baking powder
- ½ teaspoon baking soda
- ¼ teaspoon fine salt
- 2 large eggs, at room temperature
- 120 ml (½ cup) neutral vegetable oil
- 180 ml (¾ cup) milk
- 1 teaspoon vanilla extract
- 120 ml (½ cup) hot water or hot coffee
- For the icing: 100 g (3½ oz) dark or semisweet chocolate, finely chopped
- For the icing: 80 ml (⅓ cup) heavy cream
- Optional topping: 1 tablespoon sprinkles or chopped toasted nuts
Instructions
- Heat the oven to 180°C (350°F), or 160°C (320°F) for a fan oven. Grease a 20 x 30 cm (8 x 12 in) rectangular baking tin and line its base and two long sides with baking parchment, leaving a little overhang to help lift out the cake.
- In a large bowl, whisk together the flour, sugar, cocoa powder, baking powder, baking soda, and salt. Break up any cocoa lumps so the dry mixture is even.
- Add the eggs, oil, milk, and vanilla. Whisk just until the mixture is smooth and no dry flour remains, scraping the sides of the bowl as needed. Avoid beating for a long time; excessive mixing can make the cake firm.
- Carefully pour in the hot water or coffee and whisk until incorporated. The batter will be quite thin; this is expected and helps make a moist cake. Pour it into the prepared tin and gently level the surface.
- Bake for 25–32 minutes, checking from 25 minutes. The cake is ready when the centre springs back lightly and a skewer inserted in the middle comes out clean or with a few moist crumbs, but no wet batter. If using a food thermometer, the centre should reach at least 90°C (194°F) for a fully set cake.
- Set the tin on a cooling rack and leave the cake to cool completely, about 1–1½ hours. Do not spread icing on a warm cake, as the chocolate will melt and slide off.
- Make the icing: put the chopped chocolate in a heatproof bowl. Warm the cream in a small saucepan until steaming and just beginning to simmer around the edges; do not let it boil vigorously. Pour it over the chocolate, wait 2 minutes, then stir from the centre outward until smooth.
- Let the icing stand for 5–10 minutes until thick enough to spread. Spread it over the cooled cake, add sprinkles or nuts if using, and leave for 20–30 minutes to set. Use the parchment to lift the cake out, then cut into 12–16 squares with a clean knife.
Tips
- Measure flour by weight if possible. If using cups, spoon flour into the cup and level it rather than packing it down; too much flour can make the cake dry.
- Use hot, not boiling, water or coffee. Coffee deepens the chocolate flavour without making the cake taste strongly of coffee; use water for a caffeine-free version.
- Check the cake early because ovens and tin materials vary. A glass or dark metal tin may bake differently from a light metal tin, so rely on the centre test as well as the timer.
- For neat squares, let the icing set and wipe the knife between cuts. If the icing becomes too firm to spread, warm it gently for a few seconds and stir.
Serving Suggestions
Serve the squares at room temperature, when the crumb is soft and the icing has a smooth, tender bite. They are lovely with tea, coffee, or a glass of milk. For a plated dessert, add a spoonful of lightly whipped cream or vanilla ice cream and a few fresh raspberries or sliced strawberries. Cut smaller pieces for a party platter alongside fruit, biscuits, or other bite-size sweets.
Variations
For a dairy-free cake, use an unsweetened plant-based milk and replace the cream in the icing with a suitable plant-based cream. Check that the chocolate is dairy-free too. To make a simple citrus version, add 1 teaspoon of finely grated orange zest to the batter. You can also stir 75 g (½ cup) chocolate chips into the finished batter, or replace the optional nuts with toasted coconut. Keep additions modest so the cake still bakes evenly.
Storage and Reheating
Once the icing has set, store the cake in an airtight container at cool room temperature for up to 2 days, or refrigerate it for up to 5 days. If your kitchen is hot, or the icing contains cream and the cake will be kept for more than 2 hours, refrigerate it promptly. Bring refrigerated pieces to room temperature for about 20–30 minutes before serving for the best texture. To freeze, wrap uncut, uniced cake well and freeze for up to 2 months; thaw overnight in the refrigerator, then bring to room temperature and ice. Reheating is not necessary, but an uniced piece can be warmed for 10–15 seconds in a microwave if desired. Avoid warming iced squares, as the topping may melt.
Frequently Asked Questions
Can I make this cake without coffee?
Yes. Use the same quantity of hot water instead. Coffee is optional and is included to bring out the cocoa flavour, not to make the cake taste like coffee.
Why is the batter so thin?
The hot liquid loosens the cocoa and flour mixture, creating a pourable batter. This is normal. Pour it carefully into the tin and avoid adding extra flour, which can make the baked cake dry.
Can I bake it in a different tin?
A similar-capacity tin works best. In a smaller or deeper tin, the cake will take longer; in a larger, shallower tin, it will bake sooner. Begin checking early and use a skewer in the centre to judge doneness. Do not fill a tin more than about two-thirds full.
Can I make it ahead?
Yes. Bake the cake a day ahead, cool it completely, and keep it covered. Ice it once cool, or store the icing separately in the refrigerator and soften it gently before spreading. For the freshest appearance, add sprinkles just after icing.
How do I know the cake is fully baked?
The centre should spring back lightly when touched, and a skewer should come out without wet batter. If the top is browning but the centre is still raw, continue baking in 3–4 minute intervals and check again.
Can I use this recipe for cupcakes?
Yes, divide the batter among lined muffin cups, filling each about two-thirds full. Start checking after 16–18 minutes; the exact time depends on the pan and oven. Cool completely before icing, and check the centres with a skewer.