Gluten Free German Chocolate Cake
This Gluten Free German Chocolate Cake features tender chocolate layers, coconut pecan filling, and rich frosting—perfect for celebrations and easier than you’d think!
You know what? I used to think German chocolate cake was one of those desserts I’d have to say goodbye to forever after going gluten-free. The thought of missing out on that coconut-pecan filling at family gatherings honestly made me a little sad.
But here’s the thing—this Gluten Free German Chocolate Cake is every bit as impressive as the traditional version, and honestly, nobody will ever guess it’s gluten-free. The layers come out tender and moist, the coconut caramel filling is absolutely dreamy, and that chocolate buttercream brings everything together perfectly.
I’ve made this Gluten-Free German Chocolate Layer Cake for birthdays, Thanksgiving, and even just because it was Tuesday and we needed something special. It’s become my go-to celebration cake, and I’m so excited to share it with you today.
Table of Contents
Ingredients

DRY INGREDIENTS:
- 1 3/4 cups gluten-free 1:1 baking flour (270 grams)
- ½ cup unsweetened cocoa powder (50 grams)
- 3 teaspoons baking powder
- 1 teaspoon salt
OTHER INGREDIENTS:
- 1 ¾ cups sugar (380 grams)
- 3 eggs
- ½ cup vegetable oil (100 grams)
- 1 tablespoon vanilla extract
- 1 teaspoon lemon juice
- ½ cup sour cream (120 grams, regular or light)
- 1 cup milk (250ml, I use 2%)
COCONUT CARAMEL FILLING:
- 4 large egg yolks
- 1 cup evaporated milk (236ml)
- 8 tablespoons butter (cut into 8 pieces)
- ½ cup granulated sugar (100 grams)
- ½ cup light brown sugar (firmly packed, 100 grams)
- ¼ teaspoon salt
- 1 teaspoon vanilla extract
- 1 cup chopped pecans (125 grams)
- 2 cups sweetened shredded coconut (160 grams)
CHOCOLATE BUTTERCREAM FROSTING:
- ⅓ cup unsweetened cocoa powder (35 grams)
- ½ cup butter (softened to room temperature)
- 3-4 cups confectioners’ sugar (340-450 grams)
- ¼ cup heavy cream or milk
- ¼ teaspoon salt
- 2 teaspoons pure vanilla extract
- ¼ teaspoon almond extract
Instructions
MAKE THE CAKE:
Preheat your oven to 350°F and grease two 8-inch round pans generously. I always line the bottom with parchment paper circles and grease again—it’s a little extra step that makes removing the cakes so much easier.
Whisk together the gluten-free flour, cocoa powder, baking powder, and salt in a medium bowl. Set this aside while you work on the wet ingredients.
Add the eggs and sugar to your stand mixer bowl and whip on medium-high speed for a full 3 minutes until the mixture looks light and fluffy. With the mixer running on low, slowly drizzle in the oil—taking your time here helps keep all that gorgeous air you just whipped in. Mix in the vanilla and lemon juice until combined.
Now comes the alternating part, which helps create that perfect German Chocolate Cake (Gluten-Free) texture. With the mixer on low, add ⅓ of the dry ingredients and mix until just incorporated. Add the sour cream and blend it in, then add another ⅓ of the dry ingredients. Pour in ½ of the milk, followed by the last ⅓ of dry ingredients, then finish with the remaining milk. Stir until everything’s totally combined and smooth.
Pour the batter evenly into your prepared pans and bake for 35-40 minutes. You’ll know they’re done when a toothpick inserted in the center comes out clean and the tops look golden. Start making your coconut caramel filling while these bake—it needs time to cool!
Let the cakes cool in their pans for 15 minutes before turning them out onto a wire rack. They need to cool completely before you frost them, so be patient (I know, it’s hard!).
MAKE THE COCONUT CARAMEL FILLING:
Once your Gluten-Free Chocolate Coconut Cake layers are in the oven, get started on this amazing filling.
Combine the brown sugar, granulated sugar, salt, butter, egg yolks, and evaporated milk in a medium saucepan. Stir everything together and bring to a low boil over medium heat, stirring constantly for several minutes until the mixture thickens beautifully.
Remove from heat and stir in the vanilla, pecans, and coconut. Let this cool completely before spreading—warm filling will just slide right off your cake!
MAKE THE CHOCOLATE FROSTING:
Add the cocoa powder to your stand mixer bowl (or use a hand mixer) and mix briefly to smooth out any lumps. Add the softened butter and mix until smooth and creamy. Toss in the remaining ingredients and mix on low until everything’s incorporated, then increase to medium speed and beat until light and fluffy.
ASSEMBLE THE CAKE:
Well… this is where your Gluten Free German Chocolate Cake really comes together and starts looking absolutely stunning!
Place one cooled cake layer on your serving platter or cake stand. Use your chocolate frosting to pipe or spread a border around the outer edge—this creates a little wall to hold in all that glorious coconut caramel filling. Fill the center with half of your coconut pecan mixture.
Top with the second cake layer and frost the top and sides with the remaining chocolate buttercream. Spread the rest of your coconut caramel filling on top, letting it cascade down the sides if you want that gorgeous rustic look. Pipe decorative chocolate frosting around the edges if you’re feeling fancy.
Slice, serve, and get ready for everyone to ask for the recipe!

