A rich and moist homemade German chocolate cake layered with coconut-pecan frosting and chocolate buttercream. This traditional old-fashioned cake is a family favorite!

This post may contain affiliate links. Read disclosure policy.
A Family Favorite for Special Occasions
This German chocolate cake has been a family favorite for as long as I can remember. My mom made it for birthdays growing up, and we recently baked it again for my dad’s birthday.
It’s everything I love in a chocolate cake: soft, moist layers, gooey coconut pecan frosting, and just the right amount of chocolate buttercream. It takes a little extra time, but it’s absolutely worth it for special occasions.
And if you’re short on time yet want the same flavors in an easier dessert, try my German chocolate brownies or German chocolate cookies, too!
Ingredient Notes

Find the full printable recipe with specific measurements below.
- Chocolate cake: The base of this cake starts with a simple homemade chocolate batter made from pantry staples, with buttermilk and oil added for extra moisture and a tender crumb.
- Coconut pecan frosting: This is the signature layer and absolutely worth making from scratch. Cooked on the stovetop until thick and caramel-like, it’s packed with flaked coconut and chopped pecans for that classic German chocolate texture.
- Chocolate buttercream: A smooth, rich chocolate frosting finishes the outside of the cake. It’s creamy, fudgy, and easy to whip together with just a handful of ingredients.
How to Make German Chocolate Cake
Start by sifting the dry ingredients (flour, sugar, cocoa, baking soda, and salt) into a large bowl. This helps remove any lumps and gives the cake a lighter, more even texture.
Using a whisk or electric mixer, stir in the wet ingredients (water, buttermilk, oil, eggs, and vanilla) until the batter is smooth and well combined.


Divide the batter evenly between two greased 9-inch round cake pans and bake at 350°F for 28–35 minutes, or until a toothpick inserted in the center comes out clean. Cool cakes completely on wire racks.
To make the chocolate buttercream, beat the butter until light and fluffy. Slowly mix in the powdered sugar, cocoa, vanilla, and salt. If needed, add a little half and half, heavy cream, or milk until smooth and spreadable.


For the coconut pecan frosting, bring the evaporated milk, sugar, egg yolks, butter, and vanilla to a gentle simmer in a saucepan. Cook over medium heat, stirring constantly, until thickened and caramel-colored. Remove from the heat, then stir in the coconut and pecans. Let cool.


Spread the coconut pecan frosting between the cake layers, then frost the outside with chocolate buttercream. Slice and enjoy.

Recipe Tips
- Measure the flour using the spoon and level method so that your cake has the perfect soft and fluffy texture.
- Cocoa powder: This recipe uses unsweetened cocoa instead of melted German’s chocolate, which gives the cake a deeper chocolate flavor and richer color without making it overly sweet.
- Bake the cakes on the middle oven rack so they cook evenly and don’t brown too fast.
- Freeze the cooled cakes for a few minutes prior to frosting to help give it a clean surface and minimize any crumbs while spreading the frosting on top.
- Stir the coconut frosting continuously while cooking so that the caramel doesn’t burn.
- Adjust the consistency of the buttercream if needed. Thin it out with milk or half and half or thicken the texture by adding in more powdered sugar.

Love chocolate and coconut desserts? Make coconut caramel cookies, 7-layer magic bars or these Almond Joy cookies.
More Chocolate Cake Recipes

