Perfect Low-FODMAP Coconut Cake Recipe; Gluten-free, Dairy-free

Print Friendly Version

This low-FODMAP Coconut Cake is absolute perfection. It is exactly what a coconut cake should be.  Light, fluffy cake layers subtly yet expertly balanced with the sweetness of low-FODMAP coconut cream all covered by velvety low-FODMAP frosting. The coconut shavings give the frosting texture and make it beautiful and fun.  But just wait for the taste…melt in your mouth delicious!

This low-FODMAP Coconut Cake recipe is the best you will ever enjoy.  It is moist, light and beautiful.  Plus, it incorporates real coconut milk in the cake, and plenty of shredded coconut in the layers, making it so natural and fresh tasting.

Your guests will never know this low-FODMAP Coconut Cake is gluten-free and IBS-friendly.  Top it with my low-FODMAP Cream Cheese frosting or low-FODMAP Ermine frosting (for dairy-free option).

Check out my low-FODMAP Hummingbird Cake, low-FODMAP Red Velvet Cake and low-FODMAP Carrot Cake for other great recipe ideas.  Or peruse over 300 more low-FODMAP recipes on the blog, like my low-FODMAP Cake Collection.

Be healthy and happy,

Rachel Pauls

Perfect Low-FODMAP Coconut Cake Recipe; Gluten-free, Dairy-free

Although this recipe has not been tested, a single serving should be low-FODMAP based on the ingredients

Serves 24

Prep time: 30 min

Bake time: 35-40 min

Chilling time: 1-2 hours or overnight for low-FODMAP Coconut Cream Filling

Decorating time: 20 minutes

Bake 350 F


For low-FODMAP Coconut Layer Cake:

  • 2 cups sugar
  • 4 large eggs
  • 2 & ½ cups Authentic Foods GF Classical Blend low-FODMAP Gluten-free flour, or your preferred gluten-free, low-FODMAP flour choice (I love this flour- consistent results every time.  See my low-FODMAP bake off blog!)
  • ½ tsp salt
  • 1 tbsp baking powder
  • 1 tsp xanthan gum
  • 1 cup canola oil
  • 1 cup canned full-fat coconut milk
    • 1/4 cup is one low-FODMAP serving
  • 1 tsp vanilla extract
  • 1 tsp coconut extract (adjust based on the potency of your extract)
  • Low-FODMAP Cream Cheese Frosting or low-FODMAP Opera Cream/Ermine frosting for dairy-free version
    • Add ½ tsp coconut extract to your choice of low-FODMAP frosting recipe
    • Double recipe for layer cake as per instructions
  • 1-2 cups (1 cup is 80 g) sweetened or unsweetened shredded coconut, for garnish (toasted or untoasted)
      • 2/3 cup or 64 g is one low-FODMAP serving for coconut
      • If decorating the entire cake need about 2 cups
  • Vegetable shortening, for greasing

For low-FODMAP Coconut Cream Filling:

  • 3 large egg yolks
  • ¼ cup plus 2 tablespoons sugar
  • 3 tablespoons cornstarch or potato starch
  • 1/8 teaspoon salt
  • 1 and 1/2 cups low-FODMAP milk (such as almond milk for dairy-free or lactose-free milk)
  • 3/4 cup sweetened shredded coconut
  • ¾ teaspoon pure vanilla extract


  • Preheat oven to 350 F
  • Line 2 x 9 inch round cake pans with parchment and grease well
  • In large bowl of stand mixer with flat paddle, mix sugar and eggs on medium for 1 minute
  • In a second medium bowl, combine low-FODMAP flour, baking powder, and xanthan gum
  • In a large measuring cup, place oil, coconut milk, vanilla and coconut extracts and stir to combine
  • Add the flour mixture to the egg mixture on low-medium, alternating with the oil/coconut milk mixture until all are combined; do not overmix
  • Pour batter into the 2 pans
  • Place in center of oven and bake for about 35-40 min, until cake springs back from pan edges and center is springy when touched, tester in center should come out clean (ovens vary, so yours may take more/less time)
  • Cool cakes in pan for 5 minutes, then invert to a rack and cool completely
  • If desired- chill or freeze cakes prior to decorating; this step is recommended if you plan to cut your layers to create a 4 layer cake
  • Prepare your choice of low-FODMAP frosting; add coconut extract to frosting recipe if desired (see note above)
  • Prepare coconut cream filling while the cake is baking and chill at the same time as the cake

