• Recipes
  • About
  • Portfolio
  • Contact
  • Subscribe
menu icon
go to homepage
  • Recipes
  • About
  • Portfolio
  • Contact
  • Subscribe
search icon
Homepage link
  • Recipes
  • About
  • Portfolio
  • Contact
  • Subscribe
×
Home / Recipes / Cakes & Cupcakes

Amazing Gluten-Free German Chocolate Cake

Modified: May 13, 2025 · Published: April 15, 2022 by Sarah Menanix · This post may contain affiliate links

4.80 from 10 reviews

  • Share
  • Tweet
JUMP TO RECIPE
Gluten-Free German Chocolate Cake

A classic gluten-free German chocolate cake with layers of decadently rich chocolate cake, toasted coconut pecan custard frosting, and a swirl of chocolate buttercream.

Gluten-Free German Chocolate Cake Slice

Why You'll Love this Gluten-Free German Chocolate Cake

This deep dark chocolate cake and butterscotch-like coconut pecan frosting make this the perfect dessert. Its gluten-free chocolate cake layers are rich and moist, the perfect backdrop for the star of the show: a caramel-y toasted coconut pecan custard frosting. A swirl of chocolate buttercream on top adds a sweet creamy chocolate that ties it all together. 

The quintessential element of a German chocolate cake is the coconut pecan frosting. Shredded coconut and pecans get folded into a custard made of evaporated milk, sugar, butter, and egg yolks.

While most recipes call for sweetened coconut, my version uses unsweetened coconut. The texture of unsweetened shredded coconut is fine and not at all stringy or chewy like sweetened coconut, but instead seems to melt when you eat it. It also creates a less cloyingly sweet frosting with more depth of flavor. 

For the same reason, I prefer to use dark brown sugar rather than granulated sugar, giving the frosting a deeper, more butterscotch-like flavor. For best results, look for organic dark brown sugar which has a higher molasses content. 

Gluten-Free German Chocolate Cake
Slice of Plate Gluten-Free German Chocolate Layer Cake

A Key Ingredient to this Recipe

While the original German's Chocolate Cake uses butter, more modern chocolate cakes call for oil, which lends itself to a moister crumb. Rather than melted baking chocolate, my gluten-free version uses dutch-processed cocoa powder to create a rich chocolate cake with a moist tender crumb.

The base for this cake is adapted from my favorite gluten-free chocolate cake. Rather than granulated sugar and milk, this version instead uses dark brown sugar and sour cream to add more moisture and structure to the cake, allowing it to withstand the weight of the coconut pecan custard filling and topping. 

Flour for Gluten-Free German Chocolate Cake
German Chocolate Cake Batter

GLUTEN-FREE FLOURS USED

Gluten-Free oat flour adds the lightness and structure for the fluffy crumb. It keeps the cake sponge super moist, but not dense.

  • Option: grind up gluten-free rolled oats in a food processor or blender, then sift out any big pieces. Make sure to measure this by weight as homemade gluten-free oat flour is less finely ground so the volume per weight will be different.
  • Sub in by weight: Bob's Red Mill 1-to-1 all-purpose gluten-free flour blend.

SWEET RICE FLOUR

Made from sticky rice, sweet rice flour is distinctively different than white rice flour or brown rice flour, and despite its name, it's not sweet. Sweet rice flour is the same flour used to make mochi, and as such, its stickiness helps to bind the cake together, creating chewiness like a classic cake recipe. Make sure the rice flour your grab says "sweet rice flour" and not "white rice flour," which will have drastically different baking results.

MILLET FLOUR

Millet flour is a neutral flour here to balance the others out so the cake isn't too moist or gummy. 

  • Sub in by weight: teff flour, brown or white rice flour, or Bob's Red Mill 1-to-1 all-purpose gluten-free flour blend.
  • Sub in 32g coconut flour: I tested a version with coconut flour to play up the coconut flavor in the filling. The results are almost indistinguishable. When subbing coconut flour, you need less coconut flour because it is much more absorbent. 

Does this cake need xanthan gum?

