Coconut Macaroon Bars

Coconut Macaroon Bars
⏱️ cook time 55 minutes
🍽️ servings 12
⚡ Difficulty easy

intro

Chewy, toasty coconut macaroon layered over a buttery shortbread base, finished with dark chocolate drizzle: a portable, crowd-pleasing baked treat.

Ingredients

All-purpose flour 1 ½ cups (180g)
Granulated sugar ¼ cup (50g)
Fine sea salt ¼ teaspoon
Unsalted butter ½ cup (113g, melted and slightly cooled)
Sweetened shredded coconut 3 cups (240g)
Sweetened condensed milk 1 14-oz can (396g)
Large egg whites 2 (60g total, room temperature)
Pure vanilla extract 1 teaspoon (5ml)
70% dark chocolate 2 oz (57g, finely chopped)

Steps

1

Prep pan and oven

Preheat your oven to 350°F (175°C). Line a 9x9-inch (23x23cm) square baking pan with parchment paper, leaving 2-inch overhangs on two opposite sides to act as handles for easy removal later. Lightly grease the exposed parchment edges with nonstick cooking spray.

Step 1
step1:Prep pan and oven
2

Mix shortbread crust

In a medium mixing bowl, stir together 1 ½ cups (180g) all-purpose flour, ¼ cup (50g) granulated sugar, and ¼ teaspoon fine sea salt until evenly combined. Pour in ½ cup (113g) melted, slightly cooled unsalted butter, and stir with a rubber spatula until the mixture forms coarse, damp crumbs that hold together when squeezed. Pour the crumbs into the prepared pan, and press firmly into an even, flat layer across the entire pan bottom.

Step 2
step2:Mix shortbread crust
3

Par-bake shortbread base

Place the pan with the pressed crust on the middle rack of the preheated 350°F (175°C) oven. Bake for 10 minutes, until the edges are just lightly golden and the crust is set to the touch. Remove the pan from the oven and set it on a wire rack to cool slightly while you prepare the coconut layer; do not turn off the oven.

Step 3
step3:Par-bake shortbread base
4

Prepare coconut filling

In a clean medium mixing bowl, combine 3 cups (240g) sweetened shredded coconut, 1 14-oz can (396g) sweetened condensed milk, 2 room-temperature large egg whites, and 1 teaspoon (5ml) pure vanilla extract. Stir with a rubber spatula until every shred of coconut is evenly coated in the milky, sticky mixture, with no dry clumps remaining.

Step 4
step4:Prepare coconut filling
5

Bake the coconut bars

Scoop the coconut mixture evenly over the warm par-baked shortbread crust, and spread it gently with an offset spatula into a smooth, flat layer that reaches all edges of the pan. Return the pan to the middle oven rack, and bake for 22 to 25 minutes, until the top of the coconut layer is deep golden brown and the edges are bubbling slightly. Remove from the oven and transfer the pan to a wire rack to cool completely for 30 minutes at room temperature.

Step 5
step5:Bake the coconut bars
6

Drizzle and slice bars

Once the bars are fully cooled, lift them out of the pan using the parchment paper overhangs and transfer to a cutting board. Melt 2 oz (57g) finely chopped 70% dark chocolate in a small heatproof bowl in 20-second bursts in the microwave, stirring between bursts, until completely smooth. Drizzle the melted chocolate in thin zig-zag lines across the bar top, let the chocolate set for 10 minutes at room temperature, then slice into 12 even rectangular bars with a sharp knife.

Step 6
step6:Drizzle and slice bars

Tips

1.Avoid pressing the coconut filling too firmly when spreading it over the crust; gentle spreading keeps the macaroon layer light and chewy instead of dense and tough.
2.Use room-temperature egg whites for the coconut filling, as cold egg whites will not mix evenly, leading to uneven baking and soggy spots in the finished bars.
3.Let bars cool completely and allow the chocolate drizzle to set for 10 full minutes before slicing, as warm bars will crumble and stick to your knife for messy, uneven cuts.