German Chocolate Cake
Video
Ingredients
Cake
- 2 cups (260 grams) all-purpose flour
- 2 cups (410 grams) granulated sugar
- ¾ cup (65 grams) unsweetened cocoa powder
- 2 teaspoons baking soda
- 1 teaspoon fine sea salt or table salt
- 1 cup (225 grams) hot water
- 1 cup (245 grams) buttermilk
- ½ cup (100 grams) vegetable oil
- 2 large eggs , at room temperature
- 2 teaspoons pure vanilla extract
Coconut Pecan Frosting
- 3 egg yolks
- 1 cup (200 grams) granulated sugar
- 1 cup evaporated milk
- ½ cup (113 grams) unsalted butter
- 1 teaspoon vanilla extract
- 1 ½ cups flaked coconut (make sure it’s fresh)
- 1 cup pecans , chopped
- ¼ teaspoon fine sea salt or table salt
Chocolate Buttercream
- 1 cup unsalted butter
- 4-5 cups powdered sugar
- 5 Tablespoons unsweetened cocoa powder
- 1 ½ teaspoons vanilla extract
- 3 Tablespoons half-and-half , can sub for heavy cream or milk
- Pinch salt , more to taste
Instructions
Chocolate Cake
- Prep. Preheat the oven to 350°F. Center an oven rack in the middle position. Line the bottom of 2 9-inch round cake pans with parchment paper. Lightly spray with nonstick cooking spray.
- Sift dry ingredients. In a large bowl, sift 2 cups flour, 2 cups sugar, 3/4 cup cocoa, 2 teaspoons baking soda, and 1 teaspoon salt.
- Make cake batter. Using a handheld mixer or whisk, mix in 1 cup hot water, 1 cup buttermilk, 1/2 cup vegetable oil, 2 eggs, and 2 teaspoons vanilla until well combined. Spread the batter evenly between the pans.
- Bake. Bake 28 to 35 minutes, or until a toothpick inserted in the center comes out clean or with moist crumbs. Let cool 2 to 3 minutes before running a knife around the edges and turning out onto a cooling rack. Let cool completely. Once cooled I like to wrap in plastic and freeze before frosting.
Coconut Frosting
- Simmer frosting. Combine 1 cup evaporated milk, 1 cup sugar, 3 egg yolks, 1/2 cup unsalted butter and 1 teaspoon vanilla in a small saucepan. Bring the mixture to a simmer over medium-heat, stirring constantly. Simmer for 8-10 minutes, or until the mixture has thickened and turned a caramel color. Be careful not to burn.
- Add coconut and pecans. Remove from heat and stir in 1 1/2 cups coconut and 1 cup pecans. Allow the frosting to cool slightly and thicken.
Chocolate Buttercream
- Combine frosting ingredients. In a large bowl, beat 1 cup butter with an electric mixer. Slowly add the 4-5 cups powdered sugar, 5 Tablespoons cocoa powder, 1 1/2 Tablespoons vanilla, and pinch salt. Add up to 3 Tablespoons heavy cream as needed to thin.
- Frost cake. Frost the center of the cake with the coconut frosting and the sides with the chocolate buttercream frosting.
Last step: Please leave a comment and rating after you make the recipe.
Notes
Nutrition
Nutrition provided is an estimate. It will vary based on specific ingredients used.
Variations
- Cake mix shortcut: If you’re short on time, you can use a box of German chocolate cake mix instead of making the cake from scratch. Stir in about ½ cup sour cream to make the cake softer and more tender, similar to how I upgrade my cake mix chocolate cupcakes.
- Gluten-free option: Use my gluten free chocolate cake and layer it with the coconut pecan frosting from this recipe.
Make Ahead
- Cake layers: Bake and cool the cakes completely, then wrap tightly in plastic wrap and freeze until ready to use.
- Coconut pecan frosting: Prepare as directed and store in a covered container in the refrigerator for up to 1 week. Let it come to room temperature before using.
- Chocolate buttercream: Store in a covered container in the refrigerator for up to 2 weeks. Let it come to room temperature, then beat briefly to fluff before frosting.

Crystal
The cake is so delicious and brings sweet memories back. Thanks for the yummy recipe!
Mary
This cake was SO amazing! Love the frosting on top
Ducks ‘n a Row
Jamielyn, German Chocolate Cake was MY favorite growing up. My mom often made it for my birthday, to my brother’s chagrin He doesn’t like coconut! But it was MY birthday so that’s what we had. This version is delicious :)
Paige
German chocolate cake is a favorite in our house! I’ve never made it from scratch before so this was fun adventure for us! DELISH!!
Michelle
So amazing! Definitely reminds me of birthdays at home. :)
Leigh
Oh my this is one of my favorite cakes! SO scrumptious.
Aimee @ ShugarySweets
What a gorgeous cake!! I wish Joan was here to see all the chocolate being shared today. She was loved by many!
Chris
These cakes look great, im cooking for my nephew’s birthday this weekend and he loves chocolate. Cant decide between the brownie or the fudge cake.. I may have to do both : ) Looks great
Christopher
AllieMakes!
That cake looks delishious!
Kirsten
Seriously delish!
Megan
german chocolate cake is my absolute favorite! I don't get it very often because my family hates coconut. :(
megan
craftycpa.blogspot.com
Allison {A Glimpse Inside}
That looks super good! So glad you had a great birthday! Thanks for linking up! :)
Becky
This is so perfect! The frosting is amazing and that cake I could eat all by itself as well!
Amber
Oh my gosh that cake was soooo good. Mmmmm
Katie
The icing is amazing!! German chocolate cake is for sure a favorite of mine. This one takes the cake!
Denissa
Looks yummy!
Naturally Me Creations
That icing sounds delicious! It probably won't be the same using desiccated coconut, will it?
One doesn't even need to make a cake with this, just eat it all on it's own…i'd do that, hehe! But those cupcakes looks so cute and yummy!
Life In The Thrifty Lane
Oh boy, if only I can reach for a slice of that cake… :P Looks so yummy! Have to try it, thanks for sharing.