This post contains affiliate links. Please see our disclosure policy.
Make German chocolate sheet cake in a 9×13 pan with homemade coconut pecan topping and chocolate buttercream. No layers to stack, plus make-ahead tips.

When my sister got remarried, she was making the cakes for her own reception. She wanted a German chocolate groom’s cake for her husband, Dan, because it is his favorite. She had plenty to do without developing another cake recipe, so I offered to help.
I developed and made a German chocolate layer cake for the reception. This German Chocolate Sheet Cake takes that idea in a more manageable direction, with one cake to bake and no layers to stack.
The chocolate cake, coconut pecan topping, and chocolate buttercream are still completely homemade. Everything comes together in a 9-by-13-inch pan, with buttercream swirls that dress it up without turning it into a full cake decorating project.
A Homemade German Chocolate Cake Without the Layers
This recipe simplifies the assembly, not the components. You will make a chocolate cake with unsweetened baking chocolate, cocoa powder, and sour cream, then cover it with a cooked coconut pecan topping.
Chocolate buttercream finishes the cake. Pipe it into 12 swirls across the top so each slice gets its own decoration.
There are three components to prepare, so this is a cake to plan ahead for rather than start just before dinner. Begin with the coconut topping, which needs at least two hours to chill. While it chills, prepare the cake, bake it, and let it cool.
Plan on approximately 3 hours and 15 minutes from start to serving, with the chilling and cooling periods overlapping. Allow additional time whenever the topping or cake needs longer to cool.
Ingredient Notes and Substitutions
The complete ingredient amounts are in the recipe card below. Here are the details to check before you begin.

Coconut Pecan Topping
Evaporated milk: You will need ¾ cup (6 fluid ounces). Use evaporated milk, not sweetened condensed milk. Sweetened condensed milk contains added sugar, and the two products are not direct substitutes.
Egg yolks: The topping uses two large egg yolks rather than whole eggs. Keep these separate from the four whole eggs needed for the cake.
Sweetened shredded coconut: Use the sweetened shredded coconut specified in the recipe rather than large coconut flakes.
Toasted pecans: Toast and cool the pecans before assembly, and keep them separate while the topping chills. Stir them in just before spreading the topping over the cake.
Chocolate Cake
Unsweetened baking chocolate: This recipe uses unsweetened baking chocolate, not German’s sweet chocolate. Finely chop it before combining it with the cocoa powder and boiling water.
Dutch-processed cocoa powder: Use Dutch-processed cocoa in the cake batter. Natural cocoa and Dutch-processed cocoa differ in acidity, which can affect recipes containing chemical leaveners. Keep the cocoa and baking soda amounts as written.
Unsalted butter: Use softened butter, not melted butter. The cake method begins by beating it with the granulated sugar and brown sugar.
Full-fat sour cream: Bring the sour cream to room temperature before mixing. Measure it and have it ready, because it is added alternately with the flour mixture.
Chocolate Buttercream
Powdered sugar: This is separate from the granulated sugar and brown sugar used in the cake and topping.
Cocoa powder: For the buttercream, either natural unsweetened cocoa or Dutch-processed cocoa can be used in the same amount, ¼ cup. The frosting does not contain baking soda or baking powder, so the cocoa choice affects its flavor and color rather than its rise.
Heavy cream: Measure the 1½ tablespoons called for rather than adding a large splash. The buttercream will be piped onto the finished cake.
How To Make German Chocolate Sheet Cake
Start with the coconut topping so it can chill while you prepare, bake, and cool the cake. The recipe card below includes the complete ingredient measurements and detailed mixing instructions.
Make and Chill the Coconut Topping

Whisk the egg yolks in a medium saucepan until smooth, then slowly whisk in the evaporated milk. Add the granulated sugar, brown sugar, butter, and salt.
Cook over medium-high heat, whisking constantly, for about 6 minutes, until the mixture boils and thickens. Use both the timing and the change in consistency as your guide.
Pour the cooked mixture into a clean heatproof bowl. Whisk in the vanilla, then stir in the shredded coconut. Let it cool until barely warm, then press plastic wrap directly against the surface.
Refrigerate for at least 2 hours, until completely chilled. Keep the toasted pecans separate for now. Stir them in just before assembling the cake.
Make the Chocolate Cake Batter