✨ You May Also Like

Desserts & Baking
🍜 Italy

Creamy, coffee-kissed classic Northern Italian no-bake dessert, with layers of rum-spiked mascarpone cream, soft ladyfingers, and a rich cocoa dusting.

⏱️ 4 hours 3Desserts & Baking ★ 4.8
Desserts & Baking
🍜 France

Flaky, shatteringly crisp, buttery French croissants with golden exteriors and soft, airy layered interiors, perfect for pairing with coffee for a special morning treat.

⏱️ 12 hours Desserts & Baking ★ 4.7
Desserts & Baking
🍜 United States

Warm, spiced baked apples topped with a fluffy golden biscuit crust, this cozy dessert pairs perfectly with vanilla ice cream for cool-weather comfort.

⏱️ 55 minuteDesserts & Baking ★ 4.7
Desserts & Baking
🍜 United States

A star-spangled classic American blueberry pie with buttery flaky crust and bright sweet-tart filling, perfect for summer patriotic gatherings.

⏱️ 1 hour 25Desserts & Baking ★ 4.8
Desserts & Baking
🍜 United States

A beloved no-bake regional Maine candy with a chewy coconut-potato center coated in rich dark chocolate, a New England holiday staple since the 1870s.

⏱️ 2 hours 3Desserts & Baking ★ 4.9
Desserts & Baking
🍜 France

Luxuriously creamy, floral frozen custard made with aromatic Tahitian vanilla beans, boasting a smooth, rich texture that melts slowly on the tongue.

⏱️ 3 hours 3Desserts & Baking ★ 4.6

Coconut Macaroon Bars:Frequently Asked Questions

