Amazon Cyber Monday deals See deals →ad

Gluten-Free Magic Bars with a Crisp Cookie Crust

These gluten-free magic bars layer a buttery cookie crust with chocolate, coconut, nuts, and sweetened condensed milk for a chewy, crisp-edged treat. The condensed milk binds the toppings as they bake, so there’s no need for complicated mixing; a short chill makes the bars much easier to slice cleanly.

Ingredients

  • 1 cup (140 g) certified gluten-free graham cracker crumbs
  • 5 tablespoons (70 g) unsalted butter, melted
  • 1 cup (170 g) semisweet chocolate chips
  • 1 cup (85 g) unsweetened shredded coconut
  • ¾ cup (85 g) chopped pecans or walnuts
  • 1 can (14 ounces/397 g) sweetened condensed milk
  • ¼ teaspoon fine salt, if your butter is unsalted

Instructions

  1. Heat the oven and prepare the pan. Heat the oven to 350°F (175°C). Line an 8-inch square baking pan with parchment paper, leaving enough overhang on two sides to lift the bars out later. Lightly grease the exposed sides of the pan.
  2. Make the crust. Stir the gluten-free graham cracker crumbs and melted butter together until the crumbs look evenly damp and hold together when pressed. Add the salt if using. Tip the mixture into the pan and press it into a compact, even layer, especially into the corners. Use the bottom of a measuring cup to help level it.
  3. Add the toppings. Scatter the chocolate chips evenly over the crust, followed by the coconut and chopped nuts. Pour the sweetened condensed milk slowly over the surface, aiming to cover the toppings as evenly as possible. Don’t stir the layers together or press them down after adding the milk.
  4. Bake. Bake for 25–30 minutes, until the edges are golden brown and the center looks set rather than liquid. The top may still look a little glossy from the condensed milk. If the edges brown quickly, check the pan near the 25-minute mark; oven times vary.
  5. Cool and chill. Set the pan on a wire rack and let the bars cool completely, at least 2 hours. For neater slices, cover and refrigerate for 30–60 minutes after they reach room temperature. Lift the slab out by the parchment, then cut into 16 squares with a sharp knife, wiping the blade between cuts.

Tips

  • Check every packaged ingredient. Use graham-style crumbs labeled gluten-free, and check chocolate chips and any optional toppings for gluten-containing ingredients or cross-contact warnings. If cooking for someone with celiac disease, use clean utensils, pans, and work surfaces as well.
  • Press the crust firmly. A loose, uneven crust can crumble when sliced. Compact it across the whole pan without making it excessively thick in the corners.
  • Pour the milk patiently. A slow, even pour helps the sweetened condensed milk reach the toppings throughout the pan. It’s fine if small patches of coconut or nuts remain visible; avoid flooding one corner.
  • Let the bars cool before cutting. Slicing while warm can make the layers slump and stick to the knife. If they’re very firm from the refrigerator, let them sit at room temperature for 10–15 minutes before serving.

Serving Suggestions

Serve the bars at room temperature for a soft, chewy center and a crisp crust, or slightly chilled if you prefer firmer layers. They’re rich, so small squares work well alongside coffee, tea, or a glass of milk. For dessert, add fresh berries or a scoop of vanilla ice cream. If serving a group, cut the slab into 16 squares; for a buffet, smaller pieces are easy to pick up and share.

Variations

Swap the pecans for walnuts, almonds, or roasted peanuts, keeping the quantity the same. For a nut-free version, leave them out and add another ¾ cup of chocolate chips, or use gluten-free toffee bits or pumpkin seeds after checking their labels. Use dark chocolate chips for a less-sweet contrast, or replace up to half of the chocolate chips with butterscotch chips. Sweetened shredded coconut can replace unsweetened coconut, though the bars will taste sweeter. To make a dairy-free version, choose dairy-free chocolate and a gluten-free crust made with dairy-free butter; sweetened condensed coconut milk may work, but it can change the flavor and texture, so follow the product’s baking guidance and expect a softer result.

Storage and Reheating

Once completely cool, store the bars in an airtight container. They keep at room temperature in a cool kitchen for up to 3 days, or in the refrigerator for up to 1 week; separate layers with parchment to prevent sticking. For longer storage, freeze individually wrapped bars in a freezer-safe container for up to 2 months. Thaw overnight in the refrigerator or for about 30–60 minutes at room temperature. These bars are normally served cool or at room temperature and don’t need reheating. If you like them slightly warm, heat one bar briefly in the microwave, about 5–10 seconds, and take care because the filling can become hot.

Frequently Asked Questions

Are magic bars naturally gluten-free?
Not always. Traditional recipes often use graham crackers, which commonly contain wheat. This version uses gluten-free crumbs, but check the labels on all packaged ingredients, including chocolate and toppings, to confirm they suit your needs.

Can I use a different pan size?
An 8-inch square pan gives these bars a thick, sturdy crust and distinct layers. A 9-inch square pan will make thinner bars and may shorten baking time, so begin checking around 22 minutes. A larger pan spreads the ingredients more thinly; don’t rely on the stated time alone—look for golden edges and a set center.

Why are my bars falling apart?
They may have been cut before cooling fully, or the crust may not have been pressed firmly enough. Chill the pan before slicing, and use a sharp knife. Also check that you measured the butter and crumbs accurately; a dry crust is more likely to crumble.

Can I make them ahead?
Yes. Bake and cool them a day ahead, then cover and refrigerate. Cut them shortly before serving for the cleanest edges, or slice them in advance and keep them chilled in a single layer or with parchment between layers.

Can I leave out the coconut?
Yes. Replace it with an equal amount of extra chocolate chips, chopped nuts, or another gluten-free topping. Keep the total topping amount close to the recipe so the condensed milk can bind the layers without leaving the bars overly wet.

How can I tell when the bars are done?
Look for golden edges and a center that has set rather than rippling like liquid when the pan is gently nudged. The topping will firm further as it cools, so don’t wait for the middle to look completely dry.

Gluten-Free Magic Bars with a Crisp Cookie Crust

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top