While the topping chills, position an oven rack in the lower middle of the oven and preheat to 350°F. Grease a 9-by-13-inch metal baking pan with nonstick cooking spray.
Combine the chopped unsweetened chocolate and sifted cocoa powder in a heatproof bowl. Pour the boiling water over them and let stand for 2 minutes. Whisk until smooth, then set aside to cool to room temperature.
In a separate bowl, whisk together the flour, baking soda, and salt.
Beat the softened butter with both sugars until light and fluffy, scraping the bowl as needed. Add the eggs one at a time, followed by the vanilla and cooled chocolate mixture.
Add the flour mixture in three additions, alternating with the sour cream in two additions. Begin and end with the flour mixture, mixing just until each addition is incorporated. Finish by hand with a rubber spatula, scraping the bottom of the bowl to check for any remaining flour streaks.
Bake and Cool the Cake

Spread the thick batter evenly in the prepared pan, using an offset spatula to smooth the top and work the batter into the corners.
Bake for 30 to 35 minutes, until a toothpick inserted into the center comes out clean or with a few moist crumbs attached.
Set the pan on a wire rack and let the cake cool completely, about 1 hour. Leave it in the pan to top and serve. Give it additional cooling time as needed before decorating.
Prepare the Buttercream and Finish the Topping

While the cake cools, beat the softened butter for the buttercream until smooth and creamy. Add the powdered sugar, cocoa powder, heavy cream, salt, and vanilla. Mix on low to incorporate the ingredients, then increase the speed and beat until smooth.
Transfer the buttercream to a piping bag fitted with an open star tip.
Once the cake is cool and you are ready to assemble, stir the toasted, cooled pecans into the completely chilled coconut mixture. Mix until the nuts are distributed throughout the topping.
Assemble and Decorate

Spread the coconut pecan topping evenly over the cooled cake, leaving a small border around the outside edge.
For the decoration shown, pipe 12 chocolate buttercream swirls across the top, arranging them three across and four down. Position each swirl in the center of a planned slice. A piped buttercream border around the edge is optional.
Let the finished cake stand for about 20 minutes before cutting it into 12 servings.
Tips For Making This Cake
Start With the Topping
The coconut topping needs at least two hours in the refrigerator after it cools. Making it first gives you time to prepare, bake, and cool the cake while the topping chills.
You can make the buttercream while the cake cools rather than waiting until every other component is finished.
Keep the Pecans Separate Until Assembly
Stir the coconut into the cooked topping as directed, but hold back the toasted pecans. Adding them just before assembly keeps them from sitting in the topping while it chills.
Cool the Chocolate Mixture Before Mixing the Batter
Prepare the chocolate mixture before creaming the butter and sugars so it has time to reach room temperature. Do not pour it into the butter mixture while it is still hot.
Finish Mixing With a Spatula
After adding the flour mixture and sour cream, scrape along the bottom and sides of the mixer bowl with a rubber spatula. Fold just until no flour streaks remain.
Wait Until the Cake Is Completely Cool
The cake should be completely cool and the coconut topping fully chilled before assembly. Cooling times are estimates, so check the components rather than relying only on the clock.
Arrange the Swirls Before You Slice
Picture the cake divided into a 3-by-4 grid. Pipe one buttercream swirl in the center of each planned slice so every serving gets its own decoration.

