The Best Fudgy Dr Pepper Chocolate Sheet Cake
Why You’ll Love This Recipe
I have a confession to make. I was a total skeptic. The idea of pouring a can of soda into a cake batter felt like a weird science experiment, not a recipe for a family dessert. But I was desperate. I had committed to bringing a dessert for a massive block party, and I had exactly zero butter left in the house. That is when I remembered an old friend’s tip about using soda as a substitute for oil and eggs.
The first time I made this Fudgy Dr Pepper Chocolate Sheet Cake, I pulled it out of the oven and just stared at it. The top was perfectly cracked, the kitchen smelled like a carnival, and the crumb was the most tender, moist thing I had ever created. The soda does something magical. The carbonation creates a super light texture, and the subtle cherry and vanilla notes of the Dr Pepper amplify the chocolate flavor without tasting like soda at all. This recipe solves the problem of wanting a super rich, fudgy cake without needing a pantry full of expensive ingredients.
Ingredients
- 2 cups all-purpose flour
- 2 cups granulated sugar
- 1 teaspoon baking soda
- 1/2 teaspoon salt
- 1/2 cup unsalted butter
- 1/2 cup vegetable oil
- 1 cup Dr Pepper (do not use diet)
- 1/2 cup unsweetened cocoa powder
- 1/2 cup buttermilk
- 2 large eggs
- 1 teaspoon vanilla extract
- For the Fudgy Frosting:
- 1/2 cup unsalted butter
- 1/3 cup Dr Pepper
- 1/4 cup unsweetened cocoa powder
- 4 cups powdered sugar
- 1 teaspoon vanilla extract
Step-by-Step Directions
- Get your oven preheating to 350 degrees F. Grease a 9×13 inch sheet pan really well. I use a pastry brush with melted butter to make sure the corners are slick.
- In a large mixing bowl, whisk together the flour, sugar, baking soda, and salt. Set that bowl aside for a moment.
- Grab a medium saucepan and place it on the stove over medium heat. Drop in the butter, vegetable oil, and the cup of Dr Pepper. Let it all melt together and stir until the butter is completely liquid. Do not let it boil, just get it hot and smooth.
- Once the butter mixture is hot, whisk in the cocoa powder. The mixture will look like dark, thin chocolate pudding. This step blooms the cocoa, making the chocolate flavor much deeper.
- Pour this hot, bubbly chocolate liquid directly into the bowl of dry ingredients. Stir with a wooden spoon until just combined. The batter will look thick and a little lumpy.
- In a small measuring cup, beat the eggs, buttermilk, and vanilla together. Pour this into the batter and stir gently until everything is smooth and glossy. The batter will be very thin, almost like a milkshake.
- Pour the thin batter into your prepared pan. It will spread out perfectly on its own. Slide the pan into the oven and bake for 25 to 30 minutes. You will know it is done when the top springs back when you gently poke it with your finger.
- While the cake is baking, start the frosting. In the same saucepan you used earlier, melt the butter over medium heat. Add the 1/3 cup of Dr Pepper and the cocoa powder. Whisk until smooth and hot.
- Remove the pan from the stove and gradually beat in the powdered sugar and vanilla. Keep stirring until the frosting is thick, glossy, and completely smooth.
- The moment the cake comes out of the oven, pour the hot frosting directly over the hot cake. Use a spatula to spread it evenly. The heat from the cake will help the frosting set into a fudgy, crackly layer.
Pro Tips for Success
The most important part of this recipe is the timing. You must pour the hot frosting onto the hot cake. If you let the cake cool down, the frosting will just slide off and turn into a puddle. The heat creates a chemical reaction that helps the frosting form that signature shiny, fudgy crust.
Do not use diet Dr Pepper. The artificial sweeteners break down under heat and create a bitter, metallic taste. You need the real sugar in regular soda to get that perfect texture and sweetness. The carbonation in soda is what tenderizes the gluten in the flour, which is a similar effect to what you get with carbonated water in baking.
Make sure your buttermilk is at room temperature. Cold buttermilk will seize the fats in the batter and make the cake dense. If you forgot to take it out of the fridge, just let the eggs and buttermilk sit on the counter while you gather the other ingredients.
Servings and Timing
This recipe makes one 9×13 inch sheet cake, which gives you about 20 generous squares. The prep time is about 15 minutes, and the bake time is exactly 28 minutes. You will spend another 5 minutes making the frosting. So from start to finish, you are looking at roughly 50 minutes until you have a pan of warm, gooey cake.
Variations and Substitutions
If you do not have buttermilk on hand, you can make a quick substitute by adding one tablespoon of white vinegar or lemon juice to a half cup of regular milk. Let it sit for five minutes until it curdles slightly. For a gluten free version, swap the all-purpose flour for a good quality 1-to-1 gluten free baking blend. The texture will be slightly more tender, but still delicious. You can also turn this into a spice cake by adding a teaspoon of cinnamon and a pinch of cayenne pepper to the dry ingredients.
What to Serve With This
This cake is incredibly rich, so a scoop of vanilla bean ice cream is the perfect partner to cut through the sweetness. I also love serving it alongside a tall glass of cold milk. If you are looking for another easy dessert to bring to a party, you should check out my recipe for [LINK: Fudgy Dr Pepper Chocolate Sheet Cake]Easy Chocolate Fudge Brownies[/LINK] for a different texture. And if you want something truly over the top, try pairing a square of this cake with a dollop of my [LINK: Keto Desserts]Homemade Whipped Cream[/LINK].
Storage and Reheating
Store any leftover cake in an airtight container at room temperature for up to three days. The frosting will stay soft and fudgy. If you stack the cake, place a sheet of wax paper between the layers to prevent sticking. To reheat a single square, pop it in the microwave for about 10 seconds. This will melt the frosting slightly and make it taste like it just came out of the oven.
FAQs
Q: Can I make this Fudgy Dr Pepper Chocolate Sheet Cake in a different sized pan?
Absolutely. If you use a 9×9 inch square pan, your cake will be much thicker and will need about 40 to 45 minutes of baking time. If you use a 10×15 inch jelly roll pan, the cake will be very thin and will only need about 18 to 20 minutes. Just keep an eye on it and test for doneness with a toothpick.
Q: What happens if I accidentally use diet Dr Pepper?
I have made this mistake before. The cake will still rise, but it will have a slightly strange, bitter aftertaste. The texture will also be a bit more dry and crumbly. I do not recommend it. Stick to the full sugar version for the best result.
Q: My frosting turned out grainy. What did I do wrong?
Grainy frosting usually means the powdered sugar was not fully dissolved. Make sure your butter and Dr Pepper mixture is very hot when you add the sugar. The heat helps the sugar melt completely. If it is still grainy, you can try whisking in a tablespoon of hot water or milk to smooth it out.
Q: Can I add chocolate chips or nuts to the batter?
Yes, you can fold in a cup of semi-sweet chocolate chips or chopped pecans right before pouring the batter into the pan. The chips will sink slightly, creating a lovely gooey layer at the bottom of the cake. Just be careful not to overmix the batter once you add them.
Q: Is it normal for the cake to sink in the middle after baking?
A slight dip in the very center is totally normal for a sheet cake, especially one made with soda. The carbonation creates a very tender crumb that can collapse just a tiny bit as it cools. Do not worry about it. The frosting will cover it completely.
Conclusion
I really hope you give this Fudgy Dr Pepper Chocolate Sheet Cake a try. It has become my go to recipe for every potluck, picnic, and family dinner. It is so easy to throw together, and the result is always a huge hit. The cake stays moist for days, and that fudgy frosting is absolutely irresistible. Let me know how it turns out for you in the comments. I love hearing about your baking adventures.
![]() | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||










