Preheat the oven to 350 degrees F. Line a cookie sheet with parchment paper.
In a large bowl, add butter, granulated sugar, and brown sugar. Beat with an electric mixer on medium until creamed.
Add in the eggs, vanilla extract, and coconut extract if you’re using it. Mix on medium until the eggs are incorporated.
In a separate bowl, add in the flour, baking soda, and salt. Whisk to combine.
Add the dry ingredients and coconut to the wet ingredients. Beat until the flour is worked into the cookie dough.
Using a 1 1/2 tablespoon cookie scoop, scoop the cookie dough onto the prepared cookie sheet leaving 1 1/2 inches between each dough ball.
Place in the oven and bake for 11 to 13 minutes or until the edges are golden brown.
Let cool on the cookie sheet for 5 minutes before transferring to a wire rack or paper towel to cool completely.
Store in an airtight container at room temperature.