Pina Colada Cookie Recipe with Coconut and Rum

Pina colada cookies are sugar cookies infused with pineapple and coconut, topped with a creamy coconut buttercream, a spoonful of pineapple compote and a sprinkle of toasted coconut. They capture the tropical flavor of the classic cocktail in a handheld treat — sweet, bright, and perfect for warm-weather gatherings.

A pina colada cookie on a cookie sheet.

These cookies offer pronounced coconut and pineapple notes without being overwhelming. The cookie base is tender and lightly sweet, the coconut buttercream adds richness and a true coconut flavor, and the pineapple compote gives a bright, jam-like bite that keeps each bite interesting. They’re great for summer parties, bake sales, or any time you want a dessert that feels festive and a little tropical.

Why You Will Love These Cookies

  • Pineapple + Coconut: A classic, crowd-pleasing tropical flavor pairing.
  • Summer Ready: Bright, refreshing flavors make these ideal for warm months and outdoor gatherings.
  • Simple to Make: No chilling or dough cutting required — straightforward mixing, scooping, and baking.

Ingredient Notes

Full ingredient measurements and the complete step-by-step instructions are included in the recipe section below. A few notes on some of the ingredients that make these cookies shine:

  • Oil: Melted coconut oil enhances the coconut flavor, but any neutral oil (vegetable, canola) will work if you prefer.
  • Pineapple Juice: A small can of pineapple juice or a couple of tablespoons drained from crushed pineapple is all you need for the dough.
  • Flour: For best results weigh your flour. If you don’t have a scale, lightly spoon flour into the measuring cup without packing it down.
  • Sour Cream: Used in the buttercream for tang and creaminess; Greek yogurt can be substituted if that’s what you have on hand.
  • Coconut Cream: Canned coconut cream is excellent for an intense coconut flavor, but coconut coffee creamer or regular milk/cream will also work for adjusting buttercream texture.
the cookie dough on a baking sheet with a bowl and cookie scoop to the side.

Recipe Instructions

Pineapple Compote

Step 1: In a small saucepan combine granulated sugar, cornstarch, crushed pineapple, water and a pinch of salt. Cook over medium heat, stirring constantly, until the mixture boils and thickens to a jam-like consistency — this usually takes about 8–12 minutes. Remove from heat, stir in a splash of vanilla, then transfer to a bowl and cool completely. Chill in the refrigerator if you prefer a firmer compote before assembling the cookies.

starting the pineapple compote
pineapple compote when finished

Cookies

Step 2: Preheat the oven to 350°F (175°C). Line baking sheets with parchment paper.

Step 3: In the bowl of a stand mixer (or with a large bowl and electric mixer) beat together softened butter, melted coconut oil and both sugars on medium-high until light and fluffy, about 3–4 minutes.

Step 4: Add the egg, pineapple juice, shredded coconut and vanilla extract and mix on medium for about 2 minutes so everything is fully incorporated.

wet ingredients.
cookie dough all mixed.

Step 5: On low speed add baking soda, cream of tartar, salt and flour, mixing just until combined. Do not overmix. Use a 3-tablespoon scoop or large spoon to portion dough into balls. Place 6–8 dough balls per baking sheet, spacing them well. Flatten each ball to about 1/2 inch thick — lightly spray the bottom of a glass and dip it in sugar before pressing for a textured, sugary top. Bake 8–10 minutes, until the edges show a faint golden rim and the centers are set. Cool completely before frosting.

cookie dough before baking.
cookies after baking.

Coconut Buttercream

Step 6: In a mixer bowl beat together softened butter, sour cream, coconut extract, vanilla and a pinch of salt with two cups of powdered sugar on low until combined. Add coconut cream (or milk) and an additional 1–2 cups powdered sugar and beat on medium-high for about 2 minutes until light and fluffy. Adjust powdered sugar or cream to reach your desired spreadable consistency.

Step 7: Frost each cooled cookie with a generous layer of coconut buttercream, top with a spoonful of pineapple compote, and finish with a sprinkle of toasted shredded coconut.

cookie with buttercream
pina colada cookies all done.

Expert Baking Tips

  • Press the dough with a glass for a pretty textured edge; you can also flatten gently with your hands if you prefer a softer look.
  • These cookies taste great chilled. After the frosting sets, store them in an airtight container and try them cold — the buttercream firms up and the flavors meld.
  • If you prefer a classic buttercream, swap the coconut cream for milk and reduce coconut extract, adding a bit more vanilla instead.
a pina colada cookie broken in half.

FAQ

How do I know if my cookies are done baking?

They’re done when the centers are no longer glossy and the edges or bottoms show a faint golden brown. The cookies will continue to set as they cool, so avoid overbaking.

How do I toast the coconut?

Toast shredded coconut in a small skillet over low heat with about 1 teaspoon of butter, stirring constantly until it turns light golden. Remove immediately to cool so it doesn’t burn.

Why is my pineapple compote still runny?

If the compote remains liquid, it likely needs more time on the heat. Continue to simmer and stir until it reaches a thicker, jam-like consistency, then cool to thicken further.

a side view of pina colada cookies.

Storing & Freezing

Store assembled pina colada cookies in an airtight container at room temperature or in the refrigerator for 3–4 days. For longer storage, freeze the cookies either before or after frosting. If freezing with frosting, place them on a flat tray and flash-freeze until firm, then stack and store in an airtight container to prevent sticking.

Other Popular Recipes to Try

  • a close up of brown butter rice krispie treats with a marshmallow being pulled and stretched.
    Brown Butter Rice Krispie Treats
  • a closeup of a few blueberry peach muffins.
    Blueberry Peach Muffins
  • a bunch of chocolate chip potato chip cookies with a little salt on the side.
    Chocolate Chip Potato Chip Cookies
  • strawberry doodle cookies on a cookie sheet.
    Strawberry Doodle Cookies

For more recipes and photos follow along on Instagram @thesaltedsweets. If you make these cookies, please tag the account and share your feedback — I love seeing your results!

Pina Colada Cookies — Recipe Summary

Yields: about 17 cookies. Prep time: 20 minutes. Bake time: 8–10 minutes per batch. Total time: ~30 minutes (plus cooling).

Ingredients (high level)

  • Pineapple compote: crushed pineapple, granulated sugar, cornstarch, water, pinch of salt, splash of vanilla.
  • Cookies: butter, coconut oil, powdered sugar, granulated sugar, egg, pineapple juice, shredded coconut, coconut extract, vanilla, baking soda, cream of tartar, salt, all-purpose flour.
  • Coconut buttercream: butter, sour cream (or Greek yogurt), coconut extract, vanilla, powdered sugar, coconut cream (or milk), toasted shredded coconut for topping.

Assembly

Make the pineapple compote and cool. Prepare and bake the cookies, then cool completely. Make the coconut buttercream and spread on each cookie, top with compote and toasted coconut. Chill if desired and store in an airtight container for up to 3–4 days or freeze for longer storage.