Substitutions
Can’t find gluten-free 1:1 baking flour? Look for blends that contain xanthan gum—brands like Bob’s Red Mill or King Arthur work beautifully in this Gluten-Free German Chocolate Layer Cake. Just make sure your blend is designed for baking and includes a binder.
If you need to make this dairy-free, swap the butter for vegan butter sticks (not margarine), use coconut cream instead of heavy cream, and choose your favorite non-dairy milk. The sour cream can be replaced with coconut cream yogurt for similar tanginess.
Don’t have sour cream on hand? Greek yogurt works perfectly and adds protein. Full-fat works best, but I’ve used 2% in a pinch and it turned out great.
For the pecans, walnuts make an excellent substitute if that’s what you’ve got in your pantry. Toast them first for extra flavor depth!
Troubleshooting
If your cake layers turn out dense instead of fluffy, you might have overmixed the batter after adding the flour. Mix just until you don’t see any more streaks of flour—overmixing develops the gluten-free starches and creates a gummy texture.
Cakes sinking in the middle usually means the oven temperature was too high or they weren’t baked long enough. Use an oven thermometer to check your actual temperature, and don’t pull them out until that toothpick comes out clean.
Is your coconut filling too runny? It needs to cook long enough to thicken properly—keep stirring over medium heat until it coats the back of a spoon. Remember, it will thicken more as it cools, so don’t worry if it seems slightly loose when you first remove it from heat.
Frosting too stiff or too runny? Add more cream (a tablespoon at a time) if it’s too thick, or more powdered sugar if it’s too thin. Room temperature butter is key—if your butter was too cold, the frosting won’t whip up properly.
Storage
Store your Gluten Free German Chocolate Cake covered at room temperature for up to 2 days, or refrigerate for up to 5 days. The coconut filling actually tastes even better the next day after the flavors have had time to meld together!
You can freeze unfrosted cake layers wrapped tightly in plastic wrap and then foil for up to 3 months. The coconut caramel filling also freezes well in an airtight container. Thaw everything in the fridge overnight before assembling.
Serving Suggestions
This Gluten-Free Chocolate Pecan Cake is stunning on its own, but a scoop of vanilla ice cream alongside a warm slice is absolutely heavenly. The cold creaminess against that coconut caramel filling? Pure magic.
Serve it with hot coffee or cold milk—both complement the rich chocolate perfectly. I love pairing it with simple breakfast treats for a special weekend brunch spread.
Variations
Want to make this German Chocolate Cake (Gluten-Free) even more kid-friendly? Use mini chocolate chips in the batter or sprinkle them on top of the coconut filling. Kids also love when I pipe little chocolate frosting stars around the edge.
For a dairy-free version, this recipe adapts beautifully using the substitutions mentioned above. Just remember to check that your chocolate and shredded coconut are dairy-free too—some brands sneak in milk ingredients.
Make it nut-free by simply leaving out the pecans and adding extra coconut instead. According to trusted food allergy resources, coconut is actually a fruit, not a botanical nut, so it’s safe for most people with tree nut allergies.
Add a tablespoon of espresso powder to the cake batter to intensify the chocolate flavor. It doesn’t make it taste like coffee—it just makes the chocolate more chocolatey!
Gluten Free German Chocolate Cake FAQs
Can I make this as cupcakes instead of a layer cake?
Absolutely! This batter makes about 24 cupcakes. Bake at 350°F for 18-22 minutes, then top each with a dollop of coconut filling and a swirl of chocolate frosting.
What’s the best gluten-free flour blend for this recipe?
I recommend using a blend that includes xanthan gum, like Bob’s Red Mill 1-to-1 or King Arthur Measure for Measure. These blends are specifically formulated to mimic all-purpose flour and work beautifully in this Gluten Free German Chocolate Cake.
How far in advance can I make this cake?
You can bake the layers up to 2 days ahead and keep them covered at room temperature. Make the filling and frosting the day before and refrigerate, then bring everything to room temperature before assembling. This actually makes party prep so much easier!
Why does my coconut filling look separated?
The filling might need a bit more cooking time to emulsify properly. Keep stirring constantly over medium heat—it should look smooth and glossy when it’s done. If it does separate after cooling, give it a quick stir before spreading.
Best way to get perfectly level cake layers?
Use a kitchen scale to weigh your batter and divide it evenly between pans. I also use cake strips around the pans to help them bake more evenly. Expert cake leveling techniques recommend letting cakes cool completely before trimming any domed tops with a serrated knife.

