Dr. Pepper Cake

This Dr. Pepper Cake has double the soda flavor! It has a single layer of ultra moist, fudgy cake topped with pecan-studded Dr. Pepper frosting.

slice of dr pepper cake on a white plate.

Dr. Pepper lovers, this chocolate cake is for you. It’s hands down the best Dr. Pepper Cake because the sweet, fruity soda seasons the cake and the frosting!

Plus, the touch of cinnamon is the secret weapon; it really makes the Dr. Pepper flavors pop.

This homemade sheet cake is reminiscent of a Texas Sheet Cake and has lots of pecans in the frosting. We’ll be making everything from scratch, and you’ll be surprised at how easily it all comes together.

The cake it’s self is so moist and tender. It’s perfect for birthdays, holidays, events, potlucks, and more.

If you love desserts made from soda, don’t miss my 7Up Cake!

Also, don’t miss my Old Fashioned Wacky Cake, Chocolate Chip Zucchini Cake, and Easy Chocolate Mayonnaise Cake if you love chocolate cake!

This post contains affiliate links. Affiliate links support Gift of Hospitality at no additional cost to you. I receive a commission if you choose to make a purchase through these link.

Jump to:
whole dr. pepper cake topped with pecan chocolate frosting.

Why this is the best Dr. Pepper Cake

Dr. Pepper has been around since 1885 and it’s no wonder it’s one of our favorite bubbly drinks! It’s got a distinct flavor that is hard to pin down. Its bold, fruity, and spicy flavors really hit the spot. Add those flavors into a cake and you’ve found perfection.

This Dr. Pepper Cake is different from other recipes I’ve seen because it has the soda pop in the cake batter AND in the frosting. You might even call this a Double Dr. Pepper Cake!

An added bonus of using Dr. Pepper in the cake batter is that the carbonation acts as a leavening agent. The resulting cake crumb is light and airy.

Plus, it has a secret ingredient—cinnamon! The addition of ground cinnamon really brings out the soda flavors. This cake is richer and deeper than any other Dr. Pepper cake I’ve ever tried.

Ingredients

ingredients for dr. pepper cake on a white background.
  • This cake uses unsalted butter, both for the cake and the frosting.
  • The combination of Dr. Pepper and baking soda provide the lift to the cake, making it moist and light (while still being fudge-like). You’ll need one (12 oz) can of Dr. Pepper for this recipe. I used the mini cans which are 7.5 oz, so I needed 1½ cans.
  • Cocoa powder goes in both the cake and frosting, providing the chocolate flavor that perfectly complements the Dr. Pepper flavor. Cinnamon brings out the soda’s flavor even more.
  • Buttermilk keeps the cake crumb light and tender. If you don’t have it, you can use a mixture of regular milk + lemon juice or vinegar. See the recipe card below for exact measurements.
  • The frosting is designed to be poured over the warm cake. It’s packed with pecans, which add a nice crunch to the moist and tender cake.

How to make a Dr. Pepper Cake

Sift together the flour, cocoa powder, salt, baking soda, and cinnamon. Set aside.

If you’re usually the person who skips this step of sifting (ahem, like me), at the very least sift the cocoa powder for this recipe. Most brands are prone to lumps, so this ensures a smooth cake batter and smooth frosting.

Pour the melted butter into a large bowl. Whisk in the Dr. Pepper and the sugar until smooth.

hand pouring dr. pepper into a bowl with butter and sugar.

Whisk in the eggs, buttermilk, and vanilla until fully incorporated.

hand whisking a sugar and butter mixture in a glass bowl.

Then, whisk in the dry ingredients until a smooth cake batter forms.

hand whisking chocolate cake batter.

Pour into the prepared baking dish and bake for 32–38 minutes at 350°F, or until a toothpick inserted into the center comes out clean.

whole unfrosted chocolate dr. pepper cake in a white dish.

With about 10 minutes left until the cake is done baking, prepare the frosting: place the butter and Dr. Pepper in a saucepan just until melted (do not boil).

Remove from the heat and stir in the remaining ingredients. Mix well until combined.

chocolate frosting in a saucepan with pecans.

Pour the warm icing over the hot cake immediately after pulling it from the oven. Use a spatula to spread it around if needed.

Let the cake cool completely before cutting and serving. Viola—your Dr. Pepper Cake with Dr. Pepper Frosting is ready to be enjoyed!

Make it ahead and storage information

You can make the Dr. Pepper Cake 1–2 days ahead of time. If you keep it tightly covered at room temperature, it will stay fresh for 4–5 days.

