Gluten-Free Magic Cookie Bars: Chewy, No-Bake Dessert Recipe

Everybody loves magic bars — but have you tried Gluten Free Magic Cookies? They capture the nostalgic combination of coconut, chocolate, and nuts in a chewy, slightly crisp cookie. These cookies offer the same irresistible flavor as classic magic bars, but in a portable, drop-cookie form. Best of all, they come together with a handful of pantry staples.

Gluten Free Magic Cookies topped with crushed peanuts on a cooling rack on parchment paper

Recipe Ingredient Notes

Shredded Coconut: I use sweetened coconut flakes for a softer, chewier cookie. Unsweetened coconut will work but produces a drier, crunchier, and less sweet result.

Sweetened Condensed Milk: This is concentrated, sweetened cow’s milk — not evaporated milk. For a dairy-free version, sweetened condensed coconut milk is a great substitute. In Austria and Germany, look for “Gezuckerte Kondensmilch.”

Gluten Free Graham Crackers: Crushed gluten free graham crackers provide structure and a familiar flavor. I often use Schär Gluten Free Honeygrams, but homemade gluten free graham crackers work as well.

Peanuts: Lightly salted peanuts add crunch, a toasty savory note, and help hold the cookies together. You can swap in cashews, almonds, walnuts, pecans, or a nut mix.

Peanut Butter: Peanut butter brings moisture, richness, and helps bind the dough. Use creamy peanut butter or substitute almond butter or sunflower seed butter if preferred.

Chocolate: Chocolate is essential. I use chopped dark chocolate, but chocolate chips or butterscotch chips work nicely for variation.

img 22523 2

Recipe Testing Notes

Magic bars have been popular for years, and these cookies are a simple way to use a few pantry cans of condensed milk. My early tests used gluten free oats and unsweetened coconut, but the result was too dry and lacked sweetness. Switching to sweetened coconut improved texture and flavor, though the dough spread more than I wanted.

Adding a small amount of peanut butter helped bind the mixture without overpowering the cookie. The final result is a cookie with a lightly crunchy exterior and a soft, chewy center, depending on bake time.

How to make Gluten Free Magic Cookies

These cookies are forgiving and easy to personalize: choose unsweetened coconut if you prefer, swap nuts and nut butters, or use condensed coconut milk for a dairy-free option.

Allow the cookie dough to rest 10–15 minutes before scooping and baking. This gives the sweetened condensed milk time to bind the ingredients and makes handling the sticky dough easier.

img 22523 3
  1. Step 1: Put the peanut butter (or chosen nut butter) in a microwave-safe bowl and warm for about 30 seconds to loosen it for easier mixing.
dry ingredients needed for gluten free magic cookies in a large mixing bowl
  1. Step 2: In a large bowl, combine sweetened shredded coconut, crushed gluten free graham crackers, roasted peanuts (or other nuts), kosher salt, and chopped dark chocolate. Stir until evenly mixed.
img 22523 5
  1. Step 3: Add the sweetened condensed milk, vanilla extract, and warmed peanut butter to the dry ingredients.
gluten free magic cookie dough in a bowl
  1. Step 4: Use a flexible spatula to mix until all pieces are coated with the wet ingredients.
  2. Step 5: Let the dough rest for about 10 minutes while you preheat the oven.
img 22523 7
  1. Step 6: Preheat the oven to 350°F (175°C) and line two baking sheets with parchment paper. Use a large cookie scoop or two spoons to portion sticky mounds of dough onto the sheets. Expect about 14–16 cookies total, roughly 7–8 per tray.
img 22523 8
  1. Step 7: Bake one tray at a time in the upper third of the oven at 350°F for 14–16 minutes, until edges are golden. If your oven browns on the bottom, place a second baking sheet beneath the sheet in use to protect the bottoms.
  2. Step 8: Let the cookies cool on the baking sheet for a few minutes, then release with a small offset knife and transfer to a cooling rack to cool completely.

Storage Recommendations