Looking for more delicious gluten-free dessert inspiration? Check out these amazing streusel-topped muffins for your next breakfast treat, or try these bright and citrusy lemon muffins when you need something light and refreshing!
This Gluten Free German Chocolate Cake proves that gluten-free baking doesn’t mean sacrificing flavor or texture. With its tender chocolate layers, sweet coconut pecan filling, and rich buttercream, it’s everything a celebration cake should be—and nobody will ever guess it’s gluten-free. Happy baking!

Gluten Free German Chocolate Cake
Equipment
- Two 8-inch round cake pans
- Stand mixer or hand mixer
- Medium saucepan
- Medium mixing bowls
- Whisk
- Parchment paper
- Wire cooling rack
- Cake platter or stand
Ingredients
DRY INGREDIENTS
- 1 ¾ cups gluten-free 1:1 baking flour 270 grams
- ½ cup unsweetened cocoa powder 50 grams
- 3 teaspoons baking powder
- 1 teaspoon salt
OTHER INGREDIENTS
- 1 ¾ cups sugar 380 grams
- 3 eggs
- ½ cup vegetable oil 100 grams
- 1 tablespoon vanilla extract
- 1 teaspoon lemon juice
- ½ cup sour cream 120 grams, regular or light
- 1 cup milk 250ml, 2%
COCONUT CARAMEL FILLING
- 4 large egg yolks
- 1 cup evaporated milk 236ml
- 8 tablespoons butter cut into 8 pieces
- ½ cup granulated sugar 100 grams
- ½ cup light brown sugar firmly packed, 100 grams
- ¼ teaspoon salt
- 1 teaspoon vanilla extract
- 1 cup chopped pecans 125 grams
- 2 cups sweetened shredded coconut 160 grams
CHOCOLATE BUTTERCREAM FROSTING
- ⅓ cup unsweetened cocoa powder 35 grams
- ½ cup butter softened to room temperature
- 3-4 cups confectioners’ sugar 340-450 grams
- ¼ cup heavy cream or milk
- ¼ teaspoon salt
- 2 teaspoons pure vanilla extract
- ¼ teaspoon almond extract
Instructions
- Preheat your oven to 350°F and grease two 8-inch round pans generously. Line the bottom with parchment paper circles and grease again for easy cake removal.
- Whisk together the gluten-free flour, cocoa powder, baking powder, and salt in a medium bowl. Set aside.
- Add the eggs and sugar to your stand mixer bowl and whip on medium-high speed for 3 minutes until light and fluffy. With the mixer running on low, slowly drizzle in the oil. Mix in the vanilla and lemon juice until combined.
- With the mixer on low, add 1/3 of the dry ingredients and mix until just incorporated. Add the sour cream and blend it in, then add another 1/3 of the dry ingredients. Pour in 1/2 of the milk, followed by the last 1/3 of dry ingredients, then finish with the remaining milk. Stir until everything is totally combined and smooth.
- Pour the batter evenly into your prepared pans and bake for 35-40 minutes until a toothpick inserted in the center comes out clean and the tops look golden. Start making your coconut caramel filling while the cakes bake.
- Let the cakes cool in their pans for 15 minutes, then turn them out onto a wire rack to cool completely before frosting.
- For the coconut caramel filling: Combine brown sugar, granulated sugar, salt, butter, egg yolks, and evaporated milk in a medium saucepan. Stir everything together and bring to a low boil over medium heat, stirring constantly for several minutes until the mixture thickens.
- Remove from heat and stir in vanilla, pecans, and coconut. Let this cool completely before spreading.
- For the chocolate frosting: Add the cocoa powder to your mixer bowl and mix briefly to smooth out lumps. Add the softened butter and mix until smooth. Add the remaining ingredients and mix on low until incorporated, then increase to medium speed and beat until light and fluffy.
- To assemble: Place one cooled cake layer on your serving platter. Use chocolate frosting to pipe or spread a border around the outer edge. Fill the center with half of your coconut pecan mixture.
- Top with the second cake layer and frost the top and sides with remaining chocolate buttercream. Spread the rest of your coconut caramel filling on top. Pipe decorative chocolate frosting around the edges if desired.
- Slice, serve, and enjoy!
