Preheat your oven to 350 degrees Fahrenheit. This ensures the cookies will bake evenly and develop that golden color we all love.
Line your cookie sheets with parchment paper. This prevents the cookies from sticking and makes cleanup much easier.
If you haven't already toasted your coconut, spread it out in a single layer on a cookie sheet and bake it in the preheated oven for 5 to 7 minutes. Watch closely as it can burn quickly! You want it to be lightly golden brown.
In a small bowl, combine flour, baking soda, baking powder, and salt. Stir together well and set aside. This will be your dry mixture that adds structure to your cookies.
In a large mixing bowl, use a mixer to beat together the softened butter and white sugar until the mixture is smooth and fluffy. This step is crucial as it adds air to the batter, making the cookies light and chewy.
Next, beat in the egg, vanilla extract, (if you're using it), coconut extract, lime juice, and lime zest. Mix until everything is well incorporated.
Gradually blend in the dry ingredients and toasted coconut into the wet mixture. Do this slowly to prevent flour from flying everywhere!
Once the dough is mixed, use a spoon or your hands to roll rounded teaspoonfuls of dough into balls. Then, roll each ball in sugar to coat them nicely. This will create a sweet crust.
Place the cookie dough balls on the lined cookie sheets, making sure to leave about 1 ½ inches of space between each one. They will spread out while baking, so it’s important to give them room.
Bake the cookies in the preheated oven for 8 to 10 minutes until they are lightly browned on the edges. Keep an eye on them to avoid overbaking.
After baking, let the cookies stand on the cookie sheet for 2 minutes before transferring them to wire racks to cool completely. This helps them set and develop the perfect chewy texture.