This moist and decadent coconut custard cake is made from fluffy homemade coconut cake layered with a rich and creamy custard, decorated with tangy cream cheese frosting, and golden toasted coconut.
If you love creamy coconut desserts, my coconut cream pie, a personal favorite, or this coconut custard pie, which uses a similar custard filling as this recipe.

Today’s coconut custard cake is a to-die-for combination of silky coconut filling layered between fluffy and moist coconut cake. The whole thing is finished off with sweet-tangy cream cheese frosting and covered with toasted coconut.
The cake that inspired today’s coconut custard cake is actually from Croissant Bakery in Myrtle Beach, South Carolina. Heidi, the owner, wrote a wonderful cookbook, and the original coconut custard cake was so good, I couldn’t resist making my own version! This coconut cream cake looks impressive, and it’s more than worth the effort.
What Makes This a Stand-Out Coconut Custard Cake
- Ultra-silky custard. I’ve seen recipes that use coconut cream or milk to make the custard filling, but I like to stick with good, old-fashioned heavy cream. It makes the texture SO silky in contrast to the shredded coconut that gets folded in.
- (Literally) layers of flavor. With coconut milk and coconut extract in the cake layers, combined with the creamy coconut filling, tangy cream cheese frosting, and crunchy toasted coconut, there’s plenty of layered flavor and texture in this cake. It’s definitely a cake for coconut lovers!
- Make-ahead for extra convenience. I’ll sometimes prepare the coconut custard filling and buttercream frosting a day or two before, so these components are ready to go when it’s time to bake and assemble the cake. You can even bake the cake layers in advance, and store or freeze them for later. It’s an easy way to get a head start on this cake during the holidays.

Ingredient Notes
I’ve included notes on the important ingredients you’ll need to make this thick and luscious, coconut custard-filled cake. You’ll find the full recipe details in the printable recipe card below the post.
For the Coconut Cake
- Oil and Butter – Oil brings more moisture to the cake crumb than butter would alone, while melted unsalted butter adds richness and flavor.
- Egg and Egg White – The egg helps bind the ingredients, while the addition of an extra egg white makes the cake’s texture extra fluffy.
- Coconut Extract – Despite it being an extract, coconut isn’t a very strong flavor, so I amp up the amount in this recipe.
- Sour Cream – Sour cream brings loads of added moisture to cakes, and it’s especially helpful in this recipe since this cake is refrigerated. If you don’t have sour cream, substitute Greek yogurt instead.
- Coconut Milk – You’ll find cans of coconut milk in the Asian food section of your local supermarket. Make sure you’re buying coconut milk, and not coconut cream. You’ll notice that the fat separates from the liquid, so make sure to stir it well.
For the Custard Filling
- Heavy Cream – Full-fat heavy whipping cream will yield the richest, creamiest coconut custard.
- Shredded Coconut – Rather than flavoring the filling with coconut milk or extract like I do with the cake, I keep it simple with shredded coconut and vanilla extract, adding subtle flavor and contrasting texture. You could use toasted coconut here, too.
- Cornstarch – You’ll combine the cornstarch with the cream, which thickens the custard without making it grainy.
To Make the Cream Cheese Frosting
- Butter and Cream Cheese – I recommend using unsalted butter and the cream cheese (full-fat) that comes in blocks (versus the tub kind). Take both ingredients out of the fridge ahead of time so that they can soften to room temperature.
- Toasted Coconut – For decorating. Don’t forget to check out the section layer on with more decorating tips and ideas!

First, Prepare the Coconut Cake Layers
There are a few steps involved in making this cake, but never fear! We’ll start with the homemade coconut cake layers, which are thick and stable, and perfect for stacking. While the oven preheats, grease and then line three 8” round baking pans. Then, follow the steps below. This is an overview, so scroll to the recipe card for the printable instructions.
- Combine the wet ingredients. In a large bowl, cream together the sugar, butter, oil, and wet ingredients.
- Combine the dry ingredients. In a separate bowl, whisk together the dry ingredients. After, add the dry ingredients to the wet ingredients a little at a time, alternating with the coconut milk until just combined.
- Divide and bake. Distribute the batter between the prepared baking pans. Bake the cakes at 350ºF for 20-24 minutes. If you have hot spots in your oven, I recommend rotating the pans in the oven halfway through baking for more evenly baked cake layers.
- Toast the coconut. For some forward-thinking, it’s worthwhile to toast the coconut you’ll use to decorate your cakes while the oven is hot! Spread shredded coconut out across a lined baking sheet, and pop it into the oven for 5 minutes, until the coconut is lightly toasted and golden. Set the toasted coconut aside to cool while you prepare the filling and frosting.

