
Chewy coconut bars studded with white chocolate and oats, finished with a tangy lime cream cheese frosting—an indulgent copycat of the beloved Starbucks treat.

This Lime Frosted Coconut Bars recipe is one of those sweet discoveries that instantly became a weekend favorite in my kitchen. I first made a batch on a rainy Saturday afternoon when I was craving something bright and zesty to cut through the sweetness of coconut and white chocolate. The combination of chewy oats and shredded coconut in the base gives these bars a satisfyingly soft, slightly dense texture, while the tangy lime cream cheese frosting lifts the whole bite into something surprisingly refreshing. Ever since, these bars have been requested for birthday boxes, potlucks, and anytime company drops by.
What makes these bars special is their balance: the base is mildly sweet and coconut-forward, the white chocolate provides little pockets of creamy richness, and the lime frosting adds a fresh, citrusy finish that prevents the dessert from feeling cloying. I often find that they travel well and keep their texture better than many frosted squares. They’re easy to scale and forgiving—perfect for the home cook who wants a pretty, crowd-pleasing traybake without fuss. Read on for detailed techniques, storage tips, and a few small tricks I use to get the frosting silky-smooth every time.
I remember serving these to my neighbor’s kids who normally avoid citrus desserts—within minutes there were sticky fingers and big smiles. My partner liked them straight from the fridge, while I prefer them after a short rest at room temperature so the frosting becomes a little softer and the base is more yieldy. They’ve become my go-to dessert when I want something pretty but not fussy.
My favorite thing about these bars is how they bridge comfort and brightness—coconut and white chocolate feel indulgent, but the lime frosting keeps each square lively. A few friends who rarely choose baked goods went back for seconds, and after one potluck a reader messaged me that they’d become their new office bake sale favorite. Small technique choices—like cooling the base fully and using room temperature cream cheese—make a noticeable difference.
Store the bars in an airtight container in the refrigerator for up to 4 days. To keep the frosting fresh, place a sheet of parchment between layers if stacking. For longer storage, wrap the unfrosted slab tightly in plastic wrap and then foil, freeze for up to 3 months, and thaw overnight in the fridge before frosting and serving. When reheating slightly for a softer texture, leave the bar at room temperature for 10–15 minutes or zap a single slice for 8–10 seconds in the microwave.
If you prefer a less sweet base, use unsweetened shredded coconut and reduce the brown sugar to 1/3 cup. For a gluten-free option, substitute a 1:1 gluten-free flour blend for the all-purpose flour and ensure your oats are certified gluten-free. To avoid dairy, swap the butter for a vegan margarine and use a dairy-free cream cheese alternative in the frosting; note the flavor and texture will be slightly different. If white chocolate isn’t available, milk chocolate chips work, but they will change the flavor profile.
Serve these bars with a bright espresso or a citrus-forward tea to complement the lime. For gatherings, arrange them on a platter with a light dusting of extra lime zest and a few whole limes for color. Offer alongside sliced fresh fruit—mango or berries—so guests can build a mini-dessert plate. These bars are perfect for brunch buffets, picnic boxes, or gift tins when wrapped in parchment and tied with twine.
While not a traditional dish with a long history, coconut-lime flavor pairings are rooted in tropical cuisines where coconut and citrus are common. The texture and form of these bars take cues from American traybakes and bakery bars popularized in coffee shops—dense, portable, and easy to slice. This particular style of frosted square has become a staple in modern patisseries and cafes because it balances ease of service with visual appeal.
In summer, amplify the citrus element by adding a teaspoon of lime curd swirled into the frosting before chilling. For winter, swap lime for orange zest and juice to create a cozy citrus-coconut square, and consider mixing toasted shredded coconut into the base for extra warmth. Holiday versions can include a sprinkle of flaky sea salt on top to contrast the sweetness and highlight the white chocolate.
Bake the base up to two days ahead and keep it wrapped in the fridge. Prepare the frosting the morning you plan to serve and spread close to serving time to preserve the bright lime aroma. For packed lunches, slice and place each bar in a small airtight container; add a folded paper towel under the lid to absorb any condensation if you’ll be carrying them in warm weather.
These squares are a joyful balance of chewy, sweet, and tangy—ideal for sharing. I hope you enjoy making them as much as I do; tweak the lime level to taste and don’t be afraid to add a little extra toasted coconut on top for drama. Happy baking!
Bring the cream cheese and butter to room temperature before mixing to ensure a smooth, lump-free frosting.
Cool the baked base completely before frosting to prevent the frosting from melting and becoming runny.
For clean slices, chill the frosted slab for 20–30 minutes and wipe your knife between cuts with a warm towel.
This nourishing lime frosted coconut bars (starbucks copycat) recipe is sure to be a staple in your kitchen. Enjoy every moist, high protein slice — it is perfect for breakfast or as a wholesome snack any time.
This Lime Frosted Coconut Bars (Starbucks Copycat) recipe makes perfectly juicy, tender, and flavorful steak every time! Serve with potatoes and a side salad for an unforgettable dinner in under 30 minutes.

Preheat the oven to 350°F. Line an 8 x 8-inch baking pan with parchment paper and lightly grease. Set aside.
Beat 1/2 cup softened butter with 1/2 cup packed brown sugar on medium speed until light and creamy, about 1 minute. Scrape down the bowl and beat another 30–60 seconds.
Add 1 room-temperature egg and beat until incorporated. Fold in 1/2 cup rolled oats, 1 cup all-purpose flour, 1/2 tsp baking powder, 1/4 tsp salt, and 2/3 cup shredded coconut. Mix until just combined, then fold in 1/3 cup mini white chocolate chips.
Press batter evenly into the prepared pan and bake at 350°F for 28–32 minutes until golden and slightly firm to the touch. Cool completely in the pan on a wire rack.
Beat 1/4 cup softened cream cheese with 2 tablespoons softened butter until smooth. Add 1 1/2 cups powdered sugar gradually, then stir in 1 tablespoon lime zest and 1 tablespoon lime juice. Add a drop of green food coloring if desired.
Spread frosting over the cooled base, chill for 15–20 minutes to set, then drizzle melted white chocolate and sprinkle 3 tablespoons shredded coconut. Chill until firm and slice into 9 bars.
Last Step: Please leave a rating and comment letting us know how you liked this recipe! This helps our business to thrive and continue providing free, high-quality recipes for you.
Leave a comment & rating below or tag
@sararecipes on social media!


Golden chicken tucked into crisped tortillas with melty cheddar and mozzarella, plus a creamy garlic sauce. Weeknight-friendly and ready in 25 minutes.

Crispy waffle fries piled with tender sliced steak, sautéed peppers and onions, and gooey American cheese—an indulgent, shareable skillet perfect for weeknight dinners or game-day gatherings.

Tender, spiced pumpkin bars finished with a silky cream cheese frosting—perfect for fall gatherings, potlucks, and cozy afternoons.

Leave a comment & rating below or tag @sararecipes on social media!
Enjoyed this recipe? Share it with friends and family, and don't forget to leave a review!
This recipe looks amazing! Can't wait to try it.
Comments are stored locally in your browser. Server comments are displayed alongside your local comments.
Join to receive our email series which contains a round-up of some of our quick and easy family favorite recipes.