Directions for low-FODMAP Coconut Cream

  • Place egg yolks in a large bowl; whisk to combine; set bowl aside
  • Combine sugar, cornstarch, and salt in a saucepan
  • Gradually whisk in low-FODMAP milk
  • Cook, stirring, over medium heat until mixture thickens and comes to a boil, 10 to 12 minutes
  • Remove from heat
  • Whisk a few tablespoons of the hot milk mixture into the reserved egg yolks to temper yolks
  • Slowly pour warm yolks into the saucepan, stirring constantly
  • Cook slowly, stirring, over medium-low heat, until mixture begins to bubble, about 5 to 6 minutes
  • Remove from heat
  • Stir in shredded coconut and vanilla
  • Transfer filling to a medium mixing bowl, and cover with plastic wrap touching the surface so a skin doesn’t form
  • Chill until set, about 1-2 hours in refrigerator

When ready to frost and fill low-FODMAP Coconut Cake, remove from refrigerator or freezer:

  • If making a 4 layer cake, cut both of the layers in half
    • I used a cake cutter as well as a long serrated knife.  This is tricky so take your time 😉
  • If making a 2 layer cake, skip this step
  • Place the bottom base layer on cake plate, and place half the low-FODMAP coconut cream on this layer
      • This will be a thin layer, just visible to the eye in the photos .  You don’t want the low-FODMAP coconut cream to overpower the lightness of the cake
      • The low-FODMAP coconut cream blends beautifully with the cake and gives it a moist texture and wonderful flavor
  • Top with the second half of this cake and place the low-FODMAP Opera Cream/Ermine frosting or low-FODMAP Cream Cheese frosting as the middle
    • Don’t forget to add some coconut extract to your choice of low-FODMAP frosting as per above ingredients
    • The middle layer will be slightly thicker than the other 2 layers
  • Repeat with the next cake layer and place the low-FODMAP Coconut Cream on this layer
  • If making a 2 layer cake, spread the low-FODMAP Coconut cream in the middle
  • Top with the top layer of the cake and frost top and sides with low-FODMAP Opera Cream/Ermine frosting or low-FODMAP Cream Cheese frosting
  • Garnish cake with the shredded coconut
  • Chill until serving

Moist, light and so delicious.  I think this may be my favorite low-FODMAP Cake Recipe ever!

Comments Rating 4.2 (5 reviews)

10 Responses

    1. Sorry to hear that Deb. We did not have that problem. Are you referring to the filling? If so, then we hope you. were able to enjoy the remainder of the recipe including the cake and frosting.

  1. Worked great

    I don’t usually post reviews, but I wanted to contribute since I thought this cake was fantastic. I had no problems with the coconut filling getting too thick. I stirred it after it set, and it was very easy to spread. I loved the flavor so much it was hard not to eat it straight from the bowl! This cake was my special challenge for my sisters wedding shower (we did a family only small group). She was thrilled that it didn’t trigger her IBS!

    1. Lee!
      We are so happy to hear from you and SO glad the cake was a hit!
      Have a wonderful day and stay in touch please 🙂

  2. Light and moist

    I love the texture of this coconut cake! I didn’t think I could have a gluten-free cake that was this light, moist and delicious! It is absolutely perfect with the filling, and I used cream cheese frosting. SO GOOD. Made it for a pre-halloween party (‘ghost’ decoration). No one knew it wasn’t made with regular flour. Will make again!

    1. Karen,
      How wonderful! That sounds like such fun- we have also seen coconut cakes for Hallowe’en parties. Perfect idea! So glad you enjoyed the flavors and please stay in touch with us 🙂

  3. My mom baked this cake for my birthday and it was delicious. I bake a lot but this is easily one of my favorite cake ever!

    1. Hi Adriana,
      What incredible praise! Happiest of birthdays to you! Thank you so much for your comments. Your review made our day shine 🙂 Stay in touch!

  4. AMAZING!!!

    Made it on Easter and everyone who didn’t need Low Fod Map had to try it based on the response of everyone
    else – it was by far the favorite dessert!

    My soon-to-be 17 year old daughter loves it sooo much that she said she wants it for her birthday made with the same ingredients I have used before even though she doesn’t need to eat Low Fod.

Leave a Reply

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


As an IBS-sufferer myself, I know how badly you want to feel healthy and happy. I’ve spent over a decade researching IBS and FODMAPs, and my recipes and guidance will help you succeed.

Enjoy everything my site has to offer!

More about me


Dr. Rachel’s Guide to Starting the Low-FODMAP Diet
Dr. Rachel’s Favorite Low-FODMAP Asian Recipes; Gluten-free, Gut Friendly
Low-FODMAP Options at Starbucks: Coffee, Bakery and More!
Our 20 Most Popular Low-FODMAP & Gluten-free Family Dinners: Easy 30-Minute; One-Pot, Sheet-Pan and Slow Cooker Recipes