Coca-Cola Chocolate Cake with Broiled Peanut Butter Frosting

Prep: 15 minCook: 35 min15 servingsmediumSouthern
Coca-Cola Chocolate Cake with Broiled Peanut Butter Frosting

This moist chocolate cake gets its unique flavor and tender crumb from Coca-Cola, which adds subtle sweetness and helps create an incredibly soft texture. The mini marshmallows folded into the batter create pockets of sweetness throughout. Topped with a rich peanut butter frosting that's broiled until golden and bubbly, this cake combines nostalgic flavors in an unexpected way. Perfect for potlucks, birthday parties, or any gathering where you want to serve something memorable. The broiled frosting develops a slightly caramelized top while staying creamy underneath, creating an irresistible contrast of textures.

Ingredients

15 servings
  • 2 cups all-purpose flour
    gluten-free flour blend1:1gluten_freegluten-free

    use certified gluten-free blend

  • 2 cups granulated sugar
  • 1 cup salted butter, melted
    vegan butter1:1vegandairy_freedairy-free

    choose solid vegan butter for best results

    Full guide →
  • ¼ cup unsweetened cocoa powder
  • 1 cup Coke
  • ½ cup buttermilk
    non-dairy milk + vinegar1/2 cup plant milk + 1/2 tbsp vinegarvegandairy_free

    let sit 5 minutes before using

    Full guide →
  • 2 large eggs, lightly beaten
    flax eggs2 tbsp ground flaxseed + 6 tbsp water eachveganeggs-free

    mix and let sit 15 minutes until gel-like

    Full guide →
  • 1 teaspoon baking soda
  • 1 teaspoon vanilla extract
  • 1 ½ cups mini marshmallows
  • 6 tablespoons butter, softened
    vegan butter1:1vegandairy_freedairy-free

    choose solid vegan butter for best results

    Full guide →
  • 1 cup dark brown sugar, packed
  • cup smooth peanut butter
    sunflower seed butter1:1nut_freepeanuts-freeadds dairy

    for nut-free version

    Full guide →
  • 2 tablespoons milk
    non-dairy milk + vinegar1/2 cup plant milk + 1/2 tbsp vinegarvegandairy_free

    let sit 5 minutes before using

    Full guide →
  • ½ cup peanuts, chopped

Instructions

  1. 1

    Preheat oven to 350 degrees and spray a 9x13-inch baking pan with baking spray

  2. 2

    Whisk together flour and sugar in a large bowl

  3. 3

    Whisk together melted butter, cocoa powder, and Coke in a medium bowl, then pour into flour mixture and stir until well mixed

  4. 4

    Add buttermilk, eggs, baking soda, and vanilla and mix well

  5. 5

    Stir in mini marshmallows and pour into prepared pan

  6. 6

    Bake for 35 to 40 minutes

  7. 7

    Let cake cool for 10 minutes before frosting

  8. 8

    Beat butter, brown sugar, and peanut butter with an electric mixer until blended

  9. 9

    Beat in the milk and then stir in the peanuts

  10. 10

    Spread frosting on cake

  11. 11

    Place cake under the broiler for a minute or two until the frosting just starts to get browned

Tips

Tip 1

Make sure the melted butter isn't too hot when mixing with the Coke to prevent curdling the mixture

Tip 2

Don't overbake - the cake should spring back lightly when touched but still be moist

Tip 3

Watch carefully during broiling as the frosting can go from golden to burnt very quickly

Good to Know

Storage

Cover and store at room temperature for up to 3 days or refrigerate for up to 1 week

Make Ahead

Cake can be baked 1 day ahead and frosted just before serving, or freeze unfrosted cake for up to 3 months

Serve With

Serve at room temperature, cut into squares

Common Mistakes

Watch

Don't add hot melted butter to prevent curdling the batter

Watch

Don't skip cooling time before frosting or the frosting will melt

Watch

Don't walk away during broiling as frosting burns quickly

Substitutions

Dairy-Free Swaps

salted butter
vegan butter1:1vegandairy_freedairy-free

choose solid vegan butter for best results

Full guide →
buttermilk
non-dairy milk + vinegar1/2 cup plant milk + 1/2 tbsp vinegarvegandairy_free

let sit 5 minutes before using

Full guide →

Vegan Options

eggs
flax eggs2 tbsp ground flaxseed + 6 tbsp water eachveganeggs-free

mix and let sit 15 minutes until gel-like

Full guide →

Gluten-Free Swaps

all-purpose flour
gluten-free flour blend1:1gluten_freegluten-free

use certified gluten-free blend

Nut-Free Alternatives

peanut butter
sunflower seed butter1:1nut_freepeanuts-freeadds dairy

for nut-free version

Full guide →
Find more substitutions →

FAQ

Can I use diet Coke instead of regular Coke?

Regular Coke works best as the sugar content contributes to the cake's texture and moisture. Diet versions may result in a drier cake.

What if I don't have a broiler?

You can serve with unbroiled frosting, or bake the frosted cake at 400°F for 3-5 minutes until lightly golden on top.

How long will this cake keep?

Covered at room temperature for 3 days, or refrigerated for up to 1 week. The broiled frosting may soften slightly when stored.