Tasty Coconut Lime Bars

Featured in: Satisfy Your Sweet Tooth

These coconut lime treats combine a soft, chewy coconut base with a vibrant lime frosting. Finished with a sprinkle of shredded coconut and a swirl of white chocolate on top, they deliver a perfect mix of citrus and sweet flavors. This simple, copycat Starbucks treat is ideal for sharing at gatherings or enjoying any time you crave a tropical snack.

A woman in a white shirt and apron smiles for the camera.
Updated on Thu, 01 May 2025 15:12:17 GMT
A dessert square on a white plate. Pin it
A dessert square on a white plate. | tastefullyeats.com

This tangy coconut lime delight combines creamy coconut blondies with a fresh lime topping that's just like those famous Starbucks treats everyone craves. After tons of kitchen experiments, I've nailed this homemade version that my buddies now ask for instead of buying the real thing!

The first batch I whipped up for my kid's friends vanished quicker than any store treat ever did. They've become our family's go-to dessert whenever we're celebrating good news around here.

Ingredients

  • Butter: Gives these bars that wonderful melt-in-your-mouth goodness
  • Brown sugar: Adds those sweet caramel hints that work so well with coconut
  • Egg: Keeps everything together and adds needed moisture
  • Vanilla extract: Boosts the overall taste without being too strong
  • Coconut extract: Pumps up the tropical flavor—grab the real stuff if you can
  • Flour: Forms the foundation—stick with all-purpose for best outcome
  • Baking powder: Creates just the right lift without making them too fluffy
  • Salt: Cuts through the sweetness—don't skip it even with salted butter
  • Shredded coconut: Delivers real texture and flavor—unsweetened works better
  • White chocolate chips: Make small bursts of sweetness throughout
  • Lime extract: Brings that key citrus kick without extra liquid
  • Powdered sugar: Makes a smooth, lump-free frosting
  • Heavy cream: Creates a velvety frosting texture—you can use milk if needed
  • Lime juice: Brings natural tang and brightens the topping
  • Food coloring: Gets you that classic Starbucks light green look

Step-by-Step Instructions

Prepare Your Workspace:
Heat your oven to 350°F and put parchment paper in an 8x8 baking pan with extra hanging over the sides for easy lifting. This paper stops sticking and makes cleanup super easy.
Create the Base:
Beat room temp butter and brown sugar for at least 3 minutes until it's fluffy and pale. This adds air for the perfect texture. Mix in the egg, vanilla, and coconut extract until everything looks smooth. Don't forget to scrape the bowl so everything mixes evenly.
Add Dry Ingredients:
Fold in the flour, baking powder, salt, and coconut with a spatula. Mix just until you can't see dry flour anymore—too much mixing makes tough bars. Gently add white chocolate chips so they spread out evenly.
Bake to Perfection:
Spread the thick mix evenly in your pan using a spatula to make it flat. Bake for exactly 15-16 minutes until the edges look golden but the middle seems slightly soft. They'll keep cooking as they cool, so this stops them from getting too dry.
Prepare the Lime Frosting:
Beat soft butter in a big bowl for about 2 minutes until creamy. Slowly add powdered sugar, heavy cream, lime juice, and lime extract, starting on low speed then going faster once mixed. Beat for 3-4 minutes until it's really light. Add food coloring tiny drops at a time until you get that soft lime green color.
Assemble and Finish:
When bars are totally cool, spread on the lime frosting in an even layer. Melt white chocolate in short 15-second bursts in the microwave, stirring between each, until smooth. Drizzle the chocolate in zigzags over the frosting with a bag or spoon. Sprinkle extra coconut on top before the chocolate hardens. Chill for 20 minutes, then cut into 16 even squares.
A white plate with a dessert on it. Pin it
A white plate with a dessert on it. | tastefullyeats.com

The coconut really shines in this treat. I found that unsweetened coconut works better than the sweet kind because you can control how sugary it gets. My grandma always told me good coconut desserts should remind you of the tropics, not just taste sugary, and this recipe does just that.

Storage Solutions

These bars actually taste better after spending a day in the fridge as the flavors blend together. Keep them in a sealed container with parchment between layers so they don't stick. They'll stay good for up to 5 days in the fridge or you can freeze them for up to 3 months. For freezing, I suggest leaving off the frosting until after they thaw for the freshest taste. Let them warm up slightly before eating to get the best texture and flavor.

Easy Substitutions

If you're missing some ingredients, don't worry. You can swap almond extract for coconut extract if needed, though it'll change the flavor a bit. Want to skip dairy? Try coconut oil instead of butter and coconut cream instead of heavy cream in the frosting. For extra lime punch, throw in 1 teaspoon of lime zest in both the bars and frosting. Want to mix things up? Try key lime juice instead of regular lime for a stronger citrus taste.

Serving Suggestions

