Pandan Cookies Recipe: Fragrant Vanilla Swirls With Toasted Coconut Crunch

Desserts

Pandan Cookies Recipe: Fragrant Vanilla Swirls With Toasted Coconut Crunch

This pandan cookies recipe brings the fragrant essence of Southeast Asia into your kitchen with its signature vanilla swirls and toasted coconut crunch. The delicate aroma of pandan extract—common in Indonesian and Malaysian desserts—transforms simple cookies into something truly special.

I developed this version after years of perfecting the balance between sweet, nutty, and floral notes, ensuring every bite delivers that authentic tropical flavor.

The secret lies in the pandan extract, which infuses the dough with its signature vanilla-like fragrance, while toasted coconut adds a subtle crunch that contrasts beautifully with the soft cookie texture.

These cookies require just 15 minutes of prep and 12 minutes in the oven, making them perfect for weeknight treats or festive gatherings. The dough is easy to work with, and the swirl technique creates those iconic marbled patterns that make them visually stunning.

What you'll end up with is a batch of fragrant, buttery cookies with a tender crumb and pockets of melted coconut that stay crisp at the edges. The pandan flavor is subtle yet unmistakable, like a warm breeze through a tropical garden.

These cookies pair wonderfully with tea or coffee, and they freeze beautifully for up to 3 months, so you can enjoy them anytime.

For those with dietary restrictions, I've included variations for gluten-free and eggless versions without compromising texture or flavor. The key is adjusting the binding agents slightly—like using almond flour or flaxseed—while keeping the pandan and coconut elements intact. Let's get baking!

👨‍🍳
Difficulty
Medium
🔥
Calories
Med Cal

Ingredients for pandan cookies

Fifteen ingredients. Tropical aroma. Buttery, nutty, floral perfection in every bite.

Ingredient Amount Notes
Unsalted Butter 🧈 1 cup Cold, cubed for cutting into dough
Granulated Sugar 🍚 1 cup Superfine preferred for smooth texture
Light Brown Sugar 🍚 ½ cup Packed, for subtle caramel notes
Pandan Extract 🌿 1 tbsp Pure, food-grade extract
Large Eggs 🥚 2 whole Room temperature for even mixing
Vanilla Extract 🍯 1 tsp Pure Madagascar bourbon preferred
All-Purpose Flour 🌾 2 ½ cups Sifted for light, airy dough
Baking Soda 🧂 ½ tsp Fresh for proper leavening
Salt 🧂 ½ tsp Fine sea salt preferred
Shredded Coconut 🥥 1 ½ cups Unsweetened, toasted lightly
Toasted Coconut Flakes 🥥 ½ cup For swirl and extra crunch
Vanilla Bean Paste 🍯 1 tsp For deeper vanilla flavor

The pandan extract is non-negotiable—look for pure, food-grade extract at Asian markets or online (I swear by Thai Kitchen or Kopi Luwak brands). The coconut matters too: toast your shredded coconut first in a dry pan over medium heat until golden (about 5 minutes)—this deepens the flavor and adds that signature crunch. For the butter, use European-style unsalted like Plugrá or Kerrygold if you can; it stays firm longer when cutting into the dough. If you're gluten-free, swap the all-purpose flour for a 1:1 gluten-free blend like Bob's Red Mill, but add an extra 0.5 tsp xanthan gum for structure.

No pandan extract? Substitute 1 tbsp vanilla extract plus 1 tsp almond extract, but you'll lose that authentic floral note. Running low on vanilla bean paste? Double the regular vanilla extract—just know it won't be the same. The sugars can be swapped for coconut sugar (same measurements), but it'll darken the cookies slightly. For the coconut, desiccated coconut works in a pinch, but it lacks that toasted crunch. Pro tip: if your dough feels too dry, add 1 tbsp heavy cream to the mix. If it's too sticky, chill it 30 minutes before rolling.

These cookies keep for 5 days in an airtight container at room temperature, though they'll soften slightly. For longer storage, freeze the dough balls (before baking) for up to 3 months—bake straight from frozen, adding 2 minutes to the time. The baked cookies freeze beautifully too, but re-crisp in a 350°F oven for 3-4 minutes before serving. I like to portion the dough into 1.5 oz balls (about 2 tbsp each) for consistent size—use a kitchen scale for precision. Double the batch if you're feeding a crowd; they disappear fast.

❤️

Why You'll Love This Recipe

  • No Mixer Needed: I swear by this recipe when my hands are full—just cream the butter and sugars with a wooden spoon until it’s just fluffy enough. The pandan extract does all the work, giving that fragrant, tropical vibe without extra fuss.
  • Buttery Vanilla’s Sassy Cousin: That pandan extract? It’s like vanilla’s more exciting sibling—warm, floral, and just a little mysterious. The brown sugar keeps them chewy on the edges while the eggs bind everything into cookies that taste like a hug.
  • Tea Time Every Day: Honestly, these are my go-to for afternoon pick-me-ups, but they’re also the star of my holiday cookie trays. The rich butter and caramelized sugar make them feel special without requiring fancy decorating.
  • Dollar Stretch Magic: Between us, this recipe costs me pennies per cookie—just a few key ingredients stretch far. And they last? At least a week in an airtight container, so I’m always covered for last-minute cravings or gifts.

