Dr. Pepper Sheet Cake
I love sheet cakes for their honest, no-fuss charm. This Dr. Pepper Sheet Cake is one of those retro-southern recipes that feels celebratory without requiring a lot of fuss—just a few pantry staples, an open can of soda, and a sheet pan. The batter comes together quickly on the stove and in a bowl, and the frosting is poured warm so it sinks into the cake for a tender crumb and glossy top.
Expect a lightly spiced chocolate cake with a subtle caramel-cola note from the Dr. Pepper. It’s casual enough for weeknight dessert, but its flavor and texture make it welcome at potlucks and celebrations. I’ll walk you through the ingredients, clear step-by-step instructions, storage tips, and a few easy swaps.
Hands-on time is short and the technique is straightforward: a stovetop infusion of butter, shortening, cocoa, and soda, then whisked into the dry mix, baked in a large sheet pan, and finished with a glossy cocoa-soda frosting topped with toasted pecans. Let’s get into the details.
Ingredient Breakdown

- 2 cups all-purpose flour — provides structure; measure by spooning into the cup and leveling for accuracy.
- 2 cups granulated sugar — sweetens and helps create a tender crumb.
- 1 teaspoon baking soda — leavens and gives the cake lift.
- 1 teaspoon cinnamon — adds warm, complementary spice to the chocolate.
- 1 teaspoon salt — balances sweetness and enhances flavor.
- ½ cup unsalted butter — used in the batter; melt with shortening and cocoa for richness.
- ½ cup shortening — adds tender crumb and helps the cake stay moist.
- ⅓ cup unsweetened cocoa powder — chocolate flavor base for both batter and frosting.
- 1 ¼ cups Dr. Pepper — liquid component for the batter; contributes subtle cola flavor and acidity to react with baking soda.
- ½ cup buttermilk — adds moisture and tang; helps tenderize the crumb.
- 2 large eggs — bind, enrich, and add structure.
- 2 teaspoons vanilla extract — rounds and deepens overall flavor.
- ½ cup unsalted butter — used again in the frosting for richness and sheen.
- ¼ cup Dr. Pepper — used in the frosting for that characteristic cola flavor.
- 2 tablespoons whole milk — thins the frosting slightly for a pourable consistency.
- ¼ cup unsweetened cocoa powder — chocolate base for the frosting.
- 3 ½ cups powdered sugar (sifted) — sweetens and thickens the frosting; sifted to prevent lumps.
- 1 teaspoon vanilla extract — adds depth to the frosting.
- 1 cup chopped toasted pecans (optional) — provides crunch and a toasty flavor contrast; optional but recommended.
From Start to Finish: Dr. Pepper Sheet Cake
Follow these steps in order. Quantities match the ingredient list above exactly.
- Preheat the oven to 350°F (177°C). Spray an 18 x 13-inch baking sheet with nonstick cooking spray. Set the pan aside so it’s ready when the batter is done.
- In a large bowl, whisk together 2 cups all-purpose flour, 2 cups granulated sugar, 1 teaspoon baking soda, 1 teaspoon cinnamon, and 1 teaspoon salt until evenly combined and no clumps remain.
- Place a medium saucepan over medium heat. Add ½ cup unsalted butter, ½ cup shortening, ⅓ cup unsweetened cocoa powder, and 1 ¼ cups Dr. Pepper. Stir frequently as the mixture warms so it comes to a gentle boil without scorching. Once it reaches a boil, remove from heat.
- Carefully pour the hot Dr. Pepper-cocoa mixture over the dry ingredients. Whisk briskly until the dry ingredients are moistened and the batter is smooth and uniform.
- Add ½ cup buttermilk, 2 large eggs, and 2 teaspoons vanilla extract to the batter. Stir or whisk until everything is fully incorporated and the batter is homogeneous. Scrape the sides and bottom of the bowl to ensure no pockets of dry flour remain.
- Pour the batter onto the prepared 18 x 13-inch baking sheet. Smooth it gently with a spatula to an even thickness. Tap the pan on the counter a few times to release any large air bubbles.
- Bake in the preheated oven for 18–20 minutes. The cake is done when the center springs back when gently pressed and a toothpick inserted near the center comes out with a few moist crumbs (not raw batter).
- While the cake bakes, make the frosting: In a small saucepan set over medium heat, add ½ cup unsalted butter, ¼ cup Dr. Pepper, 2 tablespoons whole milk, and ¼ cup unsweetened cocoa powder. Heat gently, stirring frequently, until the butter fully melts and the mixture is smooth and warm—do not let it boil or scorch.
- Remove the saucepan from heat. Immediately whisk in 3 ½ cups sifted powdered sugar and 1 teaspoon vanilla extract until the frosting is smooth and glossy. If the frosting seems too thick to pour, warm it very briefly off heat and whisk to loosen—be careful not to overheat.
- When the cake comes out of the oven, keep it in the pan. Pour the warm frosting evenly over the hot cake. Use an offset spatula or the back of a spoon to spread it quickly before the frosting sets. If using toppings, sprinkle 1 cup chopped toasted pecans evenly over the frosting while it’s still warm so they adhere.
- Allow the cake to cool in the pan until the frosting sets to the touch. For cleaner slices, let it cool fully at room temperature or chill briefly, then cut into bars or squares.
Why Dr. Pepper Sheet Cake is Worth Your Time
This cake is fast to make but has complex flavor: cola brings sweet, fruity, and slightly spicy notes that lift the chocolate without being gimmicky. The pour-on frosting soaks in a little, leaving a glossy, tender top rather than a stiff layer. It travels and slices well, so it’s ideal for potlucks, birthdays, or weekend baking when you want maximum impact for minimal effort.
Allergy-Friendly Substitutes