These treats go great with hot or cold coffee just like at Starbucks. For parties, try cutting them smaller and serving with fresh berries for a pop of color. They're perfect for brunches, baby showers, or afternoon get-togethers. Want to fancy them up? Serve a slightly warm bar with a small scoop of coconut ice cream on the side and a fresh mint leaf on top.

A white tray with a slice of cake on it. Pin it
A white tray with a slice of cake on it. | tastefullyeats.com

These homemade Starbucks-style bars are a total crowd-pleaser, perfect for special occasions or just when you're craving something sweet!

Frequently Asked Questions

→ Can I switch butter with coconut oil for this dessert?

Sure, you can swap butter for coconut oil in the same quantity. Just remember, the texture might turn crisper and the coconut flavor will stand out more compared to the buttery version.

→ How long will these bars stay good to eat?

Store in a sealed container, and they'll stay tasty for around 3-4 days at room temperature or up to 7 days if kept in the fridge. The lime flavor actually gets stronger after chilling for a day.

→ Can I freeze these for later?

Yep, these freeze well for up to three months. Wrap them in plastic wrap individually and pop them into a freezer-safe bag. Set out to thaw in the fridge or at room temperature before enjoying.

→ What if I don't have lime extract?

No lime extract? No worries! Add 1-2 teaspoons of fresh lime zest instead. For a unique twist, you could also try lemon or orange extract.

→ Can I make these gluten-free?

Yes, you can! Swap the regular flour for a gluten-free blend in the same amount. Just check that all other ingredients are labeled gluten-free too.

→ Can I use sweetened coconut flakes here?

Sweetened coconut works fine, but the bars will be sweeter overall. To balance the sweetness, cut down the brown sugar by 2 tablespoons.

Coconut Lime Bars

Chewy coconut squares with a bright lime frosting and white chocolate drizzle, inspired by Starbucks' beloved treat.

Prep Time
20 Minutes
Cook Time
16 Minutes
Total Time
36 Minutes
By: Barbara

Category: Delicious Desserts

Difficulty: Intermediate

Cuisine: American

Yield: 16 Servings (16 bars)

Dietary: Vegetarian

Ingredients

→ Base

01 ¼ teaspoon salt
02 1¼ cups all-purpose flour
03 ⅔ cup brown sugar
04 ½ tablespoon baking powder
05 ¼ teaspoon coconut extract
06 1 egg, at room temp
07 ½ cup butter, softened
08 1 teaspoon vanilla extract
09 ⅓ cup mini white chocolate chips
10 ½ cup shredded coconut, unsweetened

→ Lime Frosting

11 Lime green food dye (as needed)
12 ½ cup butter, softened
13 1 tablespoon milk or heavy cream
14 1½ cups powdered sugar
15 ½ teaspoon lime extract
16 2 tablespoons fresh lime juice

→ Garnish

17 2 tablespoons shredded coconut
18 2 tablespoons melted white chocolate

Instructions

Step 01

Heat oven to 175°C (350°F). Grab a baking dish—20x20cm (8x8-inch)—and line it with parchment paper, leaving a bit sticking out for lifting later.

Step 02

Beat softened butter with sugar until creamy and fluffy. Stir in egg along with both the vanilla and coconut extracts. Fully combine.

Step 03

Mix the coconut flakes, flour, salt, and baking powder in carefully until just combined. Toss in chocolate chips lightly.

Step 04

Pour batter evenly into your lined dish and bake for 15-16 minutes. It's done when the edges are golden and the middle looks firm. Cool completely on a rack while still in the dish.

Step 05

Whisk butter till creamy, then gradually add powdered sugar. Finally, add lime juice, lime flavor, and milk until smooth. Adjust with lime green dye if desired for brighter color.

Step 06

Smooth the frosting on the cooled bars. Drizzle the melted white chocolate on top using a spoon or bag, then sprinkle coconut.

Step 07

Slice into squares. Great served chilled or as-is. They go well with a glass of milk or a coffee.

Notes

  1. If lime green dye isn't available, mix a little green and yellow for a similar look.
  2. Seal these in a container and refrigerate—they’ll last up to 5 days.

Tools You'll Need

  • 20x20cm (8x8-inch) dish for baking
  • Parchment paper for lining
  • Electric hand or stand mixer
  • A couple of mixing bowls
  • Spoon or piping bag for drizzling (optional)

Allergy Information

Please check ingredients for potential allergens and consult a health professional if in doubt.
  • Has milk products (butter, white chocolate)
  • Uses eggs
  • Made with wheat flour
  • Includes coconut

Nutrition Facts (Per Serving)

It is important to consider this information as approximate and not to use it as definitive health advice.
  • Calories: 235
  • Total Fat: 12.7 g
  • Total Carbohydrate: 28.5 g
  • Protein: 1.8 g