There’s something almost magical about a coconut cake with condensed milk coming out of the oven. The top turns lightly golden, the kitchen smells like toasted coconut and warm sugar, and once it’s soaked in syrup, the crumb turns tender enough to feel almost custard-like.
This cake, known in Brazil as bolo de coco, shows up at birthdays, Sunday afternoons, and Festa Junina gatherings — it’s one of the most common cakes you’ll find in a Brazilian home kitchen, right alongside coffee.
There are really two versions of this cake, and it’s worth knowing the difference before you start:
The baked-and-glazed version
is simpler — bake the cake, then pour a condensed milk drizzle over the top once it’s cooled. This gives you a moist crumb with a sweet glaze finish.
The soaked version (bolo gelado-style)
goes further: while the cake is still warm, you poke holes all over the surface and pour a condensed milk and coconut milk syrup directly into it, letting it soak all the way through before chilling. This is the version most Brazilian home cooks actually make, because the extra moisture is what gives the cake its signature dense, almost tres-leches-like texture. Both are below — start with the baked-and-glazed version if it’s your first time, then try the soaked version once you’re comfortable with the base recipe.
10–12
servings20
minutes35-40
minutes2
Hours2 cups all-purpose flour
1 tbsp baking powder
3 large eggs, room temperature
1 cup granulated sugar
½ cup butter, softened
1 cup sweetened condensed milk
½ cup coconut milk
1 cup shredded coconut
½ cup sweetened condensed milk
2 tbsp coconut milk
Toasted shredded coconut, for topping
½ cup sweetened condensed milk
½ cup coconut milk
¼ cup whole milk
Prep the oven and pan. Preheat to 350°F (175°C). Grease your baking dish.
Cream butter and sugar. Beat until light and fluffy — this builds the air that keeps the crumb tender rather than dense.
Add eggs. Beat in eggs one at a time, mixing well after each.
Mix in the condensed milk and coconut milk. Stir until smooth and fully combined.
Fold in the dry ingredients and coconut. Gently fold in flour, baking powder, and shredded coconut just until combined — stop as soon as the streaks of flour disappear. Overmixing here is the main reason this cake turns dense instead of fluffy.
Bake. Pour into the prepared dish and bake 35–40 minutes, until golden on top and a toothpick comes out clean.
Cool, then glaze. Let the cake cool completely on a rack. Whisk together the condensed milk and coconut milk for the glaze, pour over the cooled cake, and finish with toasted shredded coconut.
Poke while warm. As soon as the cake comes out of the oven, poke holes all over the surface with a skewer or fork, while it's still in the pan.
Pour the syrup slowly. Whisk together the condensed milk, coconut milk, and whole milk, then pour it gradually over the warm cake so it has time to seep into the holes instead of just pooling on top.
Chill before serving. Refrigerate for at least 2 hours (overnight is even better) so the syrup fully absorbs and the cake firms up into that dense, custardy texture. Top with shredded coconut before serving.
Coconut has been part of Brazilian cooking for generations, and condensed milk became a pantry staple in Brazilian kitchens as shelf-stable dairy products became widely available through the 20th century. The combination of the two — sweet, long-lasting condensed milk paired with tropical coconut — became a natural fit for Brazilian celebration cakes, where rich, milk-based desserts are the norm rather than the exception.
The baked-and-glazed version keeps about 3 days at room temperature, or 5 days refrigerated. The soaked version, since it’s saturated with syrup, should be refrigerated and eaten within 3–4 days.
Yes — freeze the plain cake before adding glaze or syrup, tightly wrapped, for up to 3 months. Add the glaze or syrup fresh after thawing rather than freezing it already soaked, which can turn the texture mushy.
Not as a direct substitute — evaporated milk isn’t sweetened, so you’d lose both the sweetness and the moisture-holding effect that condensed milk provides. You’d need to add sugar separately and the texture still won’t quite match.
Usually the cake was still too warm when glazed, or the glaze itself was mixed too thin. Let the cake cool fully before glazing for a cleaner set.
Not as written, since it uses regular flour. You can substitute a 1:1 gluten-free flour blend, though texture may vary slightly.
The baked version has a glaze poured over the top after baking. The soaked version (closer to what’s traditionally served in Brazil) has syrup poured directly into holes poked in the warm cake, giving it a denser, more saturated texture throughout.
Whether you go with the simple baked-and-glazed version or the fully soaked bolo gelado style, a good coconut cake with condensed milk comes down to the same basics: don’t overmix the batter, use room-temperature ingredients, and give the condensed milk time to do its job — moistening the crumb rather than just sitting on top of it. Start with the baked version to get comfortable with the base recipe, then try soaking it next time for the denser, more traditional texture.