Nope! The combination of flours along with the soft cakiness of the cocoa powder adds enough structure to create a cake crumb that's light with the classic chew of traditional gluten-filled cake. 

German Chocolate Cake Batter in Pans
Gluten-Free German Chocolate Cake Ingredients

Adding the Chocolate Buttercream

Different recipes will vary on whether they call for a layer of chocolate buttercream in addition to the coconut pecan custard. I find the buttercream to be the key to balancing the flavors and texture of the deep dark chocolate cake with the sweet coconut pecan custard.

Just a creamy buttercream layer on top will do the trick! Topped with more coconut pecan custard of course.

Toasted Unsweetened Coconut
German Chocolate Cake Frosting with Unsweetened Coconut
German Chocolate Cake Coconut Custard

Recipe

Gluten-Free German Chocolate Cake

Moist & Rich Gluten-Free German Chocolate Cake

yields: 12 slices, 2-layer 8-inch cake
prep time: 45 minutes mins
cook time: 40 minutes mins
total time: 1 hour hr 25 minutes mins
A spin on a classic: gluten-free German chocolate cake with layers of decadently rich dark chocolate cake, toasted coconut pecan custard frosting, and a swirl of chocolate buttercream.
4.80 from 10 reviews
PRINT PIN SAVESaved!

Ingredients

Gluten-Free Dark Chocolate Cake
  • ½ cup + 3 tablespoons (110 g) Bob's Red Mill sweet rice flour, different from "white rice flour" or "brown rice flour"
  • ½ cup (54 g) Bob's Red Mill gluten-free oat flour
  • ¼ cup + 2 tablespoons (56 g) Bob's Red Mill millet flour
  • ¾ cups + 1 tablespoon (86 g) unsweetened Dutch-processed cocoa powder
  • 1½ cups (300 g) dark brown sugar, preferably organic
  • 1½ teaspoons baking powder
  • 1 teaspoon baking soda
  • 1 teaspoon kosher salt
  • 2 large eggs, room temperature
  • 3 tablespoons coconut oil, melted and cooled
  • 1½ teaspoon pure vanilla extract
  • ⅔ cup (160 g) sour cream, room temperature (see option below for dairy-free variation)
  • ⅔ cup hot water
Coconut Pecan Custard
  • ⅔ cup (133 g) dark brown sugar, preferably organic
  • 5 oz evaporated milk
  • 5 tablespoons unsalted butter, melted
  • 2 large egg yolks
  • ⅔ cups (62 g) Bob's Red Mill unsweetened shredded coconut
  • ¾ cups (94 g) chopped pecans, toasted
  • ¾ teaspoon pure vanilla extract
  • ¼ teaspoon kosher salt
Chocolate Buttercream
  • ½ cup unsalted butter, room temperature
  • 1½ cups (180 g) powdered sugar, sifted
  • ¼ cup (27 g) unsweetened Dutch-processed cocoa powder
  • 1 teaspoon pure vanilla extract
  • 1-2 tablespoons whole milk or heavy cream
  • Pinch kosher salt
Prevent your screen from going dark