1.Can I use salted butter instead of unsalted butter in this recipe?
Absolutely, just adjust the added fine sea salt to keep flavors balanced. For every 1 stick (½ cup) of salted butter you use, cut the added salt by ¼ teaspoon. This prevents the buttery shortbread base from becoming overly salty, which would clash with the sweet coconut layer and rich dark chocolate drizzle.
2.Why is my shortbread base coming out crumbly instead of firm?
This almost always traces back to not pressing the crust firmly enough, or overworking the flour when mixing the dough. Cut cold butter into the flour until it forms coarse, moist crumbs, then press it in a tight even layer with the flat bottom of a measuring cup, and par-bake just until set before adding the coconut layer.
3.Can I use unsweetened shredded coconut instead of sweetened?
You can, but you’ll need to adjust for sweetness and moisture to nail that classic chewy macaroon texture. Toss unsweetened coconut with 2 tablespoons of melted unsalted butter and ¼ cup extra granulated sugar per 2 cups of coconut, otherwise the top layer will be dry, bland, and won’t hold together well after baking.
4.How do I get clean, neat slices when cutting these bars?
The biggest trick is letting the bars cool completely for at least 2 hours after baking, then chilling them for 30 minutes once the chocolate drizzle sets. Use a sharp, thin knife warmed under hot water and wiped dry between each cut to avoid smushing the chewy coconut or cracking the tender shortbread base.
5.Do I need to line my baking pan for these bars?
I highly recommend lining your pan with a parchment paper sling that overhangs two opposite sides, even for nonstick pans. The buttery shortbread can still stick around the edges, and the sling lets you lift the entire slab of bars out in one piece to cut evenly, with no broken, crumbly pieces left behind.
6.Why is my coconut top layer burning before the shortbread is fully baked?
This happens if your oven runs hot, or if your rack is placed too close to the top heating element. Halfway through baking the coconut layer, tent the pan loosely with a sheet of aluminum foil to deflect direct heat. This lets the coconut toast to perfect golden chew without charring, while the shortbread finishes cooking evenly.
7.Can I skip the dark chocolate drizzle if I don’t like chocolate?
Of course! The bars are absolutely delicious on their own, with rich buttery shortbread and toasty chewy coconut taking center stage. If you want a fun alternative, try a light vanilla glaze, a sprinkle of flaky sea salt on the warm coconut layer, or a drizzle of white chocolate for a sweeter, creamier finish.
8.How should I store leftover Coconut Macaroon Bars?
Keep leftover bars in an airtight container at cool room temperature for up to 5 days. Separate stacked layers with small sheets of parchment paper to prevent sticking, and avoid long-term fridge storage, as that will make the shortbread lose its tender buttery texture and cause the coconut to dry out faster.
9.Can I freeze these bars for later?
Definitely! These bars freeze beautifully for up to 3 months. Let them cool completely, cut into individual portions, and wrap each bar tightly in plastic wrap before tucking into a labeled freezer bag. Thaw at room temperature for 20 to 30 minutes before eating, and they’ll taste just as fresh as baking day.
10.What size baking pan works best for this recipe?
A standard 9x9 inch square metal baking pan is ideal, as it creates the perfect ratio of thick buttery shortbread to chewy coconut layer. If you only have an 8x8 inch pan, you can use that, but add 3 to 5 minutes to total bake time, and watch closely to make sure the coconut doesn’t over-toast.
11.Can I add mix-ins to the coconut layer?
Absolutely, as long as you don’t add so many that the coconut can’t hold together. Try folding in ½ cup of mini dark chocolate chips, chopped toasted macadamia nuts, or dried chopped cranberries to the coconut mixture before spreading it over the par-baked shortbread. Stick to ½ to ¾ cup total mix-ins for best results.
12.Why is my shortbread base tough instead of tender?
Tough shortbread happens when you overmix the flour into the butter and sugar, which develops excess gluten. Mix the shortbread dough just until ingredients come together into coarse, moist crumbs, and don’t knead or stir it past that stage. Pressing it gently instead of compacting it too hard also keeps the texture light.
13.Do I need to toast the coconut before adding it to the top layer?
You don’t have to, but toasting ⅓ of the shredded coconut ahead of time amps up that rich, nutty coconut flavor even more. Toast it in a dry skillet over medium heat for 3 to 4 minutes, stirring constantly, until light golden, then let it cool fully before mixing it with the rest of the coconut for the top layer.
14.Can I make these bars gluten-free?
Yes, you can easily adapt this recipe for gluten-free diets by swapping the all-purpose flour for a 1:1 gluten-free all-purpose baking blend that contains xanthan gum. Make sure your shredded coconut and dark chocolate for drizzling are certified gluten-free to avoid cross-contamination, and follow the rest of the recipe exactly as written.
15.How do I prevent the chocolate drizzle from getting dull and streaky?
Melt your dark chocolate slowly, either in the microwave in 30-second bursts (stirring between each) or in a double boiler over low heat, to avoid seizing. Let it cool slightly before drizzling over fully cooled bars, and let it set at room temperature instead of chilling, which causes dull, streaky chocolate bloom.
16.Can I make these bars nut-free for school events or bake sales?
These bars are naturally nut-free as written, as long as you check labels on your shredded coconut and dark chocolate to confirm they’re processed in a nut-free facility if serving guests with severe allergies. Skip any nut mix-ins, and you’ll have a perfectly portable, crowd-pleasing treat for any group gathering.
17.Why won’t my coconut layer stick to the shortbread base?
This usually happens if you let the par-baked shortbread cool completely before adding the coconut layer, or if you didn’t press the coconut mixture firmly onto the warm crust. Spread the coconut filling over the shortbread right after its par-bake, press it gently into an even layer, and the heat will help the two layers bond as they bake.
18.Can I use coconut oil instead of butter for a dairy-free version?
You can swap unsalted butter for refined coconut oil in equal measurements to make these bars dairy-free. Use refined instead of unrefined coconut oil if you don’t want extra-strong coconut flavor, and confirm your dark chocolate drizzle is dairy-free too. The shortbread will be slightly less rich, but still perfectly tender and crumbly.

