I love recreating bakery-style treats at home, and these Starbucks-inspired lime frosted coconut bars are one of my favorites. They bring together a soft, buttery coconut base with a bright, tangy lime frosting that feels refreshing and indulgent at the same time.
Why You’ll Love This Recipe
I enjoy how these bars balance sweetness with a zesty citrus kick. The coconut gives them a rich texture, while the lime frosting adds a fresh, vibrant flavor that keeps me coming back for more. I also appreciate how simple they are to make with basic ingredients, yet they taste like something straight from a café display case.
ingredients
(Here’s a tip: Check out the full list of ingredients and measurements in the recipe card below.)
For the coconut base:
1 cup unsalted butter, softened 1 1/2 cups granulated sugar 4 large eggs 1 teaspoon vanilla extract 1 teaspoon coconut extract 2 cups all-purpose flour 1/2 teaspoon baking powder 1/4 teaspoon salt 1 cup shredded sweetened coconut
For the lime frosting:
1/2 cup unsalted butter, softened 3 cups powdered sugar 2 tablespoons fresh lime juice 1 tablespoon lime zest 1–2 tablespoons milk (as needed for consistency)
directions
I start by preheating the oven to 350°F (175°C) and lining a baking pan with parchment paper.
In a large bowl, I cream together the butter and sugar until the mixture becomes light and fluffy. Then I add the eggs one at a time, mixing well after each addition. I stir in the vanilla and coconut extracts.
In another bowl, I whisk together the flour, baking powder, and salt. I gradually add the dry ingredients into the wet mixture, stirring until just combined. Then I fold in the shredded coconut.
I spread the batter evenly into the prepared pan and bake for about 25–30 minutes, until the top is lightly golden and a toothpick inserted in the center comes out clean. I let the bars cool completely before frosting.
For the frosting, I beat the butter until smooth, then gradually add powdered sugar. I mix in the lime juice and zest, then add milk a little at a time until I reach a smooth, spreadable consistency.
I spread the frosting over the cooled bars and let it set before slicing into squares.
Servings and timing
I usually get about 16 bars from this recipe. Prep time takes around 15 minutes. Bake time is about 25–30 minutes. Total time comes to roughly 45 minutes plus cooling.
Variations
I sometimes swap lemon juice and zest for lime when I want a different citrus flavor. I like adding a thin layer of toasted coconut on top of the frosting for extra texture. For a richer taste, I occasionally mix white chocolate chips into the base.
storage/reheating
I store these bars in an airtight container at room temperature for up to 2 days, or in the refrigerator for up to 5 days. If I refrigerate them, I let them sit at room temperature for a few minutes before serving so the frosting softens nicely. I don’t usually reheat them, as they taste best slightly cool or at room temperature.
FAQs
Can I use unsweetened coconut instead of sweetened?
I can, but I notice the bars turn out less sweet and slightly drier, so I sometimes add a bit more sugar to balance it.
Can I make these bars ahead of time?
I often make them a day in advance, and they hold up really well once stored properly.
How do I get a stronger lime flavor?
I add extra lime zest or a little more juice to the frosting for a more intense citrus taste.
Can I freeze these bars?
I freeze them without frosting, then thaw and frost later for the best texture.
What size pan should I use?
I typically use a 9×13-inch pan, which gives the bars the perfect thickness.
Conclusion
I find these lime frosted coconut bars to be a perfect homemade version of a café favorite. They’re easy to prepare, full of bright flavor, and always a hit whenever I share them. Whether I’m making them for a gathering or just to enjoy at home, they never last long.