Cool the cookies completely before storing in an airtight container at room temperature. They keep well for 3–4 days. Edges stay slightly crisp while centers remain soft; a short microwave blast restores a freshly baked texture.

img 22523 9

Join my Gluten Free Community!

Note about Salt in my Recipes

I recommend using a kosher-style crystal salt in my recipes. Different brands vary in saltiness and crystal size, so adjust amounts if you use a different salt.

Baking in grams

I share ingredient weights because baking by weight is more accurate. Digital kitchen scales are affordable and more precise than measuring cups, especially with gluten-free flours.

Note about Ovens and Oven Temperatures

These recipes are tested in conventional ovens, baked on the middle rack. If you use a convection oven, reduce temperature or adjust bake time as needed and consider using an oven thermometer to ensure accuracy.

Substitutions and Modifications

Substituting ingredients may change appearance and texture. The recipe reflects the tested version; alter ingredients with the understanding that results can vary.

More Gluten Free Cookie Recipes to try

  • Gluten Free Espresso Chocolate Chip Cookies
  • Gluten Free Lemon Poppy Seed Cookies
  • Gluten Free Iced Oatmeal Cookies
  • Gluten Free Reese’s Pieces Cookies

📖 Recipe

Yield: 14-16 Gluten Free Magic Cookies

Gluten Free Magic Cookies

Gluten Free Magic Cookies: all the nostalgia of magic bars in a chewy, crunchy cookie with coconut, chocolate, and nuts.

Enjoy the classic taste of magic bars in these Gluten Free Magic Cookies — chewy, crunchy, and made with a few pantry staples.

Prep Time
10 minutes
Bake Time
15 minutes
Additional Time
20 minutes
Total Time
45 minutes

Ingredients

Gluten Free Magic Cookies

  • 60 grams peanut butter
  • 130 grams sweetened, shredded coconut
  • 120 grams crushed gluten free graham crackers (about 2 sleeves Schär Honeygrams)
  • 100 grams lightly salted peanuts
  • 100 grams dark chocolate (chips or chopped bar)
  • ¼ teaspoon kosher salt
  • 1 — 14 oz can sweetened condensed milk
  • 1 teaspoon vanilla extract

Instructions

Gluten Free Magic Cookies

These cookies are adaptable — change the coconut, nuts, or nut butter to suit your preferences or dietary needs.

  1. Add the peanut butter to a microwave-safe bowl and warm about 30 seconds to loosen it.
  2. In a large bowl, combine sweetened shredded coconut, crushed graham crackers, roasted peanuts, kosher salt, and chopped chocolate. Stir to mix evenly.
  3. Add the sweetened condensed milk, vanilla, and warmed peanut butter to the dry mix.
  4. Use a flexible spatula to coat everything with the wet ingredients.
  5. Let the dough sit about 10 minutes while preheating the oven.
  6. Preheat oven to 350°F. Line baking sheets with parchment and portion dough with a large scoop or spoons into mounds. Expect 14–16 cookies.
  7. Bake one tray at a time on the upper third rack for 14–16 minutes until golden. Use a double sheet if your oven browns bottoms too quickly.
  8. Cool on the baking sheet a few minutes, release from parchment, then transfer to a cooling rack to finish cooling.

Notes

Shredded Coconut: Sweetened coconut yields a chewier cookie; unsweetened produces a drier, crunchier result.
Sweetened Condensed Milk: Swap with sweetened condensed coconut milk for a dairy-free option.
Gluten Free Graham Crackers: Use store-bought or homemade gluten free graham crackers.
Peanuts: Lightly salted peanuts add contrast; swap as desired.
Peanut Butter: Substitute other nut or seed butters if needed.

Nutrition Information:

Yield:

16

Serving Size:

1

Amount Per Serving:
Calories: 168

Calories are an estimate.

Did you make this recipe?

If you try it, please leave a comment and rating on the blog.

© Daniela Weiner


Cuisine:

American

/
Category: Gluten Free Cookies

img 22523 15