About the Recipe
When it comes to classic layer cakes, few desserts are as beloved as a coconut cake. With its soft, tender crumb, rich coconut flavor, and fluffy frosting, coconut cake has been a centerpiece at family celebrations and holiday tables for generations. This Gluten-Free Heavenly Coconut Cake captures everything people love about a traditional coconut cake while remaining completely gluten-free.
The secret to this exceptional cake is the combination of carefully selected gluten-free flours, rich sour cream, and shredded coconut. Together, these ingredients create a moist, flavorful cake that stays soft for days. Unlike many gluten-free cakes that can become dry or crumbly, this recipe produces delicate layers with a tender texture that rivals any bakery cake.
Every bite is infused with coconut flavor from coconut extract and sweetened shredded coconut. Fresh lime zest is added to brighten the flavor and enhance the natural sweetness of the coconut without making the cake taste citrusy. The result is a perfectly balanced dessert that is rich yet refreshing.
The cake is finished with a luxurious coconut cream cheese frosting that is silky smooth, creamy, and loaded with coconut flavor. A generous coating of shredded coconut on the outside creates the classic look that makes coconut cake so beautiful and inviting.
Whether you are celebrating a birthday, Easter, Mother’s Day, bridal shower, baby shower, anniversary, holiday gathering, or simply looking for a stunning dessert to share with family and friends, this Gluten-Free Heavenly Coconut Cake is guaranteed to impress.
Prep Time
30 minutes
Bake Time
30 to 35 minutes
Cooling Time
1 hour
Total Time
2 hours 5 minutes
Yield
12 to 14 servings
Ingredients
Cake
½ cup + 1 tablespoon sweet rice flour
½ cup white rice flour
½ cup + 1 tablespoon tapioca flour
¼ cup brown rice flour
¾ teaspoon xanthan gum
1 teaspoon baking powder
½ teaspoon baking soda
½ teaspoon kosher salt
1 stick unsalted butter, softened, or ½ cup neutral oil
1 cup granulated sugar
4 large eggs, room temperature
2 teaspoons pure vanilla extract
1 teaspoon coconut extract
½ cup whole milk or buttermilk, room temperature
8 ounces sour cream, room temperature
½ cup sweetened shredded coconut
Zest of 4 large limes
Coconut Cream Cheese Frosting
1 package (8 ounces) cream cheese, softened
1 stick unsalted butter, softened
3 tablespoons coconut milk
3 cups powdered sugar
1½ cups sweetened shredded coconut
Additional sweetened shredded coconut for decorating
Alternative Southern-Style Cake Option
2 sticks butter, softened
2½ cups gluten-free measure-for-measure flour
2 cups granulated sugar
5 large eggs
1 teaspoon pure vanilla extract
1 teaspoon almond extract
1 teaspoon baking soda
1 teaspoon salt
1 cup buttermilk
½ cup sweetened shredded coconut
Preparation
Prepare the Cake Pans
Preheat the oven to 350°F.
Grease two 8-inch round cake pans thoroughly with butter or nonstick baking spray. Line the bottoms with parchment paper circles and lightly grease the parchment. Dust each pan with gluten-free flour and tap out any excess.
Properly preparing the pans helps ensure the cake layers release cleanly and maintain their shape.
Combine the Dry Ingredients
In a medium mixing bowl, whisk together the sweet rice flour, white rice flour, tapioca flour, brown rice flour, xanthan gum, baking powder, baking soda, and kosher salt.
Whisking the ingredients thoroughly ensures that the leavening agents and xanthan gum are evenly distributed throughout the batter, resulting in a consistent crumb.
Set the bowl aside.
Cream the Butter and Sugar
In a large mixing bowl, beat the softened butter and granulated sugar using a hand mixer or stand mixer.
Continue mixing for 3 to 4 minutes until the mixture becomes pale, fluffy, and noticeably lighter in texture.
This step is one of the most important parts of the recipe because it incorporates air into the batter, helping create a soft and tender cake.
Add the Eggs and Flavorings
Add the eggs one at a time, beating well after each addition.
Scrape down the sides and bottom of the bowl as needed.
Mix in the vanilla extract and coconut extract until fully incorporated.
The vanilla adds warmth while the coconut extract enhances the tropical flavor profile.
Incorporate the Sour Cream and Lime Zest
Add the sour cream and mix until smooth.
Stir in the lime zest.
Although the cake does not taste strongly of lime, the zest brightens the overall flavor and helps balance the richness of the coconut and cream cheese frosting.
Alternate the Dry Ingredients and Milk
Reduce the mixer speed to low.
Add one-third of the flour mixture followed by half of the milk or buttermilk.
Repeat with another third of the flour mixture and the remaining milk.
Finish with the final portion of the flour mixture.
Mix only until combined.
Overmixing can lead to a denser cake, so avoid mixing longer than necessary.
Fold in the Coconut
Using a rubber spatula, gently fold the shredded coconut into the batter.
The coconut adds texture, moisture, and flavor while helping create the signature character of a classic coconut cake.
Bake the Cake
Divide the batter evenly between the prepared cake pans.
Smooth the tops using an offset spatula or the back of a spoon.
Place the pans in the center of the preheated oven and bake for 30 to 35 minutes.
The cakes are done when the tops are lightly golden and a toothpick inserted into the center comes out clean or with a few moist crumbs attached.
Cool the Cake Layers
Allow the cakes to cool in the pans for approximately 15 minutes.
Carefully run a knife around the edges of each pan before turning the cakes out onto wire racks.
Remove the parchment paper and allow the layers to cool completely before frosting.
Cooling completely is essential for successful assembly.
Prepare the Coconut Cream Cheese Frosting
In a large bowl, beat the softened cream cheese and butter until smooth and fluffy.
Add the coconut milk and continue mixing until fully incorporated.
Gradually add the powdered sugar, one cup at a time, beating after each addition until smooth.
Fold in the shredded coconut.
The finished frosting should be creamy, rich, and spreadable.
Assemble the Cake
Place one cooled cake layer on a serving plate or cake stand.
Spread approximately one-third of the frosting evenly across the surface.
Place the second cake layer on top.
Cover the top and sides of the cake with the remaining frosting.
Use an offset spatula to create a smooth finish.
Press additional shredded coconut onto the sides and top of the cake.
For the most attractive presentation, gently pat the coconut into the frosting until the entire cake is coated.
Refrigerate the cake for at least 30 minutes before slicing and serving.
Alternative Southern-Style Cake Option
For a traditional Southern-inspired coconut cake, use the alternative ingredients listed above.
Cream the butter and sugar until light and fluffy.
Add the eggs one at a time, mixing well after each addition.
Mix in the vanilla extract and almond extract.
Whisk together the gluten-free flour, baking soda, and salt.
Alternate adding the flour mixture and buttermilk to the batter.
Fold in the shredded coconut.
Divide between prepared cake pans and bake at 350°F for 30 to 35 minutes.
Cool completely before frosting with the coconut cream cheese frosting.
Storage
Store the cake covered in the refrigerator for up to 5 days.
Because of the cream cheese frosting, refrigeration is recommended.
Allow the cake to sit at room temperature for approximately 20 to 30 minutes before serving for the best flavor and texture.
Freezing Instructions
The unfrosted cake layers can be wrapped tightly in plastic wrap and frozen for up to 2 months.
The fully frosted cake may also be frozen. Place it in the freezer until firm, then wrap tightly and store in an airtight container.
Thaw overnight in the refrigerator before serving.
Notes
Tips for the Best Gluten-Free Coconut Cake
Use room-temperature ingredients for a smoother batter and more even baking.
Measure gluten-free flours carefully using the spoon-and-level method.
Do not overmix the batter once the flour mixture has been added.
Allow the cake layers to cool completely before frosting.
For extra coconut flavor, replace the milk or buttermilk with full-fat coconut milk.
For a more dramatic presentation, decorate the top with toasted coconut flakes.
For special occasions, garnish with edible flowers or fresh berries.
Why This Recipe Works
The combination of sweet rice flour, white rice flour, tapioca flour, and brown rice flour creates a balanced gluten-free flour blend that delivers excellent texture without grittiness.
Sour cream provides moisture and richness.
Eggs add structure and tenderness.
Coconut extract intensifies the coconut flavor without requiring excessive amounts of shredded coconut.
The cream cheese frosting balances the sweetness of the cake while adding a luxurious creamy texture.
Together, these ingredients create a cake that tastes every bit as delicious as a traditional coconut cake while remaining completely gluten-free.