How to Make the Custard
- Make a slurry. Whisk together the cornstarch with the heavy whipping cream. You want the mixture to thicken but stay at a liquid consistency to avoid any clumps.
- Heat the ingredients. Combine the remaining heavy cream with melted butter, sugar, and shredded coconut in a saucepan. Bring the mixture almost to a boil, stirring along the way.
- Combine. Add the cornstarch slurry to the saucepan, and continue to cook and stir until thickened. Lastly, whisk in the vanilla extract.
- Cool. Set the custard aside to cool completely. When I took my custard off the stove, the consistency was thick but still a bit liquid. This is fine, as the custard continues to thicken to a spreadable consistency as it cools.
Make It Ahead
I sometimes like to make the custard filling ahead of time and refrigerate it overnight, to really let the flavors develop. However, it does tend to thicken in the fridge. Take the custard out of the fridge about 30 minutes to 1 hour before you plan to use it.
If the filling still seems too thick to spread once it’s been out of the fridge for a while, pop it in the microwave for just a few seconds at a time. The consistency should be spreadable but not melting.
Easy Cream Cheese Frosting
I opted to stay as close as possible to Heidi’s original cream cheese frosting recipe. It’s just perfect for covering this cake in a light layer. This is not a traditional cream cheese frosting, it’s much thinner than I would normally make.
- Beat the butter and cream cheese. In a large bowl, beat the cream cheese with butter until smooth.
- Combine. Add the powdered sugar one cup at a time, and finally, beat in the vanilla extract until the frosting is evenly combined.
Try These Other Frosting Ideas
The original cream cheese frosting for this cake is on the thinner side, ideal for doing a rough crumb coat that I finish off with toasted coconut. If you’d prefer a thicker frosting for piping and decorating, you may wish to use my recipe for traditional cream cheese frosting instead. Or, if you’d like to trade the cream cheese frosting for your own recipe, go right ahead! You can also try my mascarpone whipped cream or any of the ideas you see here.
How to Make a Coconut Custard Cake
Now, it’s time to assemble this coconut custard layer cake! This three-tier cake is easy enough to fill and stack and then decorate with a simple crumb coat, topped with toasted coconut. If you’re new to baking layer cakes, have a look through my step-by-step tutorial on how to make a layer cake for more information.
- Prepare the first layer. First, divide the coconut filling in half, and have your bottom cake layer ready on a cake board.
- Fill and repeat. Pipe a border of frosting around the outside edge of the cake (see how to use piping tips), then fill it with custard. This frosting “dam” keeps the custard from oozing out of the sides. Afterward, place the second layer gently on top. Repeat with the third and final layer.
- Frost the cake. Give the top and sides of the cake a light coating with cream cheese frosting. It doesn’t have to be a thick layer, as we’re going for more of a crumb coat. Finally, pat the shredded toasted coconut from earlier in an even layer on top of the frosting.
- Chill. Place the frosted coconut custard cake, covered, into the fridge for at least half an hour before serving.