This cake freezes well. It can be frozen for up to 3 months. Just make sure to bring it to room temperature before serving.

dr. pepper cake in a white casserole dish, topped with chocolate pecan frosting.

Variations

Here are a few ideas to make this cake differently:

  • You can make the cake into Dr. Pepper Cupcakes. Bake for 15 mins. The recipe yields approximately 24 cupcakes.
  • This recipe makes a great bundt cake. Bake for 60 minutes, then let cool for 10 minutes in the pan before inverting. Pour the warm icing over the warm cake.
  • Want to make one now and save one for later? Divide the batter between two 8×8-inch pans. Bake for 32–35 minutes.
  • Substitute cola (like Pepsi or Coke) instead of Dr. Pepper 
  • Leave out the nuts if preferred
slices of dr. pepper cake on white plates next to a can of dr. pepper.

More chocolate cake recipes

If you love chocolate cake, check out more of my favorites:

Have you tried this recipe? Please leave a ⭐️⭐️⭐️⭐️⭐️ rating and/or comment below!

📖 Recipe

slice of dr pepper cake on a white plate.

Dr. Pepper Cake (with Dr. Pepper Frosting)

Published by Kate
The taste of Dr. Pepper, baked into a cake! This fudge-like chocolate cake is topped with a Dr. Pepper frosting to boot.
5 from 2 votes
Prep Time 20 minutes
Cook Time 35 minutes
Total Time 55 minutes
Course Dessert
Cuisine American
Servings 15 servings
Calories 461 kcal

Ingredients
  

For the cake:

  • 2 cups all-purpose flour
  • ¼ cup cocoa powder
  • ½ teaspoon salt
  • 1 teaspoon baking soda
  • 1 teaspoon ground cinnamon
  • 1 cup butter (2 sticks), melted
  • 1 cup Dr. Pepper
  • 2 cups granulated sugar
  • 2 eggs
  • ½ cup buttermilk (see Note for substitution)
  • 2 teaspoons vanilla extract

For the frosting:

  • 4 tablespoons butter (½ stick)
  • ¼ cup Dr. Pepper
  • 3 tablespoons cocoa powder
  • ½ cup chopped pecans
  • 1 teaspoon vanilla extract
  • cups powdered sugar

Instructions
 

  • Grease a 13×9-inch baking dish with cooking spray. Preheat oven to 350°F.
  • Sift together the flour, cocoa powder, salt, and baking soda, and cinnamon. (Or at the very least, sift the cocoa powder, as it is prone to causing lumps in cake batter.)
  • Pour the melted butter into a large bowl. Whisk in the Dr. Pepper and the sugar until smooth. Whisk in the eggs, buttermilk, and vanilla.
  • Whisk in the dry ingredients until a smooth cake batter forms.
  • Pour into the prepared baking dish and bake for 32–38 minutes, or until a toothpick inserted into the center comes out clean.
  • While the cake is baking, prepare the icing: Place the butter and Dr. Pepper in a saucepan. Heat until the butter is melted, but do not boil. Remove from the heat and sift in the cocoa powder (prevents lumps). Add the remaining ingredients. Mix well.
  • Pour the icing over the hot cake, right after it comes out of the oven. Cool completely and cut into squares.

Notes

Don’t have buttermilk? Measure 2 teaspoons of vinegar OR lemon juice into a measuring cup, then fill to the ½ cup line with regular milk.
Storage and freezing: store the cake at room temperature or in the refrigerator for 4–5 days, tightly covered. It can also be frozen for up to 3 months. Defrost at room temperature. 
Variations:
  • Makes 24 cupcakes, bake 15–18 minutes
  • Makes one bundt cake, bake 60 minutes. Let cool for 10 minutes before inverting and frosting.
  • Use Coke or Pepsi instead of Dr. Pepper
  • Leave out the pecans if you prefer 

Nutrition

Calories: 461kcalCarbohydrates: 72gProtein: 4gFat: 19gSaturated Fat: 10gPolyunsaturated Fat: 1gMonounsaturated Fat: 6gTrans Fat: 1gCholesterol: 63mgSodium: 175mgPotassium: 95mgFiber: 2gSugar: 57gVitamin A: 519IUVitamin C: 0.04mgCalcium: 27mgIron: 1mg
Keyword dr. pepper cake, dr. pepper cake with dr. pepper frosting
Did You Make This Recipe?Please leave a star rating and comment below!

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

Recipe Rating