There are dessert bars and then there are dessert bars like these Vegan Almond Joy Magic Cookie Bars — the kind that come out of the oven so golden and so fragrant and so impossibly layered with toasted coconut and dark chocolate chips and whole roasted almonds and a butterscotch-sweet condensed coconut milk base that has caramelized at the edges into something almost candy-like, and you cut into them while they are still slightly warm and the chocolate is still molten in places and the coconut is toasted and the almond gives a clean, satisfying crack under the knife, and you take one bite and it is immediately, overwhelmingly clear that these bars are one of the greatest things ever to come out of your oven. Not just great for a vegan bar. Not great considering. Just great — layered, complex, indulgent, completely magnificent, and almost impossible to eat just one of.
Magic cookie bars — also known as Hello Dolly bars or seven-layer bars — are one of the great American bar cookie traditions: a pressed graham cracker crust, a pour of sweetened condensed milk over the top, and a scattering of toppings that bake together in the oven into a unified, caramelized, fudgy slab of pure indulgence. The original recipe appeared on the back of Eagle Brand condensed milk cans in the 1960s and became one of the most replicated dessert recipes in American home baking history, beloved for its almost absurd simplicity — no mixing bowl, no creaming, no chilling — and its equally absurd deliciousness. The vegan version requires only two substitutions: vegan butter for the crust and sweetened condensed coconut milk for the dairy condensed milk. Everything else — the technique, the layering, the result — is identical.
The Almond Joy variation layers the magic cookie bar concept with the flavors of the classic candy bar: dark chocolate, toasted coconut, and whole almonds in a combination that has been a proven winner since the Peter Paul Candy Manufacturing Company first produced Almond Joy in 1946. The marriage of magic cookie bar and Almond Joy is one of those ideas that feels obvious in retrospect — caramelized coconut, melted dark chocolate, whole roasted almonds on a buttery graham cracker crust — and produces a bar that tastes simultaneously nostalgic and somehow better than either of its inspirations.
This recipe is 100% vegan, naturally dairy-free, egg-free, ready in about 40 minutes plus cooling, and the kind of bar that disappears from the pan before it has fully cooled.
Recipe Information
| Prep Time | Cook Time | Total Time | Servings | Calories |
|---|---|---|---|---|
| 10 mins | 28 mins | 38 mins + cooling | 16 bars | ~310 kcal |
Ingredients
For the Graham Cracker Crust
- 200g (7oz) vegan graham crackers (about 13–14 full crackers)
- 6 tbsp (85g) vegan butter, melted
- 2 tbsp caster sugar
- Pinch of salt
For the Layers
- 1 can (300ml / 10oz) sweetened condensed coconut milk (store-bought, or see note below)
- 1½ cups (130g) sweetened shredded coconut
- 1½ cups (255g) vegan dark chocolate chips
- 1 cup (140g) whole roasted almonds (salted or unsalted)
- ½ cup (85g) vegan white chocolate chips or additional dark chocolate chips (optional, for extra indulgence)
For the Top (Optional)
- ¼ cup (20g) toasted shredded coconut (for garnish)
- Flaky sea salt
- 2 tbsp melted dark chocolate, drizzled
Instructions
- Preheat and prepare. Preheat the oven to 350°F (175°C). Line a 9×13 inch (23x33cm) baking pan with parchment paper, leaving an overhang on two sides — this makes lifting the finished bars out of the pan easy and clean. If you want thicker bars, use an 8×8 inch (20x20cm) pan and expect a longer bake time.
- Make the graham cracker crust. Add the vegan graham crackers to a food processor and pulse until they are fine, even crumbs — they should look like coarse sand with no large pieces remaining. Add the melted vegan butter, caster sugar, and pinch of salt and pulse until the mixture resembles damp sand and holds together when pressed between your fingers. If you do not have a food processor, seal the crackers in a zip-lock bag and crush with a rolling pin, then combine with the butter and sugar in a bowl.
- Press the crust. Transfer the graham cracker mixture to the prepared pan and press it into an even layer across the entire bottom of the pan. Use the flat bottom of a measuring cup or glass to press it firmly and evenly — a firmly pressed crust holds together cleanly when sliced; a loosely pressed one crumbles. The crust layer should be approximately 5mm thick.
- Par-bake the crust. Bake the crust for 8 minutes until just set and beginning to turn lightly golden at the edges. Remove from the oven — the crust does not need to be fully cooked at this stage; it will continue baking with the toppings.
- Layer the toppings. Pour the sweetened condensed coconut milk evenly over the warm crust, tilting the pan gently to ensure it covers the entire surface. Work quickly — the condensed milk is viscous and needs a moment to spread. Then scatter the layers in order: first the dark chocolate chips, then the shredded coconut, then the whole almonds, then the white chocolate chips if using. Press the toppings gently but firmly into the condensed milk with the palm of your hand or the back of a spoon — good contact between the toppings and the condensed milk is what makes the bars hold together.
- Bake. Return to the oven and bake for 20–25 minutes until the coconut is deeply toasted and golden, the condensed milk is bubbling at the edges and has caramelized to a deep amber, and the chocolate chips have melted and slightly set. Watch carefully after the 18-minute mark — the coconut can go from golden to burnt quickly. If the coconut is browning faster than the condensed milk is setting, tent loosely with foil.
- Cool completely. This step is non-negotiable. Remove from the oven and allow the bars to cool completely in the pan — at least 2 hours at room temperature, or 1 hour followed by 30 minutes in the refrigerator. The condensed milk layer needs to fully set before slicing; cut too early and the bars will be molten and fall apart. The chocolate chips and almonds also need time to re-solidify.
- Slice and serve. Lift the bars from the pan using the parchment overhang and transfer to a cutting board. Use a sharp knife, wiped clean between cuts, to slice into 16 bars. If desired, drizzle with melted dark chocolate, scatter toasted coconut, and finish with a pinch of flaky sea salt.
Pro Tips
- Press the crust firmly — an under-pressed graham cracker crust produces bars that crumble the moment they are cut. Press it hard with the bottom of a flat-bottomed glass until it is compact, smooth, and feels dense. A well-pressed crust stays in one piece through slicing and eating.
- Par-bake the crust before adding toppings — 8 minutes of pre-baking sets the crust and prevents it from becoming soggy when the condensed milk is poured over. Skipping this step produces a soft, doughy base rather than a crisp, biscuity one.
- Cool completely before cutting — the condensed coconut milk layer is liquid when hot and needs a full 2 hours to firm into the fudgy, caramelized layer that holds the bars together. Cutting warm bars produces a molten mess; cutting fully cooled bars produces clean, layered slices. If you are in a hurry, 1 hour at room temperature followed by 30 minutes in the refrigerator achieves the same result.
- Use sweetened condensed coconut milk, not coconut cream — these are two different products. Sweetened condensed coconut milk is thick, sweet, and reduced; coconut cream is unsweetened and much thinner. The condensed milk is what caramelizes and binds the toppings. Most supermarkets carry it alongside regular condensed milk; it is also available from brands like Nature’s Charm.
The History of Magic Cookie Bars
Magic cookie bars — known variously as Hello Dolly bars, seven-layer bars, and dream bars depending on which part of the United States you grew up in — have one of the most documented origin stories in American baking history. The recipe appeared on the label of Eagle Brand sweetened condensed milk cans in the early 1960s and was designed with one explicit purpose: to sell condensed milk. It achieved this with remarkable efficiency. The recipe required no mixing bowl, no creaming, no eggs, no chilling, and no particular baking skill — press, pour, scatter, bake — and produced a result so indulgent and so consistently delicious that it became one of the most widely replicated bar cookie recipes in American home baking, appearing in church cookbooks, holiday tins, school bake sales, and potluck tables across the country for the next six decades. The name “Hello Dolly” is a reference to the Broadway musical that opened in January 1964, which was the defining cultural event of the year the recipe became widely circulated — a piece of naming that dates the recipe as precisely as a carbon signature. Whatever you call them, the bars themselves have earned their permanence.
Flavor Variations
- Classic Seven-Layer Magic Bars: Use the same crust and condensed milk base but replace the Almond Joy toppings with dark chocolate chips, butterscotch chips, shredded coconut, chopped walnuts or pecans, and vegan white chocolate chips for the original seven-layer version.
- Peanut Butter Cup Magic Bars: Replace the almonds with roasted peanuts and add ½ cup of vegan peanut butter chips alongside the chocolate chips for a Reese’s-inspired variation with a deep peanut butter and chocolate flavor.
- S’mores Magic Bars: Replace the shredded coconut with crushed vegan graham crackers scattered over the condensed milk and add vegan mini marshmallows in place of the almonds for a campfire-inspired bar that toasts beautifully in the oven.
Nutritional Highlights (Per Bar)
| Calories | Protein | Carbs | Fiber | Fat |
|---|---|---|---|---|
| ~310 kcal | 4g | 36g | 3g | 17g |
Storage
- Room temperature: Store in an airtight container at room temperature for up to 3 days — the bars firm up further over time and are arguably best on day two, when the layers have had time to fully meld.
- Refrigerator: Keep in an airtight container in the refrigerator for up to 7 days. The chocolate and condensed milk layer firms significantly when cold — allow to sit at room temperature for 15 minutes before eating for the best texture.
- Freezer: These bars freeze exceptionally well. Layer between sheets of parchment paper in a sealed container and freeze for up to 3 months. Thaw at room temperature for 30–60 minutes. The texture after thawing is excellent.
Frequently Asked Questions
Can I use regular graham crackers if they are vegan?
Yes — many conventional graham crackers are accidentally vegan (check the ingredients for honey and dairy; some brands contain neither). If your regular graham crackers are vegan, they work perfectly in this recipe. In the UK and Australia, digestive biscuits are the closest equivalent and work beautifully.
I cannot find sweetened condensed coconut milk — what can I substitute?
If sweetened condensed coconut milk is unavailable, make a quick substitute: combine one can (400ml) of full-fat coconut cream with ½ cup of caster sugar in a saucepan and simmer over medium heat, stirring frequently, for 25–30 minutes until reduced by half and thick enough to coat a spoon. Cool before using. The result is not quite as thick as commercial condensed coconut milk but works well in this recipe.
Can I use unsweetened coconut instead of sweetened?
Yes — unsweetened shredded coconut produces a less sweet bar with a more pronounced coconut flavor. If using unsweetened, add 2 tablespoons of caster sugar to the condensed milk before pouring it over the crust to compensate for the reduced sweetness.
My bars are crumbling when I slice them — what went wrong?
The most common causes are an under-pressed crust, bars that were cut before fully cooling, or a condensed milk layer that was too thin to bind the toppings properly. Ensure the crust is very firmly pressed, cool the bars completely (2 full hours minimum), and wipe the knife clean between each cut for the cleanest slices.
Tried this recipe? Leave a comment below and let us know how it turned out! Tag us on Instagram and Facebook — we love seeing your plant-powered creations. Looking for more addictive vegan snack and appetizer recipes? Browse all recipes on Easy Vegan Recipes — new recipes posted every single week!