How to Toast the Pecans
Spread the pecans in a single layer on a rimmed baking sheet. Bake at 350°F until lightly browned and fragrant, generally 5 to 10 minutes. Watch them closely and remove them as soon as they begin to change color. Let them cool before adding them to the topping.
Troubleshooting
Why is my coconut pecan topping runny?
The topping needs to thicken on the stove before it goes into the refrigerator. Cook it until it comes to a boil and thickens rather than stopping solely because six minutes have passed.
After adding the coconut, follow the cooling and chilling instructions. Do not judge the final consistency while the mixture is still warm. It needs at least two hours in the refrigerator and should be completely chilled before assembly.
Why are there flour streaks in my cake batter?
The mixer may not have reached all the batter along the bottom and sides of the bowl. Use a rubber spatula to scrape those areas and fold the batter together just until the streaks disappear.
Do this before spreading the batter in the pan rather than continuing to run the mixer.
Storage, Freezing, and Make Ahead Instructions
Refrigerating the Finished Cake
Store the assembled cake covered in the refrigerator at 40°F or below. Use it within 3 to 4 days, counting from the day the coconut topping was prepared. Treat the cooked egg and milk topping as perishable rather than storing the finished dessert like a plain cake.
Cover the pan without pressing the covering into the buttercream. Individual slices can go into airtight containers.
When serving, keep the cake’s total time outside refrigeration within two hours, or one hour when temperatures exceed 90°F.
Make Ahead
Bake the cake and prepare the coconut topping one day before serving. Once the plain cake is completely cool, cover it tightly and keep it at room temperature overnight. Refrigerate the topping separately, without the pecans. Plain cake can be stored at room temperature, but cake with a custard topping needs refrigeration.
The next day, make the buttercream, stir the pecans into the chilled topping, and assemble. Preparing the components separately leaves only the decorating for serving day.
Freezing and Thawing
For advance freezer preparation, freeze the plain cake and add the topping and buttercream after thawing. Following general guidance for freezing unfrosted cakes, let it cool completely and wrap it tightly. Plan to use it within two months. Thaw it overnight in the refrigerator, still covered, before decorating.
Preparing the coconut topping separately also lets you add the toasted pecans just before assembly.
Serving After Refrigeration
Let the cake or individual portions stand at room temperature for about 20 minutes before serving. Reheating is not necessary.

Recipe FAQs
Yes. The term also applies to rectangular cakes baked in a 9-by-13-inch cake pan, not only cakes baked in shallow sheet pans. This recipe uses a metal cake pan rather than a rimmed cookie sheet.
No. This version uses unsweetened baking chocolate and Dutch-processed cocoa powder. Follow those ingredients rather than purchasing sweetened chocolate based on the recipe title.
Yes. The buttercream is a separate finishing component, so leaving it off does not require changing the cake batter or coconut pecan topping. Spread the topping over the cooled cake and serve without the piped decorations.
Cut the cake into a 3-by-4 grid for 12 generous servings. Each slice will measure approximately 3 by 3¼ inches, with one buttercream swirl on top.
More Sheet Cakes
- Funfetti Sheet Cake – The Ultimate Party Cake
- Easy Tres Leches Cake With Cake Mix
- Lemon Poke Cake Recipe
- Moist White Chocolate Raspberry Cake
This cake began as a wedding reception cake, but the sheet cake version doesn’t need such a big occasion. Bake it for a birthday or family gathering, and serve it straight from the pan. After making it, leave a rating and a comment to share how it turned out.

