Zimt

Can You Make Magic Cookie Bars Without Coconut?

· 3 min read · Cookies and Bars

In this article
  1. Ingredients
  2. Instructions
  3. Ingredient Swaps
  4. Storage
  5. Serving & Safety

Many people think coconut is essential to magic cookie bars because it adds texture and flavor. In fact, you can make a perfectly tasty version without any coconut by adjusting the other layers.

Ingredients

  • 1 cup (225 g) unsalted butter, melted
  • \n
  • 1 cup (200 g) packed brown sugar
  • 1 large egg, lightly beaten
  • 1 ½ teaspoons vanilla extract
  • 2 cups (250 g) all‑purpose flour
  • ¼ teaspoon salt
  • 1 cup (175 g) semi‑sweet chocolate chips
  • 1 cup (150 g) chopped nuts (walnuts, pecans, or almonds)
  • 1 cup (150 g) dried fruit such as raisins or dried cranberries (optional)
  • 1 cup (240 ml) sweetened condensed milk

Serves 12 · Prep 15 min · Cook 25 min · Total 1 hr 10 min

Instructions

  1. Preheat the oven to 350°F (175°C). Lightly grease a 9 × 13‑inch (23 × 33 cm) baking pan or line it with parchment paper.
  2. In a large bowl combine melted butter, brown sugar, egg, and vanilla. Stir until smooth.
  3. Add flour and salt to the wet mixture. Mix just until a crumbly dough forms; over‑mixing can make the bars tough.
  4. Press the dough evenly into the prepared pan, creating a firm base about ¼‑inch (0.6 cm) thick.
  5. Spread the sweetened condensed milk over the crust in an even layer.
  6. Scatter chocolate chips, chopped nuts, and optional dried fruit across the top, pressing lightly so they adhere.
  7. Bake for 20‑25 minutes, until the edges turn golden brown and the center is set – a gentle jiggle should disappear.
  8. Remove from the oven and let cool in the pan on a wire rack for at least 30 minutes before cutting. Cooling allows the bars to firm up and makes clean cuts.
  9. Cut into 12 equal rectangles and serve.

Ingredient Swaps

The only layer that traditionally contains coconut is the “sweet” layer, often a mixture of coconut, condensed milk, and chocolate. Removing coconut does not require a direct replacement; the other layers already provide moisture, crunch, and flavor.

If you miss the chewiness that shredded coconut gives, consider one of these options:

  • Replace ½ cup (45 g) shredded coconut with ½ cup (45 g) rolled oats for a slightly heartier texture.
  • Use ½ cup (45 g) finely chopped almonds or hazelnuts to add a buttery bite.
  • Stir in ¼ cup (30 g) white chocolate chips for extra melt‑in‑your‑mouth sweetness.

All swaps keep the overall moisture balance because the condensed milk remains the primary liquid. Adjust the total dry weight only if you add a large amount of a new ingredient; a quick visual check for a dry‑looking dough is enough.

Storage

Cool the bars completely before storing; warm bars create condensation that can make the crust soggy.

  • Refrigerate in an airtight container for up to 4 days. The bars stay moist and the flavors meld.
  • Freeze for up to 2 months. Wrap each layer tightly in plastic wrap, then place the whole pan in a freezer‑safe bag. Thaw in the refrigerator overnight before serving.

Never leave the bars at room temperature for more than 2 hours, as the condensed milk can become a breeding ground for bacteria.

Serving & Safety

Magic cookie bars are best served at room temperature or slightly chilled; they are safe to eat straight from the fridge.

Because the recipe uses raw egg in the crust, the batter should never be tasted before baking. If you need a no‑bake version, use pasteurised eggs and heat‑treat the flour to 160°F (71°C) before mixing.

When reheating leftovers, bring the bars to an internal temperature of 165°F (74°C) using a microwave or oven, checking with a food thermometer. This ensures any lingering bacteria are destroyed.

Signs that the bars are done and safe to eat include:

  • Golden‑brown edges on the crust.
  • A firm, non‑wobbly center when the pan is gently shaken.
  • Chocolate chips that are melted but not pooling.

If any of these signs are missing, bake an additional 3‑5 minutes and re‑check. Over‑baking can dry the bars, so watch closely after the 20‑minute mark.