Comments (8)

3 days ago

OMG these coconut macaroon bars are a total game changer! I brought them to my neighborhood potluck last weekend and every single person asked for the recipe. The chewy coconut center with that crisp edge? *Chef’s kiss* So easy to throw together too, I didn’t even have to run to the store for special ingredients. My kids begged me to make a second batch before the potluck even ended!

2 days ago

Wait did you add the chocolate drizzle option? I’m debating if it’s worth the extra step for my work potluck next week!

2 days ago

So glad these were a hit at your potluck! To answer your question, PotluckQueen — the chocolate drizzle is totally optional but adds such a fun rich contrast if you have a few extra minutes, I highly recommend it for a crowd!

1 week ago

SO good. I’ve tried a handful of coconut macaroon bar recipes and this one is by far the easiest and most consistent. I meal prep a batch on Sundays to toss in my lunchbox for the work week and it satisfies my 3pm sugar craving perfectly without being too cloyingly sweet. 10/10 will make again.

5 days ago

Love that these work for your weekly meal prep, Steve! So happy you’re enjoying them — pro tip: they freeze really well if you ever want to make a double batch to stash for later!

2 days ago

As someone who’s gluten free, I’m always hunting for easy baked goods that don’t require 10 weird specialty flours. These were perfect! I used sweetened shredded coconut like the recipe said and they came out chewy, golden, and absolutely delicious. My husband who hates coconut even ate two bars last night. Win!

5 days ago

Super easy recipe for a beginner like me! I only had unsweetened coconut on hand so I added an extra tablespoon of condensed milk and they turned out pretty good, next time I’ll grab the sweetened kind like the recipe says. Only note is my edges got a little darker than the photo after 55 minutes in my oven, I’ll probably shave 5 minutes off next time.

3 days ago

Oh thanks for the heads up about the cook time! My oven runs super hot too so I’ll set a timer for 50 minutes when I make these this weekend

3 days ago

Great call adjusting for your oven! All ovens run a little different, so checking at the 50 minute mark is always a smart move. So glad you were able to make it work with what you had on hand!

2 weeks ago

I’ve been making coconut macaroons for my grandkids for 40 years and I decided to try this bar version instead of scooping individual cookies for our family dinner last Sunday. Let me tell you, it cut my prep time in half! The kids went crazy for them, said they liked the bar version even better than my usual cookies. I’ll be sticking to this recipe from now on!

1 week ago

That makes my day to hear, Maggie! Bar versions are such a time saver for big family dinners, I’m so thrilled your grandkids approved — that’s the best review possible!

1 week ago

Made these for a day hike with my friends last weekend and they were the perfect trail snack! They held up really well in my backpack, didn’t get all crumbly, and gave us that little sugar boost we needed halfway up the trail. Super easy to pack, not messy at all. Will definitely be adding these to my regular hike snack rotation.

30 minutes ago

These are the perfect pairing with my morning iced latte! I kept a small tin of them on my kitchen counter and I’ve been grabbing one every morning on my way out the door. The coconut flavor is so bright and not artificial at all, way better than the store-bought granola bars I used to buy.

5 minutes ago

Totally agree! I started keeping a stash in my car for school drop off mornings, they’re way less messy than muffins for the kids to eat on the go

2 hours ago

Wait, quick question — I made these last night and let them cool for 20 minutes like the recipe said but they were still really goopy when I tried to cut them. Did I do something wrong? They tasted amazing but I couldn’t get clean squares at all, they kept falling apart when I lifted them out of the pan.

30 minutes ago

I had that happen my first time too! I popped the whole pan in the fridge for an hour after cooling on the counter and they sliced perfectly into clean squares, game changer. Don’t worry, the goop means they’re extra chewy!

just now

Kate is spot on! These bars need a little extra time to set up as they cool, especially if your kitchen is warm. Popping them in the fridge for an hour makes slicing so much easier. So glad they tasted great even if the slices were messy!