Go Back
coke cake recipe

Coke Cake Recipe

Prep 20 minutes
Cook 40 minutes
Total 1 hour
With rich chocolate flavor and fizzy Coca-Cola! So moist, so nostalgic. A Southern classic that's easy, bold, and unbelievably delicious!
5 stars (1 ratings)

Ingredients
  

For the Cake:

  • 2 cups all-purpose flour
  • 2 cups granulated sugar
  • 1 teaspoon baking soda
  • ½ teaspoon salt
  • ½ cup unsalted butter
  • ½ cup vegetable oil
  • 3 tablespoons unsweetened cocoa powder
  • 1 cup cola (regular Coca-Cola, not diet)
  • ½ cup buttermilk (substitute: ½ cup milk + 1½ teaspoons vinegar)
  • 2 large eggs , room temperature
  • 1 teaspoon vanilla extract

For the Frosting:

  • ½ cup unsalted butter
  • 3 tablespoons unsweetened cocoa powder
  • cup cola
  • 4 cups powdered sugar
  • 1 teaspoon vanilla extract
  • 1 cup chopped pecans (optional)

Instructions

  • Step 1: Prepare Your Baking Pan and Ingredients
    Preheat your oven to 350°F (175°C). Thoroughly grease and flour a 9×13-inch baking pan, or for easier removal, line it with parchment paper with overhanging edges. In a large bowl, whisk together the flour, sugar, baking soda, and salt until evenly combined.
    Pro tip: Measure your flour using the spoon-and-level method (spooning flour into measuring cups and leveling with a knife) rather than scooping directly from the container. This prevents using too much flour, which can make your cake dense.
    Step 2: Prepare the Coca-Cola Mixture
    In a medium saucepan over medium heat, combine the butter, oil, cocoa powder, and cola. Bring the mixture to a gentle boil while stirring constantly to prevent scorching. The heat activates the cocoa's flavor compounds—research shows this technique enhances chocolate notes by up to 30% compared to simply mixing ingredients at room temperature.
    Once the mixture reaches a boil, remove it from heat and allow it to cool slightly before incorporating it into your dry ingredients. The temperature should be warm but not hot enough to cook the eggs in the next step.
    Step 3: Combine Wet and Dry Ingredients
    Pour the warm cola mixture over your dry ingredients and beat with an electric mixer on low speed until just combined. In a separate bowl, whisk together the buttermilk, eggs, and vanilla. Add this mixture to your batter and beat on medium speed for approximately 1 minute until smooth.
    The key here is not to overmix—stop as soon as the ingredients are incorporated. Overmixing develops gluten, which can make your cake tough rather than tender. The chemical reaction between the acidic cola and baking soda has already begun working to create the perfect rise!
    Step 4: Bake and Frost Your Cake
    Pour the batter into your prepared pan and bake for 35-40 minutes, or until a toothpick inserted in the center comes out with just a few moist crumbs. Begin preparing your frosting about 5 minutes before the cake is done.
    For the frosting, bring the butter, cocoa powder, and cola to a boil in a saucepan. Remove from heat and gradually whisk in the powdered sugar and vanilla until smooth. Pour the warm frosting over the hot cake immediately after removing it from the oven. If using pecans, sprinkle them evenly over the top.
    Expert insight: Pouring warm frosting over hot cake allows the frosting to partially melt into the cake's surface, creating a unique texture that's part glaze, part frosting—a signature characteristic of authentic coke cake recipe.
    coke cake recipeingredients

Video