Coconut Pecan Brownie Bars are basically fudgy cocoa brownies with a thick coconut-pecan topping that sets up like a soft caramel layer. It’s the kind of bar I put on a plate and immediately feel like dessert is handled.
I like this version because the brownie base stays dense and chewy (not cakey), and the topping is rich and buttery with plenty of texture from the coconut and nuts. For me, the contrast is the whole point.
These are especially good for a holiday platter, bake sales, or any time you want a make-ahead bar that slices clean. I usually serve them slightly chilled so the topping stays neat.

Why You’ll Love This Recipe
Two layers, one pan: You get a rich brownie base and a thick coconut pecan topping, but it’s still a straightforward 9×13 bar recipe.
Deep chocolate flavor: Cocoa brownies have that classic, dark chocolate taste that works really well with the sweet topping.
That topping is the point: It sets up thick and spoonable, with chewy coconut and crunchy pecans in every slice.
Easy to slice and serve: Once it’s cooled and set, these cut into neat bars that travel well.
Great for making ahead: I actually prefer these after they’ve had time to chill, so they’re a nice “done early” dessert.
Ingredients You’ll Need
Brownie Layer
- Unsalted butter: Melted butter keeps the brownies fudgy and dense. Let it cool a bit so it doesn’t scramble the eggs.
- Granulated sugar: This is what gives you that shiny, crackly top and a chewy texture.
- Eggs: Room temp eggs mix in more smoothly, and the batter looks glossier and more even.
- Vanilla extract: Don’t skip it. It helps the cocoa taste more rounded.
- Unsweetened cocoa powder: Regular unsweetened cocoa is what I use here. If you like a darker chocolate flavor, Dutch-process is fine too.
- All-purpose flour: I use regular flour here. Measure it lightly so the brownies don’t turn dry.
- Baking powder: Just a little lift so the bars aren’t heavy, but they still stay fudgy.
- Fine salt: This keeps the brownie layer from tasting flat, especially with the sweet topping.
- Semi-sweet chocolate chips: Optional, but I like them for little pockets of chocolate. Milk chocolate works too if that’s what you have.
Coconut Pecan Topping
- Evaporated milk: This is the classic base for that German-chocolate-style topping. It cooks down creamy and thick.
- Granulated sugar: Sweetens and helps the topping set as it cools.
- Egg yolks: These thicken the topping and make it richer. Save the whites for omelets or meringues.
- Unsalted butter: Makes the topping smooth and glossy. I cut it into pieces so it melts evenly.
- Vanilla extract: Stir it in after cooking so it tastes fresh and not cooked off.
- Sweetened shredded coconut: This gives the topping its chew. You can use unsweetened if you want it less sweet.
- Pecans: I like them chopped so the bars slice clean. Toasted pecans are even better if you have the time.
- Fine salt: A small amount helps the topping taste more balanced.
Optional
- Nonstick spray or parchment paper: Parchment is my preference for bars like this because you can lift the whole slab out.
- Flaky salt: A light sprinkle on top is nice, especially if you used chocolate chips in the brownies.

Recipe Instructions
- Heat the oven: Heat the oven to 350°F.
- Prep the pan: Line a 9×13-inch pan with parchment paper or coat it well with nonstick spray.
- Mix butter and sugar: Whisk the melted (slightly cooled) butter and sugar together until the mixture looks glossy.
- Add eggs and vanilla: Whisk in the eggs and vanilla until smooth and well blended.
- Add the cocoa: Fold in the cocoa powder until you don’t see dry streaks.
- Add the dry ingredients: Fold in the flour, baking powder, and salt just until combined. Try not to overmix.
- Add chocolate chips: Stir in the chocolate chips if you’re using them.
- Bake: Spread the batter evenly in the pan, then bake for about 22 to 28 minutes, until a toothpick comes out with moist crumbs (not wet batter).
- Cool: Let the brownies cool in the pan on a rack until completely cooled.
- Cook the topping: In a saucepan over medium heat, whisk the evaporated milk, sugar, egg yolks, and butter. Cook, stirring constantly, for about 8 to 12 minutes, until thickened and lightly bubbling.
- Finish the topping: Remove from the heat, then stir in the vanilla, shredded coconut, chopped pecans, and salt. Let it stand for about 5 minutes so it thickens a bit more.
- Top and chill: Spread the topping evenly over the cooled brownies, then chill (or let stand) until set, about 30 to 60 minutes.
- Slice: Lift out of the pan and slice into bars.