INSTRUCTIONS

  • Prepare the cake layers. Preheat the oven to 350°F. Lightly oil two 8-inch cake pans or 3 6-inch cake pans and line them with a round of parchment paper.
  • Whisk the dark brown sugar, cocoa powder, sweet rice flour, oat flour, millet flour, cocoa powder, baking powder, baking soda, and salt together in a medium bowl.
  • In a measuring cup, whisk two eggs into the oil along with vanilla extract until smooth. Pour this mixture into the dry ingredients followed by the sour cream and stir lightly.
  • Pour the hot water into the dry ingredients and mix until the batter is completely smooth, scraping up the sides and bottom to completely incorporate. Divide the batter among the prepared cake pans.
  • Bake for about 28-30 minutes, or until a toothpick inserted in the center comes out clean or with just a few moist crumbs and the center bounces back when gently poked. It's best to err on the side of an extra minute or two to be sure - this cake is very moist so it won't overbake very easily!
  • Let cool in the pans for 5-10 minutes, then overturn the cakes onto wire racks to cool completely.
  • Meanwhile, prepare the coconut pecan custard. Toast the unsweetened shredded coconut in a dry pan, stirring constantly, until golden brown, about 3-5 minutes. Transfer to a bowl. Unsweetened coconut will darken quickly, so take care not to burn it.
  • In a small saucepan, whisk together dark brown sugar, evaporated milk, melted butter, and egg yolks. Bring it to a boil, and cook over medium heat, whisking constantly, until it thickens to coat the back of a spoon, about 5 minutes.
  • Remove from heat and stir in the toasted pecans, toasted coconut, vanilla extract, and salt. Transfer to a bowl and cool completely before using. The custard will thicken as it cools. You can speed up the cooling by placing it in the fridge.
  • Meanwhile, prepare the chocolate buttercream. In the bowl of a stand mixer fitted with the paddle attachment, cream the butter over medium speed.
  • Sift together the powdered sugar, cocoa powder, and salt. Slowly add this to the butter, in 2 batches, beating until incorporated. Add the vanilla extract and mix until smooth. Add the milk or cream, starting with just 1 tablespoon and adding additional milk or cream as needed until the frosting is smooth and spreadable. It should be somewhat glossy, but still hold swirls.
  • Once the cake layers and custard is cool, assemble the cake. Place one cake layer on a cake stand or plate. Spread ⅔ of the cooled coconut pecan custard in an even layer all the way to the edges. Top with the second cake layer. Swirl chocolate buttercream over the top, leaving a thicker edge of frosting around the outside. Top the cake with the remaining ⅓ of the cooled coconut pecan custard. Enjoy! To make the cake easier to cut, chill the cake for 20-30 minutes before slicing.
  • Store any leftovers in an airtight container at room temperature for up to 3 days.

Video

Notes

