Go Back
+ servings
overhead view of slices of dr pepper cake.
Print Recipe
5 from 2 votes

Dr Pepper Cake Recipe

This Dr Pepper combines rich, chocolatey cake with Dr Pepper soda to create a crave-able cake that's just what the doctor ordered!
Step-by-step photos can be seen below the recipe card.
Prep Time20 minutes
Cook Time35 minutes
Total Time55 minutes
Course: cake, Dessert
Cuisine: American
Servings: 24 slices

Equipment

  • Kitchen Scale (optional)
  • 9x13 Baking Pan
  • Hand Mixer

Ingredients

For the Cake

  • cups all-purpose flour 270 grams
  • cup unsweetened cocoa powder 28 grams
  • 1 teaspoon baking soda 6 grams
  • ½ teaspoon kosher salt
  • 1 cup vegetable oil 200 grams
  • cups granulated sugar 300 grams
  • ½ cup brown sugar 107 grams
  • 2 large eggs 100 grams, room temperature
  • 2 teaspoons pure vanilla extract 8 grams
  • cups Dr Pepper soda 341 grams
  • ½ cup plain Greek yogurt or sour cream; 57 grams, room temperature

For the Frosting

  • ¼ cup unsalted butter 57 grams, room temperature (½ stick)
  • 3 cups powdered sugar 339 grams
  • ¼ cup unsweetened cocoa powder 21 grams
  • cup Dr Pepper soda 76 grams

Instructions

For the Cake

  • Preheat the oven to 350°F. Grease a 9x13-inch baking pan and line it with parchment paper.
  • Add the flour, cocoa powder, baking soda, and salt to a large bowl and whisk until combined.
    2¼ cups all-purpose flour, ⅓ cup unsweetened cocoa powder, 1 teaspoon baking soda, ½ teaspoon kosher salt
  • In a separate bowl, whisk together the oil, sugars, eggs, and vanilla extract. Whisk in the Dr Pepper. Then, whisk in the Greek yogurt.
    1 cup vegetable oil, 1½ cups granulated sugar, ½ cup brown sugar, 2 large eggs, 2 teaspoons pure vanilla extract, 1½ cups Dr Pepper soda, ½ cup plain Greek yogurt
  • Add the wet ingredients to the dry ingredients and mix with an electric hand mixer until just combined.
    chocolate cake batter in a glass bowl with a rubber spatula.
  • Pour the batter into the prepared baking pan, and bake for 33-35 minutes or until a toothpick inserted in the center of the cake comes out clean. Let the cake cool completely before frosting.
    chocolate cake batter in a baking pan.

For the Frosting

  • Once the cake has cooled, make the frosting the frosting: cream the butter with an electric hand mixer until smooth.
    ¼ cup unsalted butter
  • Add in the powdered sugar and cocoa powder and mix to combine.
    3 cups powdered sugar, ¼ cup unsweetened cocoa powder
  • Add in the Dr Pepper, and mix again until the frosting reaches a smooth and creamy consistency.
    ⅓ cup Dr Pepper soda
  • Frost the cake in the pan or invert the cake onto a rack or flat surface. Then, frost.
    overhead view of dr pepper cake frosted with chocolate frosting.

Video

Notes

Storage: Store Dr Pepper cake tightly wrapped in plastic wrap at room temperature for up to 2 days, in the refrigerator for up to 4 days, or in the freezer for up to 1 month.

Nutrition

Serving: 1slice | Calories: 286kcal | Carbohydrates: 44g | Protein: 3g | Fat: 12g | Saturated Fat: 3g | Polyunsaturated Fat: 5g | Monounsaturated Fat: 3g | Trans Fat: 0.1g | Cholesterol: 21mg | Sodium: 107mg | Potassium: 64mg | Fiber: 1g | Sugar: 34g | Vitamin A: 82IU | Calcium: 16mg | Iron: 1mg