• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Flouring Kitchen
  • Recipes
  • Contact
  • Subscribe
  • About
    • Facebook
    • Instagram
    • Pinterest
    • RSS
    • Snapchat
    • Twitter
menu icon
go to homepage
  • Recipes
  • Contact
  • Subscribe
  • About
    • Facebook
    • Instagram
    • Pinterest
    • YouTube
  • subscribe
    search icon
    Homepage link
    • Recipes
    • Contact
    • Subscribe
    • About
    • Facebook
    • Instagram
    • Pinterest
    • YouTube
  • ×
    Flouring Kitchen » Cakes

    Raspberry Coconut Cake

    Published: Aug 11, 2025 by Mary · This post may contain affiliate links · Leave a Comment

    136 shares
    • Facebook
    • Twitter
    • Email
    Jump to Recipe

    Ultra soft, tender, moist, and fluffy coconut cake with a creamy coconut cream cheese frosting, and a sweet and tangy raspberry filling. Loads of raspberry and coconut flavor, and the fluffy tender texture of the coconut cake is incredible. This cake is sure to impress any coconut lover! The coconut cake layers are buttery, tender, fluffy, and so coconutty. I've also included tips on how to make sure that the cream cheese frosting turns out stable and not gloopy.

    This is the best coconut raspberry cake ever! I've tested many versions and this quite literally, took the cake.

    coconut cake with raspberry filling and raspberries on top
    Jump to:
    • 🥥 Why you'll LOVE this recipe
    • 📝 Key ingredients
    • 👩‍🍳 How to make coconut raspberry cake
    • ✔️ Expert coconut cake with raspberry filling tips
    • 🥄 Make ahead and storage
    • 🧀 How to perfect a stiff cream cheese frosting
    • 📖 Recipe FAQs
    • 🍰 More related recipes
    • 📖 Recipe
    • 💬 Comments

    🥥 Why you'll LOVE this recipe

    • Fluffy, tender, and moist white cake: This white cake is THE BEST, with the perfect fluffy tender texture.
    • Loaded with coconut flavor: Shredded coconut, coconut milk, AND coconut extract all give this cake the best coconut flavor!
    • Cream cheese frosting: Creamy tart cream cheese tastes so good with coconut. Plus, I have all the tips and tricks on creating a beautiful, stable cream cheese frosting.
    • Raspberry filling: This easy homemade raspberry cake filling is so flavorful and is really quick to put together. You can even make it a day or two ahead of time.
    coconut cake covered in coconut shavings decorated with raspberries

    📝 Key ingredients

    Read through for all the tips you will need for success!
    Full steps and ingredients in recipe card below.

    ingredients for raspberry coconut cake in bowls

    Cake flour: Cake flour has a higher starch to gluten ratio than all purpose flour. This gives this coconut cake the perfect soft and fluffy cake texture. It's ultra tender. I strongly recommend that you use cake flour in this recipe!

    Raspberries: Frozen or fresh raspberries will both work since they get cooked down for the filling. You need a lot of raspberries so I recommend using frozen raspberries.

    Sweetened shredded coconut: I strongly recommend using sweetened shredded coconut because it has a better texture than unsweetened coconut. It's a lot softer and has a better bite to it. If you have extra shredded coconut, try my mango coconut swiss roll!

    Coconut milk: Make sure you use the coconut milk that comes in cans! And try to find one that is full fat and doesn't say "light" on it. It's richer and has more flavor than coconut beverages in bottles.

    Sour cream: Alternatively, you could use greek yogurt for the frosting.

    Cream cheese: Full fat, brick style cream cheese works the best for cream cheese frosting.

    Egg whites: A classic ingredient for white cake and it keeps the cake moist and pale. You can use egg whites from a carton.

    Coconut extract: This just amplifies the coconut flavor. If you don't like coconut extract you can just omit it. There's plenty of shredded coconut and coconut milk in the cake for flavor.

    Almond extract: This adds a hint of almond nutty flavor which amplifies the coconut flavor. Almond and coconut work so well together! I only added ¼ teaspoon so that the almond flavor doesn't overwhelm the coconut flavor.

    Butter: You'll need butter for the cake layers and the frosting. I definitely recommend using unsalted butter so that the frosting doesn't turn out too salty!

    👩‍🍳 How to make coconut raspberry cake

    Raspberry cake filling step by step

    squeezing lemons into frozen raspberry cake filling

    Step 1: Add the raspberries into a medium saucepan. Add the sugar and lemon juice and stir. Heat on medium-low heat, stirring occasionally, until the juice gets released. Then let it simmer gently for about 5 minutes to break down the berries.

    pouring cornstarch slurry into raspberry sauce

    Step 2: While the raspberries simmer, combine cornstarch and water in a separate cup or a bowl. If you want a seedless raspberry filling, you could strain the raspberry mixture through a sieve at this point.

    stirring cooked and thickened raspberry cake filling in saucepan

    Step 3: Pour the cornstarch slurry into the hot raspberry sauce and stir to combine. Then, put it back onto the heat and stir until it thickens and comes to a boil.

    transferring raspberry cake filling into a glass container

    Step 4: Transfer the raspberry filling into a heat safe bowl, and pop it into the fridge to cool completely.

    Coconut cake layers step by step

    Prep: Preheat the oven to 355°F (180°C). Line the bottoms of two 8" round cake pans with parchment paper and butter the sides of the pans.

    beating butter, oil, and sugar with electric mixer

    Step 1: In a large bowl or stand mixer, combine softened butter, oil, sugar, and salt. Beat together until light and creamy, for about 5 minutes. Scrape down the bowl to make sure that it's evenly creamed.

    separating egg whites into the coconut cake batter

    Step 2: Add the egg whites into the butter and sugar mixture.

    beating oil, sugar, and egg whites in large bowl with mixer

    Step 3: Beat again until combined and it thickens slightly, for about 2-3 minutes.

    beating coconut batter wet ingredients with mixer in bowl

    Step 4: Add the sour cream, vanilla, coconut extract, and almond extract into the bowl. Mix to combine.

    whisking dry ingredients together in a bowl

    Step 5: Whisk the flour, baking powder, and baking soda together in a separate bowl. 

    sifting dry ingredients into coconut batter

    Step 6: Sift half of the dry ingredients into the wet ingredients. Mix gently to incorporate until you don't see any more dry flour.

    pouring coconut milk into coconut cake batter

    Step 7: Then, add the coconut milk and sift the rest of the flour inside. Mix on low to incorporate. Stop mixing as soon as it's smooth and you don't see any dry streaks of flour. Don't overmix!

    coconut cake batter in cake pans

    Step 8: Add the shredded coconut and fold to combine. Divide the batter in half and transfer them into two baking pans. Bake in the preheated oven for 25-30 minutes (check at 25 minutes), until a toothpick inserted into the center comes out mostly clean with a few crumbs attached.

    Step 9: Remove the cake layers from the oven and let them cool inside the pans for 10 minutes. Then, flip the layers onto a cooling rack to cool completely. If the cake is stuck, you can run a spatula along the outside.

    Coconut cream cheese frosting and assembly

    running a spatula through coconut cream cheese frosting in large mixing bowl

    Step 1: Beat the softened butter until light and creamy. Add the powdered sugar and mix on medium speed until the frosting looks very creamy and light, about 5 minutes.

    Add the coconut extract and salt. Then, add the cold cream cheese, one large piece at a time, mixing in between.

    slicing coconut cake layer in half to create two coconut cake layers

    Step 2: Use a large knife to cut each layer in half lengthwise to make four cake layers.

    piping frosting border on coconut cake layers

    Step 3: Add a small dollop of frosting onto the cake stand. Add the first cake layer on top. Spread about ½ cup of frosting evenly onto the first cake layer. Then, pipe a thick border of frosting along the edge to hold the filling.

    layering raspberry filling in between cake layers with a spoon

    Step 4: Spread a thin layer of raspberry filling inside the middle. Don't add too much or else it will leak out the sides.

    layering coconut cake layers

    Step 5: Continue with layering the rest of the cake layers.

    scooping coconut cream cheese frosting onto coconut cake

    Step 6: Once you place the last layer on top, add a generous amount of frosting on top and to the sides, and smooth it down. Don't worry if it looks messy.

    pressing shredded coconut onto frosted coconut cake

    Step 7: Sprinkle and press the shredded coconut onto the sides and top of the cake. It will stick to the frosting. You can use your hands to help you smooth the sides.

    piping dollops of raspberry frosting onto the coconut raspberry cake

    Step 8: Add a tablespoon of leftover raspberry filling to the remaining frosting. Mix together well. Use a piping bag to pipe dollops of pink frosting in a ring shape on top of the cake.

    patting raspberry frosting peaks with fingers

    Step 9: Use a wet finger to push down the peaks of the icing (optional).

    placing frozen raspberries individually onto coconut raspberry cake with raspberry frosting

    Step 10: Decorate with fresh or frozen raspberries. Slice and enjoy, or refrigerate and enjoy later!

    ✔️ Expert coconut cake with raspberry filling tips

    1. Use room temperature ingredients for the cake batter: this ensures that all of your ingredients blend smoothly and evenly, creating an even cake crumb.
    2. Use cake flour: In this recipe, cake flour makes a huge difference! It transforms the texture into a plush, tender crumb.
    3. Cool the cake layers and raspberry filling before frosting: If you frost a hot cake you're bound to have a leaning, melting mess on your hands.
    4. Add cold cream cheese into the frosting: This creates a stable cream cheese frosting that won't melt on you.

    🥄 Make ahead and storage

    You can make this coconut raspberry cake a day or two ahead of time - pop it into a cake container and store it in the fridge.

    Leftovers store well in an airtight container in the fridge for up to 4 days.

    To save on time, I'd also recommend making the raspberry filling a day or two ahead of time and storing it in the fridge in an airtight container. That way it's ready to go whenever you're ready.

    You can also bake the cake layers ahead of time, just wrap them up tightly to prevent them from drying out, and store them in the fridge until you're ready to assemble the cake.

    I don't recommend freezing the cake because the raspberry filling uses cornstarch to thicken and cornstarch tends to lose its integrity when it defrosts. If you plan on making and freezing the cake or filling, I recommend substituting the cornstarch with potato starch or arrowroot starch.

    slice of coconut and raspberry cake on a plate

    🧀 How to perfect a stiff cream cheese frosting

    Cream cheese frosting is tricky because it can get gloopy unstable quickly. To understand how to prevent a gloopy, watery cream cheese frosting, it's important to understand how it happens.

    Cream cheese is high in moisture content, much higher than butter is. When the moisture comes in contact with powdered sugar (which is hygroscopic, meaning it attracts and absorbs moisture), the powdered sugar dissolves into the moisture. Sugar is considered a "wet" ingredient in baking because once it dissolves, it becomes a liquid and adds moisture. This results in a loose gloopy frosting.

    Here are the tricks that I use to prevent that so that you get a perfectly frosted cake with cream cheese frosting every time!

    1. Beat butter and powdered sugar together first to coat the sugar particles in fat which will prevent it from dissolving into the cream cheese.
    2. Use cold cream cheese and add it only at the very end. Cold cream cheese is more stiff and colder cream cheese is less likely to dissolve as much sugar.
    3. Once you add the cream cheese, mix only briefly. I only mix for about 5 seconds. If you overmix, you risk over incorporating the cream cheese which will then start to dissolve the sugar.
    4. Don't add too much cream cheese: This is a given. If you add too much cream cheese, you end up with too wet of a frosting. I like to add just enough to make the frosting fluffy and add that delicious cream cheese flavor.
    coconut layer cake with raspberry filling on cake stand

    📖 Recipe FAQs

    Can I use unsweetened coconut?

    Yes technically you could, but I don't recommend it because this recipe was formulated to be made with sweetened shredded coconut, which has a softer chewier bite and is much sweeter. If you use unsweetened coconut, the cake won't be as moist.

    Can I make this gluten free?

    Yes substitute the flour with 1:1 gluten free flour.

    Can I make the raspberry filling seedless?

     Yes, I added instructions in the recipe on how to make the filling seedless. All you have to do is strain the raspberry mixture before adding the cornstarch slurry. Although, I love the added crunch and texture that the seeds gave because it worked so well with the coconut texture.

    Can I make this into a coconut sheet cake?

    Yes you can. Bake it in a 9" by 12" baking pan. You can cut it in half lengthwise to create two layers or just frost the top. If you opt to frost the top, I recommend dividing the amount of frosting in half because this recipe would make too much frosting.

    bitten coconut raspberry cake on a plate closeup soft texture

    🍰 More related recipes

    • Cake roll with mango filling and shredded coconut on the outside
      Mango Coconut Swiss Roll Cake
    • cross section of lemon raspberry layer cake with gooey raspberry curd filling
      Lemon Raspberry Cake
    • raspberry pistachio cake roll on cake plate
      Raspberry Pistachio Cake Roll
    • raspberry meringue pie cut in half closeup
      Raspberry Meringue Pie with Mile High Meringue

    Did you make this recipe? I would love for you to rate this recipe and hear what you think in the comments below! Share your creation on Instagram and tag @flouringkitchen. Follow me on Pinterest to save and for more recipe ideas.

    📖 Recipe

    coconut layer cake with raspberry filling on cake stand

    Raspberry Coconut Cake

    Mary
    Ultra soft, tender, moist, and fluffy coconut cake with a creamy coconut cream cheese frosting, and a sweet and tangy raspberry filling. Loads of raspberry and coconut flavor, and the fluffy tender texture of the coconut cake is incredible. This cake is sure to impress any coconut lover! The coconut cake layers are buttery, tender, fluffy, and so coconutty. I've also included tips on how to make sure that the cream cheese frosting turns out stable and not gloopy. This is the best coconut raspberry cake ever! I've tested many versions and this quite literally, took the cake.
    No ratings yet
    Print Recipe Pin Recipe Shop Ingredients
    Prep Time 40 minutes mins
    Cook Time 25 minutes mins
    Total Time 1 hour hr 5 minutes mins
    Course Baking, Cake, Dessert
    Cuisine American
    Servings 18 slices
    Calories 742 kcal

    Equipment

    • 2 eight inch round baking pans
    • electric mixer

    Ingredients
      

    Raspberry Cake Filling

    • 4 cups raspberries 430g
    • ½ cup granulated sugar
    • 1 tablespoon lemon juice
    • 3 tablespoons cornstarch
    • 2 tablespoons water

    Coconut Cake Layers

    • ½ cup unsalted butter softened
    • ¼ cup neutral oil
    • 1 ½ cups granulated sugar
    • ½ teaspoon sea salt
    • 4 large egg whites room temperature
    • ⅔ cups sour cream room temperature
    • 1 tablespoon pure vanilla extract
    • 1 teaspoon coconut extract
    • ¼ teaspoon almond extract
    • 2 ½ cups cake flour 300g
    • 2 teaspoons baking powder
    • ¼ teaspoon baking soda
    • 1 cup canned coconut milk full fat
    • 1 cup sweetened shredded coconut

    Coconut Cream Cheese Frosting

    • 2 cups unsalted butter softened
    • 7 cups powdered sugar
    • ½ teaspoon sea salt
    • ½ teaspoon coconut extract
    • 6 oz cream cheese cold
    • 2 cups sweetened shredded coconut
    Makes: 8inch0 x 0inch round
    Shop Ingredients on Jupiter

    Instructions
     

    Raspberry Cake Filling

    • Add the raspberries into a medium saucepan. Add the sugar and lemon juice and stir. Heat on medium-low heat, stirring occasionally, until the juice gets released. Then let it simmer gently for about 5 minutes to break down the berries.
      4 cups raspberries, ½ cup granulated sugar, 1 tablespoon lemon juice
    • While the raspberries simmer, combine cornstarch and water in a separate cup or a bowl. If you want a seedless raspberry filling, you could strain the raspberry mixture through a sieve at this point.
      3 tablespoons cornstarch, 2 tablespoons water
    • Pour the cornstarch slurry into the hot raspberry sauce and stir to combine. Then, put it back onto the heat and stir until it thickens and comes to a boil.
    • Transfer the raspberry filling into a heat safe bowl, and pop it into the fridge to cool completely.

    Coconut Cake Layers

    • Preheat the oven to 355°F (180°C). Line the bottoms of two 8" round cake pans with parchment paper and butter the sides of the pans.
    • In a large bowl or stand mixer, combine softened butter, oil, sugar, and salt. Beat together until light and creamy, for about 5 minutes. Scrape down the bowl to make sure that it's evenly creamed.
      ½ cup unsalted butter, ¼ cup neutral oil, 1 ½ cups granulated sugar, ½ teaspoon sea salt
    • Add the egg whites into the butter and sugar mixture. Beat again until combined and it thickens slightly, for about 2-3 minutes.
      4 large egg whites
    • Add the sour cream, vanilla, coconut extract, and almond extract into the bowl. Mix to combine.
      ⅔ cups sour cream, 1 tablespoon pure vanilla extract, 1 teaspoon coconut extract, ¼ teaspoon almond extract
    • Whisk the flour, baking powder, and baking soda together in a separate bowl.
      2 ½ cups cake flour, 2 teaspoons baking powder, ¼ teaspoon baking soda
    • Sift half of the dry ingredients into the wet ingredients. Mix gently to incorporate until you don't see any more dry flour. Then, add the coconut milk and sift the rest of the flour inside. Mix on low to incorporate. Stop mixing as soon as it's smooth and you don't see any dry streaks of flour. Don't overmix!
      1 cup canned coconut milk
    • Add the shredded coconut and fold to combine. Divide the batter in half and transfer them into two baking pans. Bake in the preheated oven for 25-30 minutes (check at 25 minutes), until a toothpick inserted into the center comes out mostly clean with a few crumbs attached.
      1 cup sweetened shredded coconut
    • Remove the cake layers from the oven and let them cool inside the pans for 10 minutes. Then, flip the layers onto a cooling rack to cool completely. If the cake is stuck, you can run a spatula along the outside.

    Coconut Cream Cheese Frosting

    • Add the butter into a clean mixing bowl. Beat with a paddle attachment until light and creamy. This will take about 7-10 minutes, and the butter should be very creamy and pale.
      2 cups unsalted butter
    • Add the powdered sugar, 1 cup at a time, mixing in between each addition. Then, mix on medium speed until the frosting looks very creamy and light, about 5 minutes.
      7 cups powdered sugar
    • Add the coconut extract and salt into the bowl. Mix briefly to combine. Then, add the cold cream cheese, one large piece at a time, mixing to combine in between each addition.
      ½ teaspoon sea salt, ½ teaspoon coconut extract, 6 oz cream cheese
    • Once all of the cream cheese is added, beat the frosting until it's light and creamy for about 5 seconds. No longer or else it will become gloopy! At this point it should be fluffy and very stiff.

    Assembly

    • Once the cake layers cool down completely, you are ready to assemble. Take the parchment paper off the layers. Use a large knife to cut each layer in half lengthwise to make four cake layers.
    • Add a small dollop of frosting onto the cake stand. Add the first cake layer on top. Spread about ½ cup of frosting evenly onto the first cake layer. Then, pipe a thick border of frosting along the edge to hold the filling. Spread a thin layer of raspberry filling inside the middle. Don't add too much or else it will leak out the sides.
    • Continue with layering the rest of the cake layers. Once you place the last layer on top, add a generous amount of frosting on top and to the sides, and smooth it down. Don't worry if it looks messy.
      2 cups sweetened shredded coconut
    • Sprinkle and press the shredded coconut onto the sides and top of the cake. It will stick to the frosting. You can use your hands to help you smooth the sides.
    • Add a tablespoon of leftover raspberry filling to the remaining frosting. Mix together well. Use a piping bag to pipe dollops of pink frosting in a ring shape on top of the cake.
    • Decorate with fresh or frozen raspberries. Slice and enjoy, or refrigerate and enjoy later!

    Notes

    Make ahead: You can make this coconut raspberry cake a day or two ahead of time - pop it into a cake container and store it in the fridge.
    • Raspberry filling: make it a day or two ahead of time and storing it in the fridge in an airtight container. That way it's ready to go whenever you're ready.
    • Cake layers: wrap them up tightly to prevent them from drying out, and store them in the fridge until you're ready to assemble the cake.
    Storage: Leftovers store well in an airtight container in the fridge for up to 4 days.
    Freezing: I don't recommend freezing the cake because the raspberry filling uses cornstarch to thicken and cornstarch tends to lose its integrity when it defrosts. If you plan on making and freezing the cake or filling, I recommend substituting the cornstarch with potato starch or arrowroot starch.
    Tips for success
    1. Use room temperature ingredients for the cake batter: this ensures that all of your ingredients blend smoothly and evenly, creating an even cake crumb.
    2. Use cake flour: In this recipe, cake flour makes a huge difference! It transforms the texture into a plush, tender crumb.
    3. Cool the cake layers and raspberry filling before frosting: If you frost a hot cake you're bound to have a leaning, melting mess on your hands.
    4. Add cold cream cheese into the frosting: This creates a stable cream cheese frosting that won't melt on you.

    Nutrition

    Calories: 742kcalCarbohydrates: 95gProtein: 6gFat: 39gSaturated Fat: 25gPolyunsaturated Fat: 2gMonounsaturated Fat: 9gTrans Fat: 1gCholesterol: 74mgSodium: 318mgPotassium: 203mgFiber: 3gSugar: 77gVitamin A: 855IUVitamin C: 8mgCalcium: 91mgIron: 1mg
    Tried this recipe?Let us know how it was!
    « Rhubarb Muffins with Cream Cheese Filling and Crumble
    Oatmeal Ice Cream Sandwiches »

    Reader Interactions

    Comments

    No Comments

    Did you make this recipe? Let me know! Cancel reply

    Your email address will not be published. Required fields are marked *

    Recipe Rating




    Primary Sidebar

    Girl holding whisk

    Hi, I'm Mary! This is where I share all of my baked treats. I use my massive sweet tooth and background in food science to make decadent, foolproof recipes.

    More about me →

    Christmas Cookie Recipes

    • thumbprint cookie box
      Christmas Thumbprint Cookies
    • molded and glazed squirrel and pinecone shaped gingerbread cookies
      Thick Gingerbread Molded Cookies with Jam Filling
    • mushroom sugar cookies
      Mushroom Sugar Cookies
    • peppermint brownie bark cookies
      Peppermint Brownie Bark Cookies
    • orange shortbread cookies
      Orange shortbread cookies
    • hot chocolate cookies with mini marshmallows and candy cane pieces
      Hot chocolate cookies

    Popular Recipes

    • gooey apple monkey bread stuffed with caramel
      Apple Monkey Bread [Stuffed with Caramel]
    • pumpkin pie cheesecake on a plate with whipped cream and swirls
      Pumpkin Pie Swirl Cheesecake
    • chai cookies on baking tray with one bitten to show cheesecake filling
      The Best Chai Cookies [with Cheesecake Filling]
    • apple fritters with cheddar cheese on parchment paper
      Donut Apple Fritters [Bakery Style]
    • pumpkin monkey bread stuffed with cream cheese filling on a large plate with caramel sauce
      Pumpkin Monkey Bread Stuffed with Cream Cheese
    • apple cider muffins arranged on parchment paper
      Apple Cider Muffins

    Footer

    Info

    • Recipe Archive
    • About
    • Contact
    • Work with me
    • Privacy Policy

    Newsletter

    Subscribe to get recipes and baking tips right to your inbox:

    You can unsubscribe anytime.

    Yaaaay!

    You have successfully joined our subscriber list.

    .

    More

    • Essential kitchen gift guide
    • Free fall recipe ebook
    • Free holiday recipe ebook

    As an Amazon Associate I earn from qualifying purchases at no additional cost to you. This helps to support this blog so I can keep creating free recipes for you to enjoy.

    Copyright © 2025 Flouring Kitchen

    Rate This Recipe

    Your vote:




    A rating is required
    A name is required
    An email is required