Dutch-Processed Cocoa Powder: There are two types of cocoa powder - dutch-processed and natural unsweetened. While either type will work, I strongly recommend using Dutch-processed baking cocoa. Unlike natural unsweetened, Dutch-processed cocoa powder has been treated with alkaline to neutralize its acidity. Because of the Dutch-processing, the cocoa powder turns the cake deep dark brown and makes it extra rich without being bitter. 
Sour Cream: If you don't have sour cream, you can sub in buttermilk, greek yogurt, or creme fraiche. You can also sub in scant ⅔ cup milk (any kind: nut, oat, or dairy) mixed with 2 teaspoons white vinegar. Let the milk and vinegar sit for 5 minutes before mixing in the eggs. The results won't be quite as rich with milk, but just as delicious! (I know because that's how I make my favorite chocolate cake).
Dairy-Free: For a dairy-free version, sub out the sour cream for dairy-free sour cream or yogurt, or use the dairy-free milk substitute option. Sub in scant ⅔ cup plant milk (I like oat!) mixed with 2 teaspoons white vinegar. Let the milk and vinegar sit for 5 minutes before mixing in the eggs. Replace the butter in the frosting with plant-based butter and use evaporated coconut milk in place of the evaporated milk. 
Unsweetened Coconut: While I strongly prefer unsweetened shredded coconut, you may also sub in sweetened coconut if it's all you can find. For the best texture, be sure to toast the sweetened coconut as called for in the recipe before adding it to the custard. 
Coconut Oil: I call for melted coconut oil in this recipe to add a hint of coconut flavor to the cake, but any kind of vegetable oil will work, including sunflower oil or safflower oil. 
Water: For an even richer cake, substitute the hot water with hot coffee!

Instagram If you make this recipe, tag your photo #SnixyKitchen on Instagram!

More Gluten-Free Cake Recipes

  • Loaf of Almond Flour Gluten-Free Pound Cake with Slice
    Tender Almond Flour Gluten-Free Pound Cake
  • Gluten-Free Tres Leches Cake
    Tender Gluten-Free Tres Leches Cake
  • Gluten-Free Carrot Cake Cupcakes Top Down with Bite Close-up
    Fluffy & Moist Gluten-Free Carrot Cake Cupcakes
  • 5-Minute Glossy Lemon Icing
    Glossy 5-Minute Lemon Icing
  • Share
  • Tweet
Snixy Kitchen

SUBSCRIBE NOW

get free recipes straight to your inbox:

You may also enjoy:

Swirls of Coconut Frosting in a Bowl
5-Minute Creamy Coconut Cream Cheese Frosting
Gluten-Free Chocolate Cupcakes
Moist, One Bowl Gluten-Free Chocolate Cupcakes
Gluten-Free Coconut Cake
Moist Gluten-Free Double Coconut Cake
Gluten-Free Matcha Coconut Macaroon
Matcha Coconut Macaroons

6 Comments

    4.80 from 10 votes (7 ratings without comment)

    Comment & Rate Cancel reply

    Your comments, reviews and questions make my day! If you love this recipe, please rate it when you leave a comment. These star ratings help others discover my recipes. Thank you for your support and being part of this community!

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

    Recipe Rating




  1. Tatiana -

    October 14, 2025 at 11:06 pm

    3 stars
    I loved the taste but the cake was a bit gummy. I baked it until the top split and bounced back when pressed in the middle. It turned out a bit chewy and not fluffy

    Reply
    • Sarah Menanix -

      October 16, 2025 at 10:43 am

      Oh no! I'm happy to help troubleshoot what may have gone wrong here. This is a variation on the chocolate cake I bake for every birthday or cake making occasion (we're talking like well over 250x...) and it should definitely not be gummy! The most common culprit is flour - What brand of flours did you use? Did you measure by weight or by cups?

      Reply
  2. Christina -

    December 19, 2024 at 1:04 pm

    Wow. This looks amazing. I’m going to make it for Christmas dinner. Would it be ok made the day before? Thanks!

    Reply
  3. Diana -

    May 05, 2024 at 5:19 pm

    5 stars
    Outstanding! And I don’t normally eat GF cake.

    Reply
  4. Lily Diamond -

    January 24, 2024 at 7:48 am

    5 stars
    The coconut pecan custard is EPIC!! I cannot wait to make this again.

    Reply
  5. todd -

    April 22, 2022 at 3:18 pm

    Ooey Gooey Chocolate Goodness!! Gonna try to bake this with Fiona soon :)

    Reply
Sarah Menanix

I’m Sarah (aka Snix)! Here you'll find gluten-free recipes - from classic staples to special occasion desserts to everyday dinners.

More about me ➤

Trending Recipes

  • Gluten-Free Dumpling Wrappers
    Gluten-Free Dumpling Wrappers
  • Matcha Mochi Cake
    Matcha Mochi Cake
  • Gluten-Free Cassava Flour Tortillas
    Gluten-Free Cassava Flour Tortillas
  • Parmesan Roasted Cauliflower and Chicken Sheet Pan Dinner
    Parmesan Roasted Cauliflower and Chicken Sheet Pan Dinner
The Ultimate Guide to Matcha Green Tea: What is Matcha?

Gluten-Free Staples

  • The Best Gluten-Free Pizza Crust Recipe
    Gluten-Free Pizza Crust, Brazilian Cheese Bread Style
  • Gluten-Free Soft Pretzels
    The BEST Gluten-Free Soft Pretzels
  • Gluten-Free Almond Flour Pasta
    Gluten-Free Almond Flour Pasta
  • The BEST Gluten-free Classic Chocolate Layer Cake with Ombre Hibiscus Cream Cheese Frosting
    Favorite Gluten-free Chocolate Cake with Hibiscus Frosting

Footer

⬆ back to top

  • Subscribe
  • About
  • Contact
  • Work with me
  • FAQ
  • Recipes

Privacy Policy | Disclosure

All content & images © 2025 Snixy Kitchen

Rate This Recipe

Your vote:




To submit your rating, please write a short comment about the recipe! Click the button to confirm your rating.

(Note: Your email will NOT appear publicly)

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

Recipe Ratings without Comment

Something went wrong. Please try again.