Bake or Break
New to BAKE or BREAK? Start Here!

Coconut Pecan Shortbread Squares

Coconut pecan shortbread bars combine two great flavors in an easy to make shortbread. A homemade treat that’s made with minimal effort!

Stack of coconut pecan shortbread bars on a cutting board.

You regular readers know all about Quinn’s long-standing aversion to coconut and my abiding love of it. My coconut-containing baked goods are few and far between. I have to plan it out in advance so I have someone else who will take them off my hands once I’ve had my sampling.

Pecan shortbread bars with shaved coconut on top.

These Coconut Pecan Shortbread Squares bars feature not only coconut, but also my beloved pecan sitting atop a shortbread crust. They are gooey and chewy and just plain delicious. The flavor of them reminds me a bit of that wonderful traditional frosting on German chocolate cake. The crust is a very simple combination of butter and flour. It’s understated and that works very well with the flavorful topping.

The recipe is a fairly true adaptation from More From Magnolia, the follow-up to The Magnolia Bakery Cookbook. The book describes these by saying that they couldn’t be easier to make. That’s very true. Just five ingredients and very little time are required to make them. The only difficult part is waiting overnight to get to eat them.

As with all shortbread recipes, be very attentive to measuring your ingredients, as the ratio is essential to getting the best result. Be sure to review my tips for measuring flour if you need a refresher on best practices.

I love these bars so much, especially when I need a super quick and easy dessert. If you have a reasonably well-stocked baking pantry, you’re likely to have everything you need whenever you get a hankering for these guys.

More Shortbread Bars

Ready to try some more easy shortbread cookie recipes? Check out these ones!

We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to and affiliated sites.

Coconut Pecan Shortbread Squares

Yield 24
Prep Time 10 minutes
Cook Time 50 minutes
Total Time 1 hour

You only need 5 ingredients to make these sweet, nutty, chewy, gooey coconut pecan shortbread bars. These quick pecan bars are so tasty!

Stack of Coconut Pecan Shortbread Squares on a cutting board.


  • 1 cup (226g) unsalted butter, softened and cut into small pieces
  • 2 cups (240g) all-purpose flour
  • 2 cups (240g) coarsely chopped toasted pecans
  • 1 cup (100g) sweetened shredded coconut
  • 14 ounce (396g) can sweetened condensed milk


  1. Preheat oven to 350°F.
  2. Using an electric mixer on medium speed, beat together butter and flour until crumbly and well combined. The mixture will be crumbly but should hold together when pinched. Transfer to an ungreased 13″x 9″pan. Pat the crust mixture firmly and evenly into the pan. Bake for 15 to minutes, or until lightly browned. Remove from the oven and cool for 30 minutes.
  3. Sprinkle the pecans and then the coconut over the crust. Pour the condensed milk on top, completely covering the coconut. Bake 30-35 minutes or until lightly golden.
  4. Cool to room temperature. Cover tightly and allow to set overnight before cutting.


  • If you like, you can add a pinch or two of salt to the crust mixture for a little salty bite.
  • Recipe slightly adapted from More from Magnolia.
  • Yield: Makes 24 2-inch squares.

Recommended Products

Bake or Break is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to and affiliated sites.

Show off your baking masterpiece!

Snap a pic, tag @bakeorbreak, and use #bakeorbreak on Instagram. Can't wait to see your creation!