German Chocolate Sheet Cake
Equipment
- 9×13-inch metal baking pan
- Parchment paper
- Stand mixer fitted with paddle and whisk attachments
- medium saucepan
- Wire whisk
- Heatproof mixing bowls
- Rubber spatula
- Offset spatula
- measuring cups and spoons
- Piping bag fitted with an open star tip
- wire cooling rack
Ingredients
Chocolate Cake
- 4 ounces unsweetened baking chocolate, finely chopped
- ¼ cup Dutch-processed cocoa powder, sifted
- ½ cup boiling water
- 2 cups unbleached all-purpose flour
- ¾ teaspoon baking soda
- ¾ teaspoon salt
- 12 tablespoons unsalted butter, softened
- 1¼ cups granulated sugar
- ⅔ cup packed light brown sugar
- 4 large eggs, at room temperature
- 1 teaspoon pure vanilla extract
- ¾ cup full-fat sour cream, at room temperature
Coconut-Pecan Topping
- 2 large egg yolks
- ¾ cup evaporated milk, (6 fluid ounces)
- ½ cup granulated sugar
- 2 tablespoons packed light brown sugar
- 3 tablespoons unsalted butter, cut into pieces
- ⅛ teaspoon salt
- 1½ teaspoons pure vanilla extract
- 1¼ cups sweetened shredded coconut
- 1¼ cups chopped pecans, toasted
Chocolate Buttercream
- ½ cup unsalted butter, softened
- 1¾ cups powdered sugar
- ¼ cup unsweetened cocoa powder
- 1½ tablespoons heavy cream, at room temperature
- Pinch of salt
- 1 teaspoon pure vanilla extract
Instructions
Make the coconut filling
- Whisk the egg yolks in a medium saucepan until smooth. Slowly whisk in the evaporated milk. Add the granulated sugar, brown sugar, butter, and salt.2 large egg yolks, ¾ cup evaporated milk, ½ cup granulated sugar, 2 tablespoons packed light brown sugar, 3 tablespoons unsalted butter, ⅛ teaspoon salt
- Cook the mixture over medium-high heat, whisking constantly, for about 6 minutes, or until it comes to a boil and thickens.
- Pour the custard into a clean bowl and whisk in the vanilla. Stir in the shredded coconut and let the mixture cool until it’s just barely warm.1½ teaspoons pure vanilla extract, 1¼ cups sweetened shredded coconut
- Press plastic wrap directly onto the surface and refrigerate for at least 2 hours, or until completely chilled. Keep the toasted pecans separate for now so they stay nice and crunchy.
Prep the oven and pan
- Move an oven rack to the lower-middle position and preheat the oven to 350°F.
- Grease a 9×13-inch metal baking pan with nonstick cooking spray.
Make the chocolate mixture for the cake
- Place the chopped chocolate and cocoa powder in a heatproof bowl. Pour the boiling water over the top and let it sit for 2 minutes.4 ounces unsweetened baking chocolate, ¼ cup Dutch-processed cocoa powder, ½ cup boiling water
- Whisk until completely smooth, then set it aside to cool to room temperature.
Combine the dry ingredients
- In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.2 cups unbleached all-purpose flour, ¾ teaspoon baking soda, ¾ teaspoon salt
Make the cake batter
- Add the softened butter, granulated sugar, and brown sugar to the bowl of a stand mixer fitted with the paddle attachment.12 tablespoons unsalted butter, 1¼ cups granulated sugar, ⅔ cup packed light brown sugar
- Beat on medium-low speed for about 30 seconds. Increase the speed to medium-high and beat for about 4 minutes, or until the mixture is light and fluffy. Stop halfway through to scrape down the sides and bottom of the bowl.
- Add the eggs one at a time, mixing well after each addition. Add the vanilla and beat for another 45 seconds.4 large eggs, 1 teaspoon pure vanilla extract
- With the mixer running on low, slowly pour in the cooled chocolate mixture. Increase the speed to medium and mix for about 30 seconds, or until everything is combined.
- Turn the mixer back to low. Add the flour mixture in three additions, alternating with the sour cream in two additions. Mix only until each addition is just combined.¾ cup full-fat sour cream
- Use a rubber spatula to finish mixing the batter by hand, making sure no streaks of flour hide at the bottom of the bowl.
Bake the cake
- Spread the batter evenly into the prepared pan and smooth the top with an offset spatula.
- Bake for 30-35 minutes, or until a toothpick inserted into the center comes out clean or with just a few moist crumbs attached.
- Transfer the pan to a wire rack and let the cake cool completely, about 1 hour.
Make the chocolate buttercream
- Beat the softened butter for about 2 minutes, or until smooth and creamy.½ cup unsalted butter
- Add the powdered sugar, cocoa powder, heavy cream, salt, and vanilla. Mix on low for about 30 seconds, then increase the mixer to high and beat for 1 minute, or until the frosting is light and smooth.1¾ cups powdered sugar, ¼ cup unsweetened cocoa powder, 1½ tablespoons heavy cream, Pinch of salt, 1 teaspoon pure vanilla extract
- Transfer the buttercream to a piping bag fitted with an open star tip.
Assemble the cake
- Once the coconut filling is completely chilled, stir in the toasted pecans.1¼ cups chopped pecans
- Spread the coconut-pecan mixture evenly over the cooled cake, leaving a small border around the outside edge.
- Pipe the chocolate buttercream around the edge of the cake. I also like to pipe little buttercream swirls across the top to mark where each slice will go. It makes the cake look extra pretty and makes serving easier, too.
- Let the finished cake sit for about 20 minutes before slicing and serving.



