Prep Time 20 minutes mins
Cook Time 18 minutes mins
Resting Time 30 minutes mins
Total Time 1 hour hr 8 minutes mins
For best tropical flavor, drain the pineapple very well so the batter doesn’t become soggy, and reserve only the amount of juice you need; overmixing the batter can make the cupcakes dense, so stop as soon as the flour disappears. Make sure the cupcakes are fully cool before frosting to keep the buttercream from melting, and if your kitchen is warm, chill the frosted cupcakes for 10 to 15 minutes to help them set. You can toast the coconut in a dry skillet over medium heat, stirring frequently until golden, and let it cool before using. These cupcakes taste even better after a short rest as the flavors meld, and they keep well covered in the refrigerator for up to 3 days—just let them come to room temperature before serving for the best texture.