
A layered chocolate and sweet coconut traybake: fudgy brownie base, a gooey coconut filling, and a tender top layer that slices into 16 irresistible squares.

This coconut brownie combines two of my favorite things: a deep, fudgy chocolate base and a luxuriously sweet coconut layer that browns just enough around the edges. I first developed this version when a friend brought over a dense coconut candy and I wanted to fold that tropical sweetness into a classic chocolate traybake. The result is a bar that tastes indulgent yet nostalgic — chocolaty, slightly chewy in the coconut center, and tender in the brownie layers. It’s a dessert that travels well, keeps for days in the fridge, and always disappears quickly at potlucks.
I make these whenever I’m craving something that feels both homespun and a little bit special: the coconut layer adds a caramelized chew while the brownie surrounding it stays soft. The recipe is forgiving and uses ingredients I always keep on hand: all-purpose flour, cocoa, sweetened condensed milk, butter, eggs, and plenty of sweetened coconut flakes. The texture contrast is what makes these memorable — a slightly crisp top, fudgy crumb, and dense coconut ribbon in the middle. Serve a warm square with espresso or a chilled piece with a glass of cold milk; either way, guests always ask for the recipe.
When I first shared these at a neighborhood bake sale, they were the first tray to vanish. Family members loved how the coconut layer reminded them of candy bars, while the brownie layers tasted homemade and rich. I learned to coat the chocolate chips in a teaspoon of flour so they don’t sink — a small step that makes the bar look balanced and professional. The browned edges and slightly sticky coconut center are the cues I look for to know they’re done.
My favorite thing about these bars is how adaptable they are: swap the chips for chopped dark chocolate and they become more sophisticated for dinner parties; add toasted macadamias for crunch. The first time I made them for a family picnic, my niece declared they tasted like a candy bar, and my uncle — who rarely reaches for dessert — had two squares. Those small reactions make the extra step of assembling layers worthwhile.
Store cooled bars in an airtight container layered between parchment to prevent sticking. At room temperature they stay good for up to 2 days in a cool kitchen; refrigeration extends freshness to 4–5 days and also firms the coconut filling for cleaner slices. For longer storage, freeze individual squares on a sheet tray until solid, then transfer to a zip-top freezer bag; thaw in the refrigerator overnight before serving and bring to room temperature for 30 minutes if you prefer a softer chew. Reheat gently under a low broiler for 30–60 seconds to refresh the top crust.
If you prefer less sweetness, swap semi-sweet chips for 60–72% dark chocolate and reduce granulated sugar by 2 tablespoons. For a dairy-free option, use a vegan butter substitute and replace sweetened condensed milk with a commercial vegan condensed milk alternative; texture will be slightly different and may be less glossy. To make gluten-free, use a 1:1 gluten-free flour blend, but note the crumb will be denser. Unsweetened coconut can be used if you increase condensed milk by 2 tablespoons to compensate for lost sweetness.
Serve squares slightly chilled with a dusting of cocoa or powdered sugar for contrast. Pair with bold coffee or a scoop of vanilla ice cream to balance the sugar. For a festive presentation, top individual squares with toasted coconut flakes and a drizzle of melted dark chocolate. These are excellent after a casual dinner, for bake sales, or cut smaller as petit fours with tea.
Layered chocolate-and-coconut bars draw inspiration from classic American traybakes and candy-bar fillings popularized in mid-20th-century confectionery. The use of sweetened condensed milk became widespread during wartime and post-war periods when shelf-stable ingredients were prized. Combining coconut with chocolate calls to mind classic commercial bars, but this home-baked interpretation emphasizes texture — the chewy coconut center framed by tender chocolate layers is a homemade nod to those nostalgic treats.
In summer, fold in chopped toasted macadamia nuts and a tablespoon of lime zest into the coconut layer for a bright tropical twist. For winter holidays, add 1/4 teaspoon ground cinnamon and a pinch of nutmeg to the dry batter and swap mini chips for chopped dark chocolate studded with crystallized ginger. The assembly remains the same — small swaps update the flavor profile for seasonal occasions.
Make the batter and coconut filling separately and refrigerate each in airtight containers for up to 24 hours; bring them to room temperature before assembling and baking. Bake a full pan and freeze half the cooled squares for future grab-and-go snacks. For portion-controlled meal prep, cut into smaller 1.5-inch squares and pack with parchment between layers in reusable containers — they thaw quickly and make a sweet treat for lunchboxes.
These bars combine comfort and showmanship: simple techniques create a layered bite that feels special. I hope you enjoy making them as much as my family does — they’re the kind of sweet that brings people together around the kitchen counter and invites second helpings.
Coat the chocolate chips with a teaspoon of flour to stop them from sinking into the bottom layer.
Allow the bars to cool completely before slicing to ensure the coconut layer sets and yields clean cuts.
Use an 8×8-inch pan lined with parchment overhangs for easy removal and tidy edges.
If using unsalted butter, add an extra 1/4 teaspoon salt to the batter to balance sweetness.
This nourishing coconut brownies 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 Coconut Brownies 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 oven to 350°F. Line an 8×8 baking dish with parchment paper and lightly spray the paper with nonstick spray so the bars lift out easily.
In a medium bowl whisk together 1 cup flour, 1/2 cup cocoa powder, and 1/4 teaspoon salt until uniform and lump-free; set aside.
Toss 1/2 cup mini semi-sweet chocolate chips with 1 teaspoon flour in a small bowl to prevent sinking during baking.
Whisk together 3/4 cup melted cooled butter, 1 1/2 cups granulated sugar, 2 eggs, and 1 teaspoon vanilla until glossy. Fold in the dry mixture until just combined, then gently fold in the floured chocolate chips.
Spread half of the batter into the prepared pan. Mix 2 1/2 cups coconut, 2/3 cup sweetened condensed milk, 1 teaspoon vanilla, and 1/4 teaspoon salt until combined, then spread evenly over the batter. Cover with remaining batter and smooth the top.
Bake for 35–40 minutes until the top is set with a few moist crumbs in the center. Cool completely in the pan, then lift out with the parchment and slice into 16 squares.
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
@epicula on social media!


A creamy, tomato-kissed chicken soup with garlic, Parmesan, and sun-dried tomatoes—ready in 35 minutes and perfect for weeknights or cozy dinners.

A creamy, comforting mac and cheese made with just five pantry staples—ready in under 30 minutes and perfect for weeknights or as a crowd-pleasing side.

Light, fluffy donut holes tossed in cinnamon sugar and finished with festive sprinkles, made quickly in the air fryer for holiday mornings and parties.

Leave a comment & rating below or tag @epicula 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.