- Dairy-free — Replace butter and whole milk with plant-based butter and unsweetened oat or soy milk. Use dairy-free buttermilk (1/2 cup non-dairy milk + 1/2 tsp vinegar) in the batter.
- Egg-free — Use a commercial egg replacer or 1/4 cup applesauce per egg (bakes will be slightly denser).
- Nut-free — Omit the pecans and use toasted sunflower seeds or pumpkin seeds for crunch, or skip the topping entirely.
Toolbox for This Recipe

- 18 x 13-inch baking sheet (jelly roll or quarter-sheet style) — the recipe is sized for this pan.
- Medium saucepan — for both the batter’s hot mixture and the frosting (you can reuse for frosting after batter step).
- Large mixing bowl and whisk — for dry ingredients and for mixing batter.
- Spatula or offset spatula — to spread batter and frosting.
- Measuring cups and spoons — accuracy matters for baking.
- Nonstick cooking spray — for pan prep.
- Optional: sifter for powdered sugar and a cooling rack.
Avoid These Mistakes
- Overheating the cocoa-soda mixture — heat gently and stir frequently to avoid scorching the cocoa or boiling off too much liquid.
- Skipping the tap — tapping the pan evens out the batter and reduces large air pockets that make holes in the crumb.
- Pouring cold frosting onto cold cake — the frosting is designed to be poured warm so it soaks in slightly; if the cake is cold the frosting will set too quickly and may not spread smoothly.
- Using a different pan size — a smaller pan will make the cake too thick and underbaked; stick to 18 x 13 inches.
Smart Substitutions
- Shortening swap: Replace shortening with an equal amount of softened butter for slightly more flavor; the texture will be similar but a touch denser.
- Dr. Pepper alternatives: Other colas (Coke, Pepsi) will work, but Dr. Pepper’s unique spice profile gives the intended flavor—expect subtle differences with substitutes.
- Cocoa powder: Use Dutch-process cocoa for a deeper, less acidic chocolate flavor; bake time and leavening are unchanged because baking soda is used.
Notes on Ingredients
Measure flour by spooning into the cup and leveling; too much flour will make the cake dry. Sift the powdered sugar for the frosting to avoid lumps and ensure a smooth finish. Use full-fat buttermilk for the best texture; if using low-fat or non-dairy substitutes, the cake will still work but may be slightly less tender. Toast the pecans in a dry skillet over medium heat for 3–5 minutes, stirring, until fragrant—watch them closely so they don’t burn.
Best Ways to Store
- Room temperature: Store covered or in an airtight container for up to 2 days. Keep out of direct sunlight to prevent drying.
- Refrigerator: Store in an airtight container for up to 5 days. Bring to room temperature before serving for best texture.
- Freezing: Cut into squares and freeze unfrosted pieces wrapped tightly in plastic and foil for up to 2 months. Thaw in the refrigerator overnight, then frost just before serving.
Reader Questions
- Q: Can I make this in a 9×13 pan instead of a sheet pan?
A: You can, but bake time will increase and the cake will be thicker—start checking at 22–25 minutes and use a toothpick to confirm doneness. The recipe is optimized for an 18 x 13-inch pan. - Q: My frosting is grainy—what went wrong?
A: Graininess usually comes from un-sifted powdered sugar or overheating the frosting. Sift the powdered sugar and warm the butter mixture gently. Whisk until smooth. - Q: Can I omit the shortening?
A: Yes; substitute equal butter for a slightly richer flavor. The cake may be marginally less tender but still excellent.
Wrap-Up
This Dr. Pepper Sheet Cake is an easy, dependable crowd-pleaser. The steps are straightforward, and the finishing frosting gives you a glossy, tender cake with a hint of cola complexity. It’s forgiving, adaptable, and quick—perfect for when you want something special without the fuss. Make it as written the first time, then experiment with swaps and toppings once you’re comfortable. Happy baking.