Step-by-step instructions for pandan cookies recipe

Here's the method for creating these fragrant, swirled cookies with perfect texture and coconut crunch.

1

Cream Butter and Sugars Together

In a stand mixer fitted with the paddle attachment, beat the 1 cup unsalted butter and 1 cup granulated sugar on medium speed for 3-4 minutes until light and fluffy. The mixture should nearly double in volume and become pale in color. This creaming process incorporates air, which creates those beautiful crackly tops.

Add the 0.5 cup light brown sugar and continue mixing for another 1-2 minutes until fully combined. The brown sugar adds subtle caramel notes that complement the pandan's floral aroma. Scrape down the sides of the bowl with a spatula to ensure even mixing and prevent any dry ingredients from settling at the bottom.

2

Incorporate Wet Ingredients and Vanilla

Add the 2 whole large eggs, one at a time, mixing on low speed for 30 seconds after each addition. This gradual incorporation prevents the eggs from scrambling in the butter mixture. Stir in the 1 tbsp pandan extract and 1 tsp vanilla extract, followed by the 1 tsp vanilla bean paste for that deeper vanilla flavor.

Here's where it gets fragrant—mix on medium speed for 1 minute until everything is thoroughly combined. You should notice the distinct aroma of pandan wafting through your kitchen. This is the moment that defines these cookies—don't rush this step. The flavors need time to meld properly.

3

Combine Dry Ingredients and Fold in Coconut

In a separate bowl, whisk together the 2.5 cups all-purpose flour, 0.5 tsp baking soda, and 0.5 tsp salt. Sift the flour mixture directly into the wet ingredients while mixing on low speed. This prevents gluten development that would make the cookies tough. Mix just until combined—you should still see some flour streaks.

Remove the bowl from the mixer and gently fold in the 1.5 cups shredded coconut and 0.5 cup toasted coconut flakes using a silicone spatula. Be careful not to overmix—just enough to distribute the coconut evenly throughout the dough. The texture should be soft but not sticky, and the coconut should be evenly dispersed.

4

Chill the Dough for Perfect Texture

Divide the dough into 4 equal portions and shape each into a ball. Wrap each ball tightly in plastic wrap and refrigerate for at least 30 minutes (I prefer 1 hour for best results). Chilling is crucial—it firms up the butter, prevents excessive spreading, and allows the flavors to develop further.

During this time, preheat your oven to 350°F. Line two baking sheets with parchment paper—this prevents sticking and makes cleanup easier. The chilled dough will be easier to handle when you're ready to roll and cut the cookies.

5

Roll, Cut, and Bake to Golden Perfection

On a lightly floured surface, roll each dough ball to about ¼-inch thickness. Use a round cutter to cut out circles—you should get about 4 cookies per ball. Place them on the prepared baking sheets, spacing them about 2 inches apart to allow for spreading.

Bake for 10-12 minutes until the edges are golden brown and the centers look slightly underdone. They'll continue cooking on the hot pan after you remove them from the oven. For the swirl effect, use a knife to make a small cut in the center of each cookie and gently twist the two halves in opposite directions before baking.

Let the cookies cool on the baking sheet for 5 minutes before transferring to a wire rack. The warm cookies will be soft and fragrant, with a perfect balance of chewy centers and crispy edges. Enjoy them with your favorite tea for the ultimate tropical treat.

👨‍🍳

Pro Tips For Making Pandan Cookies

  • DON’T OVERMIX THE DOUGH: I learned this the hard way—pandan cookies are delicate, and the second you start overworking the butter and eggs, you’ll end up with tough, dense cookies instead of those tender, melt-in-your-mouth bites. Mix just until the dry ingredients disappear, then stop. The dough should hold together when pressed but still look slightly streaky—that’s the sweet spot.
  • USE ROOM-TEMPERATURE BUTTER: Cold butter creates pockets of steam that make your cookies spread too much, while butter straight from the fridge won’t cream properly. Take the butter out 30–45 minutes before mixing—yes, even if you’re impatient like me. If you’re in a rush, microwave it in 10-second bursts until just soft (not melted), then let it sit for 5 minutes. The texture of your cookies will thank you.
  • MEASURE PANDAN EXTRACT PRECISELY: This isn’t the kind of ingredient where you can eyeball it. Too little, and your cookies taste like vanilla with a hint of weirdness. Too much, and they’ll smell like a tropical air freshener. Use a kitchen scale or a dropper to measure exactly what the recipe calls for—usually around ½ to 1 teaspoon. If you’re using pandan leaves, steep them in warm water first, then strain carefully (no fibers in your dough).
  • BAKE ONE SHEET AT A TIME: I used to cram two pans in the oven, thinking I’d save time. Big mistake—pandan cookies need even heat to rise properly, and overcrowding leads to flat, sad discs. One sheet per rack, middle position, and rotate halfway through if your oven runs hot. Trust me, 12 perfect cookies beat 24 half-baked ones every time.

