Waco must be enjoying the spotlight with Dr Pepper brownies trending. I haven’t tried boxed brownies made with soda yet, but the buzz reminded me that my old Dr Pepper Chocolate Layer Cake with Silky Chocolate Frosting needed an update. This is a cake I developed years ago when using Dr Pepper in baked goods felt like a fun experiment.

I baked the Dr Pepper cake again this week and found it a bit crumblier than I remembered. It still tasted wonderful under the frosting, but I wanted to make it less crumbly and let the Dr Pepper character come through more clearly. Pouring soda into a cake is novel, but I aimed to add flavor without making the crumb overly wet. The result is a few small but effective changes that boost moisture and highlight flavors associated with the soda.
Flavors in Dr Pepper Cake
People often speculate about Dr Pepper’s flavor profile—amaretto, almond, cherry, citrus, spice, and more are frequently mentioned. Although some notes (like prune) are disputed, the idea that the soda suggests multiple layered flavors inspired adjustments to the cake. To echo that complexity, I added a pinch of warm spices, a little orange zest and a touch of prune puree for gentle depth and additional moisture. These additions are subtle; the cake still reads as chocolate, but with a nuanced background that hints at the soda’s character.
Updated Dr Pepper Cake
This revised recipe produces a slightly fudgier, less crumbly cake with more interesting flavor. I lowered the oven temperature to 325°F so the layers bake up flatter and more even, and I heated the Dr Pepper to help melt the chocolate and marry flavors. The spice blend is tiny—nutmeg, allspice and a pinch of black pepper—plus a scrape of orange zest and a quarter cup of prune puree for moisture and subtle tang. If you prefer a simpler chocolate cake, omit the spices and orange zest; the prune puree helps texture, but it can also be left out.

Cake Size
If a full two-layer cake is more than you need, the recipe scales easily. Halve it for a single layer or quarter it to fit two 5-inch pans for a tall cake or two 6-inch rounds for thinner layers. I’ve tested it across different sizes and it adapts well.
Chocolate Frosting
The frosting remains unchanged because it works beautifully. It’s an Ermine-style or flour-based chocolate frosting with a silky texture that spreads smoothly. If you skip the Dr Pepper cake, this frosting alone is worth trying on other chocolate cakes or cupcakes.
Recipe

New Dr Pepper Chocolate Layer Cake
Anna
Pin Recipe
Ingredients
- 2 cups all-purpose flour (weigh or spoon lightly into cups) (260 grams)
- 1 cup granulated sugar, scant (190 grams)
- 1 cup very firmly packed dark brown sugar, remove lumps (220 grams)
- 1 cup unsweetened natural cocoa powder, sifted or whisked to remove lumps (weigh if possible) (80 grams)
- 1-½ teaspoons baking soda
- ¾ teaspoon salt
- 1/16 teaspoon each: ground nutmeg, ground allspice and black pepper
- 1 cup Dr Pepper (do not use diet) (230 grams)
- ½ cup semisweet chocolate chips (or chopped chocolate) (84 grams)
- 8 tablespoons unsalted butter, cut into chunks (114 grams)
- 1 ½ teaspoons vanilla extract
- ⅛ teaspoon orange zest (or less, to taste)
- 2 large eggs (100–110 grams)
- ½ cup vegetable oil
- ¼ cup pureed prunes (prune baby food)
- 1 cup buttermilk (or whole milk plus lemon juice/vinegar)
Silky Chocolate Butter Frosting:
- ¾ cup granulated sugar (150 grams)
- ¼ cup all-purpose flour (30–35 grams)
- 3 tablespoons unsweetened cocoa (15 grams)
- 1 cup whole milk
- 1 cup butter, salted (230 grams)
- 1 ½ teaspoons vanilla extract, plus more to taste
- 6 oz bittersweet chocolate, melted and cooled (melt in microwave or over simmering water)
Instructions
-
Preheat oven to 325°F. Grease two 9×2-inch cake pans, line with parchment rounds, grease again and dust with flour or use baking spray. Shortening works well for greasing.
-
In a large bowl, whisk together flour, granulated sugar, dark brown sugar, cocoa powder, baking soda, salt, nutmeg, allspice and black pepper. Break up any lumps in the brown sugar and set the dry mix aside.
-
In a small saucepan, heat the Dr Pepper until it just begins to simmer. Reduce to low, add the chocolate chips and remove from heat once the chips melt. Stir in the butter, vanilla and orange zest so the butter melts into the mixture; set aside.
-
Using an electric mixer, beat the eggs. While mixing, drizzle in the oil, then add the prune puree and beat on medium for one minute. Scrape the bowl and stir in the cooled chocolate-Dr Pepper mixture.
-
Add the dry ingredients and mix on low just until combined.
-
Heat the buttermilk until very hot (about 1 minute in the microwave), then pour it into the batter and beat on low until smooth and fully incorporated.
-
Divide the batter evenly between the prepared pans (about 28 oz batter per pan). Bake at 325°F for about 35 minutes, checking at 35; it may take up to 38 minutes. A toothpick should come out clean.
-
Cool in the pans for 15 minutes, then invert onto racks to cool completely before frosting. The frosting takes time to cool, so you can begin it while the cakes finish cooling.
Silky Chocolate Frosting
-
Off the heat, whisk together the sugar, flour and cocoa in a small saucepan. Add the milk and whisk until smooth.
-
Cook over medium heat, whisking constantly, until the mixture thickens and boils. Reduce heat to low and cook 2 more minutes, whisking. Remove from heat and spread the thickened mixture on a plate; cover with parchment or plastic wrap and cool completely.
-
Beat softened butter in a large bowl until creamy. Gradually beat in the cooled milk mixture, then the vanilla and the melted, cooled chocolate until smooth.
-
If the frosting turns out too loose or gooey because components were too warm, chill the bowl in the refrigerator for 30–40 minutes and then whip again; it will come together as a silky, spreadable frosting.
Notes