Dr. Pepper Sheet Cake
Ingredients
- 2 cups all-purpose flour
- 2 cups granulated sugar
- 1 teaspoon baking soda
- 1 teaspoon ground cinnamon
- 1 teaspoon salt
- 1/2 cup unsalted butter for batter
- 1/2 cup shortening for batter
- 1/3 cup unsweetened cocoa powder for batter
- 1 1/4 cups Dr. Pepper for batter
- 1/2 cup buttermilk
- 2 large eggs
- 2 teaspoons vanilla extract
- 1/2 cup unsalted butter for frosting
- 1/4 cup Dr. Pepper for frosting
- 2 tablespoons whole milk for frosting
- 1/4 cup unsweetened cocoa powder for frosting
- 3 1/2 cups powdered sugar sifted
- 1 teaspoon vanilla extract for frosting
- 1 cup chopped toasted pecans optional
Instructions
- Preheat the oven to 350°F (175°C). Spray an 18 x 13-inch baking sheet with nonstick cooking spray.
- In a large bowl, whisk together the flour, granulated sugar, baking soda, cinnamon, and salt until evenly combined.
- In a medium saucepan over medium heat, combine 1/2 cup unsalted butter, 1/2 cup shortening, 1/3 cup cocoa powder, and 1 1/4 cups Dr. Pepper. Bring to a boil, stirring frequently to avoid scorching.
- Pour the hot chocolate-Dr. Pepper mixture over the dry ingredients and whisk to combine. Stir in 1/2 cup buttermilk, 2 large eggs, and 2 teaspoons vanilla extract until the batter is smooth.
- Pour the batter into the prepared baking sheet and gently tap the pan on the counter to release large air bubbles. Bake for 18–20 minutes, or until the center springs back when lightly pressed.
- While the cake is warm, make the frosting: in a small saucepan over medium heat melt 1/2 cup unsalted butter with 1/4 cup Dr. Pepper, 2 tablespoons whole milk, and 1/4 cup cocoa powder, stirring frequently until melted and smooth.
- Remove the frosting mixture from heat and whisk in 3 1/2 cups sifted powdered sugar and 1 teaspoon vanilla extract until smooth and spreadable.
- Pour the frosting over the warm cake and spread quickly before it sets. Sprinkle with 1 cup chopped toasted pecans, if desired. Let the frosting set before slicing.
Equipment
- 18 x 13-inch (half-sheet) baking pan
- Nonstick cooking spray
- large mixing bowl
- Medium Saucepan
- Whisk
- Spatula
- Small Saucepan
- Measuring cups and spoons
Notes
- Use a half-sheet pan (18 x 13 inches) for a traditional thin Texas sheet cake.
- For a thicker cake, bake in a 9 x 13-inch pan and increase baking time to about 30 minutes.
- Stir mixtures frequently while heating to prevent scorching.
- Sift powdered sugar for a smoother frosting.