Share this:

    42 Comments on “Coconut Pecan Shortbread Squares”

  1. I know exactly what you mean! My boyfriend won’t touch coconutty baked goods, and I adore them. So I too need to find people to take the majority of them away BEFORE I even start baking. 🙁 Lord knows what might happen if I was left with all of them…

    This looks delicious! I might swap out the pecans for macadamias though; I have some leftover that need to be used up!

  2. Oooh, that looks good! I too love coconut anyting, toasted even better! My Husband could care less about it. I say we coconut lovers get together and share treats 🙂

  3. ooh – you’re talking my language with these; I’m a sucker for coconut!

  4. I’ll take some of the unwanted coconut baked goods anytime! These look delicious – I’m down for anything that even resembles German chocolate cake!

  5. These look delicious and the recipe seems so simple! Well, simple except for that minor issue of letting the bars sit overnight before you cut into them… I will have a very hard time following that direction.

  6. These look amazing! The perfect treat to disgust my husband with, he hates coconut and any kind of nuts!

  7. Wow! These look really good! I love coconut!


  8. These look incredible! I love anything with coconut, and luckily, my husband does, too. Add pecans and well, these are just about perfect!

  9. Jenn, I think macadamias would be great.

    Rachelle, we need to organize a coconut convention so we can enjoy all of its goodness. 😉

    caked crusader, you and me both!

    Culinarywannabe, it’s been ages since I had german chocolate cake. I so love it.

    Amy, I admit that I didn’t realize they had to sit overnight until I was finished. Not cool.

    Katie, I’m beginning to think the aversion to coconut is a male thing. Maybe it’s genetic. 😉

    Thanks, Hannah!

    Elle, you’re very lucky that you can bake freely with coconut. 🙂

  10. Cant not love this, all the goodie ingredients. I always end up baking stuff like this ans eating alone as hubby cant eat anything sweet.
    The second shot looks so good, its like almost going all the way to my mouth 🙂

  11. Been wondering what happened to you!
    Love the coconut bars. I recently made some similar bars.
    I didn’t really like mine as they had a graham cracker layer on the bottom and I felt that it overbaked, but I would LOVE this shortbread crust. Thanks for the recipe!
    Guess I’m lucky, my husband likes coconut–at least I know he’ll eat an Almond Joy or Mounds!

  12. Ooo these look good. I love coconut anything and this sounds like such a yummy baked good!

  13. I made these once but used strawberries instead of coconut because I have, like you, a coconut-hater in the house.
    These look good, really good.

  14. Thanks, Kate and Ashley!

    Katrina, yours have the added benefit of having chocolate. That’s the only thing that could potentially make these better.

    dawn, thanks! These coconut-haters are nothing but trouble. 😉

  15. I have that cookbook and for some reason never really paid attention to the recipe. 5 ingredients – what could be bad. People who don’t like coconut don’t know what they’re missing 🙂

  16. These look fantastic! Welcome back!

    Do you recommend the Magnolia Bakery book? I have been considering purchasing it.

  17. Coconut is definitely hit or miss with me, but I love almond joys and these actually remind me of a treat my mom used to make for my dad called Chocolate Squares. They were much more than that, a type of shortbread crust on the bottom top with sweetened condensed milk, chocolate chips and coconut. They were incredible and these sound a lot like them!

  18. MM coconut, I bet thesse are delicious.
    Sound like my type of thing! 😀

  19. I have a similar recipe except that I have caramel added then dip the bottoms in melted chocolate and drizzle remaining chocolate on top. Sometimes I will take a short cut an sprinkle chocolate chips on the bottom of the pan before pressing in the shortbread, and some on top of the coconut. Taste similar to the GS Coconut Delites.

  20. Those looks awesome. Thanks for the recipe.

  21. giz, I couldn’t agree more. 😉

    Em, I really like the Magnolia Bakery cookbook. Click here and here for more things from that book.

    Nick, coconut is all hit with me, especially when chocolate is involved.

    Natalie, you should try them!

    hawkswench, your version sounds delicious! I like the idea of dipping the bottoms in chocolate.

    Thanks, aparna.

  22. How can anyone not like coconut?! The entire idea makes my brain hurt. I think I need these squares to live.

  23. I lovelovelove coconut – it’s a brand-new craving of mine, I couldn’t stand the stuff years ago! This recipe looks like i can’t be anything BUT an absolute success, maybe i’ll try it out in my lovely new cake tin 🙂 Let’s see if it’s better than my lemon shortbread – perfect for summer. check it out! You know the link 😉

  24. Yuuuuuuuuuummmmmmm. I LOVE coconut. Didn’t always though. It took some convincing. 🙂 I really really have to make these!

  25. Indigo, let me know how that works out for you. 😉

    Emily, it’s interesting that you have come to like coconut. For Quinn, he says it’s mostly the texture. Anyway, I’ll be sure to check out that lemon shortbread.

    Sarah, I hope you like them!

  26. It’s great seeing you back in action, Jen – I know I will always find delicious baked goods here, and these bars are calling out my name! I love each and every ingredient on them…

  27. I love coconut! Glad you are back with a killer recipe! Thanks!

  28. Patricia, I’m glad to be back in the kitchen!

    Thanks, Maria. These bars really are “killer.” 🙂

  29. I don’t know what I did wrong but the shortbread bottom did not hold together. It was dry, powdery & just fell apart from the absolutely devine topping. I am a fairly seasoned baker so I don’t know what happened. Thanks for your sharing, I have made so many of your recipes & am always getting rave reviews.

  30. Jennifer are you sure this recipe is correct?  Only saw one person who actually made it and they had problems with the crust.  I want to make these for a party but I’m scared to try it. 

  31. could you use coconut flakes (unsweetened)? most sweetened coconut also contains bisulphates which can be deadly for anyone with asthma.

  32. Jennifer, I just recently found your recipe site and was delighted with the Strawberry White Chocolate Oatmeal cookies I baked.  I want to try these pecan bars but need to know how well they freeze.  My husband doesn’t like coconut.    Sad but true. 

    • Thank you, Marge! I haven’t tried freezing these particular bars, but I don’t see why that wouldn’t work. My husband doesn’t like coconut either, and I just don’t get it. 😉 

  33. Sorry. I found this recipe underwhelming. The bars turned out dry and surprisingly tasteless given the sweetened coconut and sweetened condensed milk. I did measure the flour very carefully, but may have overbaked the crust trying to get it to brown a little. I made the dish for a charity function, which I now will not be serving.

  34. I wish I read the comments before making these. The short bread crust is flaking apart. I measured my flour correctly and I allowed it to bake an extra minute but the crust wasn’t light brown.  I allowed it to cool then cut a corner to taste, very bland, but with the topping it would be perfect. The corner piece cut ok, but it was warm. I finished making these and cooled it.  Tried to cut but the crust is so crumbly, it won’t hold.  I planned to take these to a reunion, now I must make something else.  Did some of your friends make these, or just looked at the recipe ingredients.  Something is wrong with this recipe. 

  35. I made this recipe last night for a garden party this afternoon. I thought I’d take a chance and still have a backup plan. I am also a seasoned baker, and I, too, followed the recipe to the letter. I am sorry to say that the shortbread crust doesn’t work. It took about 40 minutes to bake to a light brown, but it was powdery, and this morning when I cut a piece, some of the shortbread stuck to the bottom of the glass pan, some fell apart in my hand, and a layer did not adhere to the topping. The coconut topping is delicious, it’s Hello Dollies without.the chocolate.

    • I’m sorry you had troubles, Donna! I’ve not had the issues you described when I baked this, but shortbread crusts can be temperamental and are notoriously sensitive to measurements. Too much flour, especially, can cause issues. Also, glass pans conduct heat quite differently than metal pans, so I generally don’t recommend using them without factoring in some sort of adjustments for temperature and time.

Leave a Reply

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