3.4ouncesinstant chocolate pudding mix(not Cook and Serve)
3large eggs
8ouncesDr Pepper sodaroom temperature - from a 12-ounce can. remaining 4 ounces is for the frosting
¾cupvegetable oilor other neutral flavor cooking oil
For Frosting
4ouncesbutter(4 ounces = ½ cup = 1 stick)
2 ½cupspowdered sugar
3 to 4ouncesDr Pepper sodaroom temperature
½cupunsweetened cocoa powder
¼teaspoonsaltomit if using salted butter
1teaspoonvanilla extract
Optional Garnish
¼cupchocolate jimmiesor sprinkles; use more or less, as desired
Instructions
Preheat oven to 350°F.
Grease a 9x13-inch cake pan with butter or non-stick baking spray (the spray with flour is best for this recipe) and set aside.
Add all cake ingredients to a large mixing bowl; whisk well to combine. Pour batter into the prepared pan; Using an offset spatula, smooth the batter into an even layer.
Transfer pan to the center rack of the preheated oven and bake for 35-40 minutes, or until a toothpick inserted into the center of cake comes out clean or with a few moist crumbs. Meanwhile, make the frosting (see instructions below).
Make the Frosting
Melt butter in a 2-quart (or larger) saucepan over medium heat. Add powdered sugar, Dr Pepper, cocoa, salt (if needed), and vanilla extract, then whisk to combine.
Increase heat to medium-high and stir constantly until mixture comes to a full boil. Immediately reduce the heat to low and boil frosting for one minute.
Remove saucepan from the heat, and allow the frosting to cool in the pan while the cake finishes baking.
Final Steps
Remove cake from the oven and leave it in the pan. Pour the warm frosting over the top of the warm cake, then use an offset spatula to spread frosting into an even layer.
If desired, garnish the top of the cake with jimmies or sprinkles. Allow the frosted cake to cool for at least 30 minutes before slicing and serving.
Notes
When it comes to using soda in a cake mix recipe, it’s best to begin with room-temperature soda. Once it warms up a bit, there’s less carbonation which makes it easier to incorporate with the other ingredients.
However, you don’t want it to be flat. Flat soda won’t have the same bubbly effect, and it will end up much more dense.
Recipe Variations:
Add pecans or walnuts to the frosting for crunch and a bit of Southern charm.
Swap in buttermilk for added richness and tenderness in the batter.
Try unsalted butter for better control over the sweetness and saltiness of the cake and frosting.
For a warm, spicy note, add a pinch of cinnamon to the batter—it pairs beautifully with the soda’s flavors.
Storing Instructions:
Keep leftover Dr. Pepper cake refrigerated to maintain the texture and keep the frosting solid. It will last 3 to 4 days in an airtight container.
If you’d like to freeze and preserve it for up to 3 months, wrap it very well in a few layers of plastic wrap.