Chocolate Coconut Candy Bar Cake Recipe – Easy Bake
This chocolate coconut candy bar cake combines a fudgy chocolate base with a sweet, chewy coconut topping. The texture is dense yet moist, and the flavor is rich cocoa with toasted coconut notes. It works well for weekend treats, potluck desserts, or a make‑ahead snack for the fridge.
Serves 12 · Prep 20 min · Cook 25 min · Total 1 hr 45 min
Ingredients
The batter uses pantry staples and a few specialty items that give the cake its signature flavor and texture. Measure each ingredient accurately; the balance of dry and wet components is key to a tender crumb.
- 1 1/2 cups (190 g) all‑purpose flour
- 1 cup (200 g) granulated sugar
- 1/2 cup (100 g) packed brown sugar
- 3/4 cup (75 g) unsweetened cocoa powder
- 1 tsp (5 g) baking powder
- 1/2 tsp (2.5 g) baking soda
- 1/2 tsp (2.5 g) salt
- 1 cup (240 ml) milk
- 1/2 cup (120 ml) vegetable oil
- 2 large eggs, pasteurised
- 2 tsp (10 ml) vanilla extract
- 1 cup (150 g) shredded sweetened coconut
- 1/2 cup (90 g) semi‑sweet chocolate chips
- Optional: 1 tbsp (15 ml) coconut rum for an adult version
All wet ingredients should be at room temperature before mixing. If you plan to serve the cake to pregnant guests or anyone with a weakened immune system, use pasteurised eggs and keep any leftover batter refrigerated.
Instructions
Follow these steps in order; each one builds the structure that holds the chocolate and coconut layers together.
- Preheat the oven to 350°F (175°C). Grease a 9×13‑inch (23×33 cm) baking pan and line the bottom with parchment paper.
- In a large bowl whisk together the flour, cocoa powder, baking powder, baking soda, and salt.
- In a separate bowl combine the granulated sugar, brown sugar, oil, milk, pasteurised eggs, and vanilla. Beat until the mixture is smooth and glossy.
- Pour the wet mixture into the dry ingredients. Stir just until no streaks remain; over‑mixing can create a tough crumb.
- Fold in the shredded coconut and chocolate chips, distributing them evenly.
- Spread the batter evenly in the prepared pan. Tap the pan gently on the counter to release trapped air bubbles.
- Bake for 25‑30 minutes, until a toothpick inserted in the centre emerges with a few moist crumbs but no wet batter.
- Remove the pan from the oven and let the cake cool on a wire rack for 30 minutes.
- While the cake is still warm, press an additional 1/4 cup (30 g) shredded coconut onto the top to form a crunchy crown.
- Allow the cake to set for another 30 minutes before cutting it into 12 bars.
After the final set, the bars hold together well and can be lifted with a spatula. Store any leftovers promptly to maintain freshness and safety.
Pick the Pan Before You Mix the Batter
The size and material of the pan affect heat distribution and the final crumb. A metal pan with low sides, such as an aluminum or steel sheet, promotes even baking and a flat top, while a glass pan may result in a slightly higher rise.
Greasing the pan with a thin layer of oil and lining it with parchment prevents sticking and makes bar removal clean. If you use a non‑stick pan, still line it to avoid any edge‑sticking that could tear the bars when you cut them.
Swap Ingredients for Dietary Needs
Gluten‑free: replace all‑purpose flour with a 1:1 gluten‑free flour blend. The texture will stay tender, though the crumb may be slightly more crumbly.
Dairy‑free: substitute milk with an equal volume of oat, almond, or soy milk. Coconut milk works especially well, adding extra coconut flavor.
Egg‑free: use 2 large flax eggs (2 tbsp ground flaxseed mixed with 6 tbsp water, rested 5 minutes) or a commercial egg replacer. The cake will be slightly denser but still moist.
Reduced sugar: replace half of the granulated sugar with coconut sugar. The flavor shifts toward caramel, and the sweetness drops modestly.
Scale the Recipe Up or Down
The recipe scales cleanly because all ingredients are measured by weight or volume. When halving, round any very small amounts to the nearest practical measurement.
Below is a quick reference for half‑batch and double‑batch quantities. Use the same pan size for a half batch (9×9‑inch) or a larger 13×18‑inch pan for a double batch.
| Ingredient | Half Batch | Double Batch |
|---|---|---|
| All‑purpose flour | 3/4 cup (95 g) | 3 cups (380 g) |
| Granulated sugar | 1/2 cup (100 g) | 2 cups (400 g) |
| Brown sugar | 1/4 cup (50 g) | 1 cup (200 g) |
| Cocoa powder | 3/8 cup (38 g) | 1½ cups (150 g) |
| Milk | 1/2 cup (120 ml) | 2 cups (480 ml) |
| Vegetable oil | 1/4 cup (60 ml) | 1 cup (240 ml) |
| Eggs | 1 large | 4 large |
| Shredded coconut | 1/2 cup (75 g) | 2 cups (300 g) |
When scaling, keep the oven temperature the same but add 5‑10 minutes to the bake time for a double batch, checking for doneness with a toothpick.
Serve and Pair the Candy Bar Cake
These bars are excellent on their own, but they shine when paired with a hot beverage. Serve a piece alongside a strong coffee, black tea, or a glass of cold milk.
If you want extra indulgence, add a scoop of vanilla ice cream or a drizzle of caramel sauce. For a festive touch, sprinkle a pinch of flaky sea salt on each bar just before serving.
Store the Cake Safely
Cool the cake completely before covering it with foil or an airtight container. Refrigerate within two hours of baking; the cake will stay fresh for 3‑4 days.
For longer storage, wrap individual bars in plastic wrap and place them in a freezer‑safe bag. Frozen bars retain quality for up to two months. Thaw in the refrigerator overnight before serving.
When reheating, warm a bar in a microwave for 20‑30 seconds or in a 300°F (150°C) oven for 5‑7 minutes until the chocolate chips melt slightly. Ensure the interior reaches a safe temperature of 165°F (74°C) if you have added any perishable toppings.