Some of my tips!
This is the part that really makes a difference. If you only read one section, make it this one because this is where I share the little trick that helps the recipe turn out so well.
Recipe Tips & Tricks
Don’t overbake the brownie layer. Pull it when a toothpick has moist crumbs. If it comes out totally clean, the brownies will set up more dry than fudgy.
Let the brownies cool all the way. If they’re still warm, the coconut topping can slide around and you’ll get messy slices.
Keep the topping at a gentle bubble. Stir constantly and don’t let it boil hard, or it can separate and get a little oily.
Toast the pecans if you can. It’s a small step that makes the topping taste nuttier and less one-note. Even 5 to 8 minutes in the oven helps.
Use a warm knife for clean edges. I run the knife under hot water, wipe it dry, and slice. It makes a big difference once the topping is set.
Make some touches!
There are plenty of easy ways to serve this depending on the occasion. Keep it simple, or add a few small touches to make it feel a little more special.
Serving Suggestions
- Milk: A cold glass of milk is classic with these. It’s especially nice if you add a pinch of flaky salt on top.
- Coffee or espresso: These are rich, so coffee on the side just makes sense. I like a simple latte or black coffee.
- Ice cream: If you want to serve them as a plated dessert, add a small scoop of vanilla ice cream. Let the bar sit at room temp for a few minutes so it’s easier to bite.
- Fruit: Fresh berries are a nice side option when the topping feels extra sweet. Strawberries or raspberries are my go-to.
Save it for later
This section covers how to store leftovers and what parts of the recipe you can prepare ahead of time.
Storage and Make Ahead
Store leftovers covered in the fridge for up to 4 days. I like them chilled because the topping stays firm and the bars slice neatly.
If you want to serve them at room temperature, let a bar sit out for 10 to 15 minutes before eating. The brownie softens up a bit and tastes extra fudgy.
You can make this recipe ahead the day before and keep the whole pan covered in the fridge. Slice right before serving, or slice and keep the bars in a single layer if you have the space.
If you want them to last longer, freeze individual portions (I wrap them well so the topping doesn’t pick up freezer smells). Thaw in the fridge overnight for the cleanest texture.

A few quick answers
This section covers a few extra details that may help before you head to the recipe card.
Recipe FAQs
Can I use toasted pecans?
Yes, and I recommend it if you have the time. Toasted pecans taste deeper and nuttier, and they hold up really well in the topping.
How do I know when the coconut pecan topping is thick enough?
It should look noticeably thicker than when you started and be lightly bubbling, kind of like a loose pudding. It will thicken more after you stir in the coconut and pecans, and then again as it cools.
Can I swap the pecans for another nut?
Walnuts work great, and chopped almonds are good too if you like a firmer crunch. I’d keep the pieces fairly small so the bars slice clean.
Can I make these less sweet?
You can use unsweetened shredded coconut and reduce the sugar in the topping by a couple tablespoons. The topping will still set up, just taste a little less like candy.
You might also like
Before you go, take a look at a few other recipes below the recipe card. They use similar ingredients in a different way and are worth saving too.

Coconut Pecan Brownie Bars
INGREDIENTS
Brownie Layer
- 1 cup unsalted butter melted and slightly cooled
- 2 cups granulated sugar
- 4 large eggs room temperature
- 1 tbsp vanilla extract
- 1 cup unsweetened cocoa powder
- 1 cup all purpose flour
- 1 tsp baking powder
- 1/2 tsp fine salt
- 1 cup semi sweet chocolate chips optional.
Coconut Pecan Topping
- 1 cup evaporated milk
- 1 cup granulated sugar
- 3 large egg yolks
- 1/2 cup unsalted butter
- 1 tsp vanilla extract
- 1 1/2 cups sweetened shredded coconut
- 1 cup pecans chopped
- 1/4 tsp fine salt.
Optional
- nonstick cooking spray or parchment paper
- flaky salt for garnish.
INSTRUCTIONS
Brownie Layer
- Heat oven to 350 F and line a 9x13 inch pan with parchment or coat with nonstick spray
- whisk melted butter and sugar until glossy then whisk in eggs and vanilla until smooth
- fold in cocoa powder then flour baking powder and salt just until combined and stir in chocolate chips if using
- spread batter evenly in pan and bake until a toothpick comes out with moist crumbs 22 to 28 minutes then cool in pan on a rack.
Coconut Pecan Topping
- In a saucepan over medium heat whisk evaporated milk sugar egg yolks and butter and cook stirring constantly until thickened and lightly bubbling 8 to 12 minutes
- remove from heat and stir in vanilla coconut pecans and salt then let stand 5 minutes to thicken slightly
- spread topping evenly over cooled brownies and chill or rest until set 30 to 60 minutes then lift out and slice into bars.