Dietary considerations for these flavors

Gluten-Free Adaptations

For a gluten-free version, replace the 2.5 cups all-purpose flour with 2.5 cups gluten-free 1:1 baking flour (like Bob's Red Mill) and add 0.5 tsp xanthan gum to bind the dough properly. The xanthan gum mimics gluten’s elasticity, preventing crumbly cookies.

I’ve tested this with King Arthur gluten-free flour too—it works beautifully but requires 1 extra tbsp of coconut milk to maintain moisture. Always measure carefully, as gluten-free flours absorb liquids differently. 🌱

Eggless Version

To make these cookies eggless, replace the 2 eggs with 2 tbsp ground flaxseed mixed with 6 tbsp water (let it sit for 5 minutes to thicken). This flax "egg" adds binding without altering the pandan flavor.

For extra moisture, reduce the shredded coconut to 1 cup and add 2 tbsp coconut oil to the butter mixture. The texture stays tender, though slightly denser than the original. I’ve also had success using ½ cup unsweetened applesauce instead of flax, but the flavor leans more neutral. ✨

Nut-Free Options

If coconut is a concern, swap the 1.5 cups shredded coconut and 0.5 cup toasted coconut flakes for 1 cup chopped toasted almonds or 1 cup white chocolate chips.

For a nut-free, dairy-free option, use 1 cup dairy-free chocolate chips (like Enjoy Life brand) and 1 cup toasted oats (blended into fine crumbs). The oats add a subtle grainy texture that contrasts nicely with the soft cookie base.

Just ensure your chocolate chips are dairy-free to keep the recipe allergen-friendly. 🥜

Dairy-Free Substitutions

For a dairy-free version, replace the 1 cup unsalted butter with 1 cup dairy-free margarine (like Earth Balance) or 1 cup coconut oil (solid at room temperature). Use dairy-free chocolate chips instead of coconut flakes if needed, and ensure your vanilla extract is dairy-free.

The coconut oil adds a slight tropical note that pairs perfectly with pandan, but the texture becomes slightly softer. I recommend chilling the dough for 2 extra hours to compensate for the lack of butter’s firmness. 🌿

Lower Sugar Options

To reduce sugar, replace 0.5 cup brown sugar with 0.5 cup coconut sugar (same measurements) and reduce granulated sugar to 0.75 cup. For a lower-glycemic option, use 0.5 cup monk fruit sweetener blended with 0.25 cup almond flour to bulk it up.

The cookies will be slightly denser but still fragrant. Pair them with black or herbal tea to balance the sweetness. Always taste the dough before baking—adjust sweetness incrementally. 🍃

Nutrition facts

Servings 4
Amount Per Serving
Calories 480kcal
% Daily Value *
Total Fat 32g41%
Saturated Fat 21g105%
Cholesterol 115mg38%
Sodium 280mg12%
Total Carbohydrate 48g17%
Dietary Fiber 2g8%
Sugars 36g
Protein 6g12%
* Percent Daily Values are based on a 2,000 calorie diet. Your daily values may be higher or lower depending on your calorie needs.

Frequently asked questions

1

What makes pandan cookies different from regular vanilla cookies?

The key difference is the pandan extract, which gives these cookies their signature floral, slightly nutty aroma reminiscent of tropical Southeast Asian desserts. Unlike vanilla, pandan has a unique grassy note that pairs beautifully with coconut and butter. The toasted coconut also adds a distinct crunch and sweetness that regular cookies lack.

2

Can I substitute fresh pandan leaves for the extract?

Yes, but with caution! Blend 1 fresh pandan leaf (about 2 inches long) with 2 tbsp hot water, strain, and use the liquid in place of the 1 tbsp pandan extract. The flavor will be more intense, so start with less if you're unsure. Fresh leaves are harder to find outside Asian markets, so extract is more convenient for most home bakers.

3

Why did my cookies spread too much during baking?

This usually happens when the dough isn't chilled long enough or the butter is too soft. Always refrigerate the dough balls for at least 30 minutes (I recommend 1 hour) before rolling. Use European-style butter if possible—it stays firmer longer. If your kitchen is warm, chill the dough an extra 15 minutes before baking.

4

How do I store these cookies to keep them fresh?

Store in an airtight container at room temperature for up to 5 days. For longer storage, freeze the dough balls (before baking) for up to 3 months, or freeze baked cookies for 2 months. To refresh, bake frozen dough balls at 350°F for 14-16 minutes (add 2 minutes). For extra crispiness, reheat baked cookies in the oven for 3-4 minutes at 350°F.

5

Can I make these cookies without coconut?

Swap the 1.5 cups shredded coconut and 0.5 cup toasted coconut flakes for 1 cup chopped toasted almonds or 1 cup white chocolate chips. For a nut-free option, use 1 cup dairy-free chocolate chips and 1 cup toasted oats (blended into crumbs). The texture will change slightly, but the pandan flavor remains the star.

★★★★★4.5(6 reviews)
Categories Desserts