Helpful Notes
- Make sure to evenly mix the cake batter. Remember to scrape down the sides of the bowl as needed, and give the batter a good stir from bottom to top.
- Start with flat, even cake layers before filling. This helps make a stable cake. I like to use bake-even strips as these prevent the cakes from “doming” too much as they bake. You can also use a bread knife to trim off the domes, as needed.
- Get a head start on your cake. Both the frosting and the filling can be prepared ahead of time and kept in the refrigerator. The cream cheese frosting is usually still spreadable after sitting in the fridge overnight, though you can soften it up by letting it sit out with the filling before assembling the cake.
- You will have leftovers. This recipe was originally a 4-layer cake that I turned into a 3-layer cake. Be careful not to overfill your layers. Turn the leftover batter into coconut cupcakes!
- Add sprinkles. Top your coconut custard cake with your favorite colored sprinkles, nonpareils, or sanding sugar (in place of or in addition to toasted coconut.
- Garnish with fruit. Citrusy lime and coconut are a zesty pair. Top your cake with lime wedges or lime zest for a pop of color and zing. Or, make a pineapple coconut cake with a garnish of fresh chopped pineapple.

How to Store
- Refrigerate. Due to the custard filling and cream cheese frosting, you’ll want to keep your finished coconut custard cake refrigerated. Store the cake in an airtight container (such as a cake carrier) or wrap the entire cake with plastic wrap to keep it from drying out. Remove the cake from the fridge approximately 20-30 minutes before serving to take the chill off.
- Freeze. I don’t recommend freezing cakes with custard or cream fillings, as the filling tends to separate once thawed and turns the cake soggy. If you’d like to prepare the cake layers in advance, however, you can freeze the individual cakes. It’s easy to wrap the cooled cake layers tightly in plastic wrap and then freeze them for up to 3 months. Thaw the cakes in the fridge, prepare your filling and frosting, and assemble the cake as usual.
More Coconut Desserts
Coconut Custard Cake
- Prep Time: 60 minutes
- Cook Time: 30 minutes
- Total Time: 1 hour 30 minutes
- Yield: 12 slices
- Category: Cake
- Method: Baked
- Cuisine: American
Description
Coconut custard cake is made from moist coconut cake layers filled with silky coconut custard and frosted with tangy cream cheese frosting. Cover this cake with shredded coconut for the ultimate coconut lover’s dessert!
Ingredients
For the cake:
- 1 ½ cups (285g) granulated sugar
- ½ cup (118 ml) vegetable oil
- 2 tablespoon (28g) unsalted butter, melted
- 2 large egg
- 2 large egg white
- ½ cup (118 ml) sour cream
- 2 ½ cups (350g) all-purpose flour
- 2 teaspoon (7.5g) baking powder
- 1 teaspoon (4.5g) baking soda
- 1 teaspoon (5g) salt
- 1 tablespoon (15ml) coconut extract
- 1 teaspoon (5ml) pure vanilla extract
- 1 1/3 cup (315ml) coconut milk, well stirred
For the filling:
- 1 ¼ cup (296ml) heavy whipping cream, divided
- 4 teaspoons (13g) cornstarch
- 1/2 cup (114g) unsalted butter
- ¾ cup (142g) granulated sugar
- 2 ¼ cups (170g) shredded coconut, sweetened
- ¼ teaspoon vanilla extract
For the icing:
- 1/2 cup (114g) unsalted butter, softened
- 12 oz (339g) cream cheese, softened
- 1 teaspoon (5ml) vanilla extract
- 3 cups (390g) powdered sugar
- 2 cups (151g) shredded sweetened coconut, toasted
Instructions
For the cake:
- Preheat the oven to 350°F. Prepare three 8-inch round baking pans, line the bottom with parchment paper, and grease the sides. Prepare your bake even stripes if desired.
- In a large mixing bowl, combine the sugar, vegetable oil, butter, eggs, and sour cream. Beat on medium speed until well incorporated and the batter is lighter in color, about 2 minutes. Scrape down the bowl as needed.
- In a separate bowl, combine the remaining dry ingredients. Alternate adding half the dry ingredients, the extracts, and half the coconut milk at a time and mix just until the flour starts to incorporate. Repeat until all ingredients have been added. Use a spatula to scrape down the sides of the bowl and stir the batter from the bottom to the top to ensure it’s well mixed.
- Divide the batter evenly between the three pans, about 1 2/3 cups of batter per pan. Bake at 350°F for 20-24 minutes and rotate your pans in the oven halfway through.
- Test the cake for doneness by inserting a toothpick into the center of the cake. If the toothpick comes out clean, your cake is done. Remove from the oven and allow to cool completely.
- Toast the coconut in the preheated oven. Line a baking sheet with parchment paper, and spread the coconut evenly on the pan. Bake for 5-8 minutes, or until the desired color is reached. Transfer to a bowl or plate to stop the cooking process. Cool completely.
For the filling:
- In a small bowl, combine 3 tablespoons of heavy whipping cream and cornstarch and whisk until thickened. Add additional heavy cream if necessary to get a liquid consistency.
- In a medium saucepan, melt the butter over medium heat and add the remaining heavy whipping cream, sugar, and shredded coconut. Heat the mixture, stirring occasionally, just until the mixture is nearly boiling.
- Lastly, add the cornstarch mixture and continue to heat over medium-high heat until the mixture is thickened, stirring constantly. Whisk in the vanilla extract last. Set the mixture aside and allow it to cool completely.
For the frosting:
- Once the cake and filling have cooled, prepare the frosting. In a large mixing bowl, combine the butter and cream cheese and beat on medium-high speed using the paddle attachment. Beat until smooth and creamy.
- Gradually add the powdered sugar, one cup at a time. As the mixture thickens, add the vanilla extract.
To assemble the cake:
- Divide the coconut filling in half. Place the bottom layer of cake on an 8 or 10-inch cake board. Pipe a dam of frosting around the outside edge of the cake using a large round piping tip.
- Fill the center with the coconut filling and gently spread evenly. Place the second layer of cake and repeat the above steps. Place the final layer of cake on top. Ice the top and sides of the cake with the cream cheese icing, you don’t need a very thick layer.
- Use your hands to gently pat the shredded coconut into the frosting, covering the cake as thoroughly as possible.
- Refrigerate the cake for at least 30 minutes before serving. Keep covered in an airtight container to prevent the cake from drying out.
Notes
- Recipe adapted from Bonjour Y’all. If you are looking for the original recipe you can download it here.
- Both the frosting and the filling can be made ahead of time and refrigerated. Let them sit out at room temperature for 30 minutes before using. The coconut filling might still be too firm to spread, and if so, pop it into the microwave for 15-25 seconds until it’s a spreadable consistency. Make sure to let it cool completely.
- You will have a little bit of leftover frosting and filling since this was originally a 4-layer cake and I turned it into a 3-layer cake. Don’t overfill your layers.
- Storing: Due to the custard filling and cream cheese frosting, you’ll want to keep your finished coconut custard cake refrigerated. Store the cake in an airtight container.
Nutrition
- Serving Size: 1 slice
- Calories: 1061
- Sugar: 83g
- Sodium: 547mg
- Fat: 68g
- Carbohydrates: 109g
- Fiber: 2g
- Protein: 9.7g
- Cholesterol: 146mg









Second time to make this and we love it! This time I had about a quarter of a can left of the coconut milk. I used the 1/4 to mix the cornstarch for the custard and deducted 1/4 on the heavy cream. I use 3) 8 inch round pans. Very easy!
What a great idea Christy! Thanks for sharing!
This cake did not disappoint! I was afraid it would dry out in the refrigerator, it didn’t, it remained moist until it was gone. My family loved it, even those who aren’t fans of coconut.
I just love this! So many people have said that people who don’t love coconut love this cake. It makes me so happy!
I am definitely making this next week for a birthday! One big question. You mentioned changing this from a 4-layer cake to a 3-layer cake, yet your instructions say to grease 2 – 8inch cake pans??
I see the instruction in the recipe card are correct for 3 layers but the blog post mentions 2 layers. I’ll update that, thank you
This cake was a hit. I did reduce the amount of powdered sugar in frosting to 2 cups and added a bit of lemon juice to add some tang.
I am so happy to hear that! Thank you for sharing!
This is the best coconut cake recipe I have ever tried. I have had people that do not usually like coconut cake love this cake.
Wow! Thank you so much Lori!!
I’ve never left a comment for a recipe before but I had to for this cake. I made it for Easter dinner and my Dad said it’s the best cake he’s ever had.
I made a few little alterations because I didn’t have coconut extract and wanted to make sure the flavour came through.
I did:
Half veg oil half coconut oil
Added finely shredded coconut (about 1/3 cup) to the cake batter
Used the 2 egg yolks leftover from the cake in the coconut custard
10000/10, loved this cake!!
Love that so much Gina! Thank you!
This cake was DELICIOUS! I made this for Easter/ my grandparents 65 anniversary.
At Easter lunch we were talking about everyones favorite foods and my gramps proclaimed to the table “I don’t really like anything with coconut in it”. INSTANT PANIC. I hadn’t debuted the cake yet. Thankfully I didn’t add the coconut flakes to the outside of the cake so I just cut everyone pieces and prayed. To my delight he suddenly shouts “THIS IS DELICIOUS!”. All that to say, even a self proclaimed coconut hater loved this cake.
The cake was moist and not overly sweet or coconutty. It was perfectly balanced with the custard and vanilla butter cream. Also halfway through baking I had a question and on a whim reached out to Julianne on instagram and she replied immediately which was so helpful!
Wow Madeline! That is incredible, what a fun story. Thanks for sharing my recipe with your family.
This recipe is AMAZING! I had never made coconut cake and simply love it. The filling is what sets this recipe apart from others.
I actually made this recipe last year the very first time I made coconut cake and then couldn’t find it when I try to do it again . The second time I made the cake. I used another recipe and it was notably very different.
I became so happy when I found this recipe again and have now marked this page to make sure that I don’t lose it.
Wow, thank you Anne! I am so happy you found this recipe again!
You have THE BEST recipes! Not too difficult like amateur bakers like me! Keep em coming!
Aww thank you Jennifer, that means so much!
We love this cake! My eight year old loves to bake and we did it together. It was not as difficult as I expected. Whole family loved it!
That is wonderful to hear Christy! I love getting kids involved in the kitchen, thank you for sharing my recipe with your family.
This recipe is AMAZING! I am lactose intolerant so I tweaked a few things. I used mayonnaise instead of sour cream. You would never notice a difference! I used plant based heavy cream, lactose free cream cheese and plant butter. I have plenty of icing left over for some cinnamon rolls too. Best cake I’ve made to date. Thank you ❤️
That’s amazing Heather! Thank you for sharing your lactose free alternations!
Wonder if this could translate to cupcakes
I’ve done the cake portion as cupcakes before. The filling technically could be used to fill the cupcakes but I would not recommend using the frosting for cupcakes, it’s way too thin. Instead I’d recommend this cream cheese frosting.
Thank you! This was my thought as well, but just wasn’t sure. Think I may try it out using a jumbo cupcake tin.
I’m making this recipe for Thanksgiving but would like to add banana to the custard, any ideas on this or should I forego it?
Hi Crystal- I have never made a custard with fresh bananas, and unless they’re just sliced in between the layers, I don’t have a better recommendation. Personally I don’t like to wing it for a big holiday myself.
The taste and texture was so good. We had guests that loved it yes it was so good and also the icong
Can I make this using 3 , 10” rounds to create about 6 thinner sponge discs/layers ? And if so how can I adjust the baking time ? Also. Should I double recipe? Thank you !
Hi Suzanne, I have not baked them this cake in a 10-inch to know how thick the layers are, so not sure if it’s thick enough to slice. The baking time would probably be reduced by few minutes. If you want to cut the layers in half, I would personally double the recipe
This cake is absolutely THE best coconut cake I’ve ever made. Thank you for sharing this sweet beauty. Baked it today for my hubby’s birthday his statements were, “This is the best damn coconut cake I’ve eaten!!” Absolutely amazing!
Yeeees! I love that!! Thank you Shonna!
Made this GLUTEN FREE. Whoever needs to hear it – it’s possible. I had so much fun making it. At the moment it’s sitting in the fridge waiting for the birthday party in the evening. I tasted all the different parts to it and it was mouthwatering delicious and I can not wait to try it all in one. I minimised the sugar amount as it seems like to a family of not big sweettooths.
Thank you for the inspiration and the recipe.
Ahh that’s amazing!! Thank you for sharing these details!
Oh my goodness this cake is delicious!! Despite it having a Lot of moving parts, it was well worth it!! I can normally, look over a recipe and envision making it and know if it’ll be good! I was NOT WRONG! I will d3finitely be making this for Christmas when the kids come home.
Wow! I am so happy to hear that! I’d love to be apart of your celebrations with your family. Thanks for sharing.
Has anyone at High Altitude tried this? I’m at 7500 above sea level. I’ve tried the usual tricks to adjust cakes and I cannot get the cake to come out. I made the rest of the pieces with another cake mix and it was so good, I can only imagine how good it must be with this cake turning out.
This was an amazing cake!!! I love the custard filling!! Thank you for sharing!
Wonderful Leila! Thank you so much!