Classic Coca Cola Cake with Marshmallows
This rich Classic Coca-Cola Cake with Marshmallows is super moist, scrumptious, and beloved by my chocoholic family!
A Coke Cake gets its name from the addition of cola into the batter. Besides a little extra oomph from the carbonation, there is a subtle, hard-to-identify flavor from the cola. This Coca-Cola Cake Recipe will become a family favorite!

Why You Must Make
- This Coca-Cola chocolate cake is a Southern classic!
- Apparently, the Cracker Barrel’s version of cola cake is a hot item, and now you can make it at home.
- Due to the addition of buttermilk to the batter, the cake is super moist and tender. If you love chocolate cake, this is a must-try recipe!
We had Coke in the fridge (the high-octane regular version, not diet) and mini marshmallows on hand. I had no excuse not to try this Coke Cake Recipe. Note the color differentiation in that forkful—the top is where those marshmallows melted into the batter. It’s one exceptionally moist, irresistible cake!
Ingredient Notes
- Kitchen Staples – Sugar, Flour, Salt, Baking Soda
- Mini Marshmallows (affiliate link)
- Butter – At room temperature for easy incorporation.
- Vegetable Oil (affiliate link) – Use a neutral-flavored oil such as canola.
- Cocoa Powder (affiliate link) – I used the Ghirardelli brand; Hershey’s works well, too.
- Coca-Cola – PRO-Tip: Use regular Coca-Cola, not Diet Coke. You need the sugar in the cola for this recipe to taste sweet enough.
- Eggs – At room temperature for easy incorporation. All my recipes use large eggs unless otherwise noted.
- Buttermilk – PRO-Tip: If you don’t have any on hand, you can easily make your own. Add 1 tablespoon of lemon juice or light-colored vinegar to a 1-cup liquid measuring cup. Fill to the 1 cup mark with 2% or whole milk. Mix and let curdle for a couple of minutes before measuring what you need and using. The mildly acidic nature of buttermilk helps ensure a tender cake as long as it isn’t overbaked.
- Vanilla Extract (affiliate link) – Real vanilla extract, never artificially flavored.
- Powdered Sugar – Sift for the smoothest frosting.

How to Make
I had a feeling that my chocoholic family would give it their approval, but this one exceeded my expectations. The procedure for mixing this cake batter is a little odd, but it works! Here’s how it goes:
- Preheat the oven to 350ºF and prep the pan.
- Sift the sugar and flour together in a large bowl, then mix in the marshmallows.
- In a saucepan, bring the butter, oil, cocoa, and cola to a boil and pour over the flour mixture.
- Dissolve the baking soda and salt in the buttermilk, then add to the rest of the batter. Mix in the eggs and vanilla.
- Bake as directed.
- While the cake is baking, make the frosting. It will be poured over the hot cake.
- Place the sifted powdered sugar in a heat-proof bowl and set aside.
- Combine the butter, cocoa, and cola in a saucepan. When it comes to a boil, pour it over the powdered sugar and whisk it until smooth. Mix in the vanilla.
- Pour the warm frosting over the cake and let it cool before serving.
Tips for Making Your Cake
- PRO-Tip: Line your baking pan with non-stick foil for easy cleanup.
- Note that the addition of marshmallows may make the surface of the cake slightly bumpy. Don’t worry, no one will complain after their first bite.
- Sift your powdered sugar for the smoothest results.
- PRO-Tip: Pour your frosting on the cake when it is hot from the oven. This helps some of the frosting absorb into the top layer of the cake, adding extra moisture.
- If you’re out of buttermilk, you can easily make a substitution from commonly found items in your kitchen. See the frequently asked questions above.
- PRO-Tip: I didn’t add pecans to the frosting since my family doesn’t like nuts. But if you are a fan of nuts in your desserts, add 1 cup of chopped pecans to the frosting before it sets. Toasting them first brings out their essential oils and improves their flavor.

Frequently Asked Questions
A Coca-Cola cake is a cake, usually chocolate, that uses Coke as an ingredient in both the cake and frosting. The original recipe was developed by the Coca-Cola Bottling Company.
It provides a portion of the liquids needed, along with sugar and carbonation. It also adds another subtle caramel flavor element. Plus, the carbonation helps to enhance the baking soda.
Yes, it freezes well. Chill or freeze briefly so the frosting firms up. Then place the slices in an airtight container. Avoid pressing plastic wrap against the frosting as it will stick when the cake is defrosted.
Freeze for up to 3 months. Defrost overnight in the refrigerator before serving. It also keeps well at room temperature or in the refrigerator for 3-4 days.
You May Also Like:
My family went nuts for this easy Coca-Cola cake, as did my girlfriends who were over for lunch the next day. Not heavy on chocolate, even the picky daughter ate her fair share. It’s super tender, moist, and delicious!! Your family will adore this classic Coke Cake recipe as much as mine did.
- Coca-Cola BBQ Sauce from Add a Pinch
- Braised Cola Brisket
- Fudgy Brownies from Scratch
- Fudge-Topped Marshmallow Ice Cream
- Chocolate Mousse Bars
- Plus, check out more of my Easy Cake Recipes.
Coca Cola Cake Recipe
A tender, moist chocolate cake with cola as the secret ingredient
Ingredients
Cake:
- 2 cups sugar
- 2 cups flour
- 1 ½ cups miniature marshmallows
- ½ cup butter, at room temperature
- ½ cup vegetable oil like canola
- 3 tablespoons cocoa
- 1 cup Coca-Cola or another cola-flavored soda
- 1 teaspoon baking soda
- ½-¾ teaspoon table salt
- ½ cup buttermilk
- 2 large eggs
- 1 teaspoon vanilla
Frosting:
- ½ cup butter
- 3 tablespoons cocoa
- 6 tablespoons Coca-Cola
- 3½ cups powdered sugar (1 box), sifted
- 1 teaspoon vanilla
Instructions
- Preheat the oven to 350º. Line a 9 x 13 pan with non-stick foil or spray with Baker's Joy or butter and flour the pan. Set aside.
- Sift the sugar and flour together in a large bowl, then mix in the marshmallows.
- In a saucepan, mix the butter, oil, cocoa, and cola. Bring to a bowl and pour over the flour mixture. Mix until combined.
- Dissolve the baking soda and salt in the buttermilk, then add to the rest of the batter. Mix in the eggs and vanilla.
- Pour batter into the prepared pan and bake for 35-45 minutes or until a toothpick inserted in the middle comes out clean.
- While the cake is baking, make the frosting.
- Place the sifted powdered sugar in a heat-proof bowl and set aside.
- Combine the butter, cocoa, and cola in a saucepan. When it comes to a boil, pour it over the powdered sugar and whisk it until smooth. Mix in the vanilla.
- Pour Coca-Cola Frosting over the hot cake after it comes out of the oven. Let cool to room temperature before serving.
Notes
You can make your own buttermilk substitute by putting a tablespoon of lemon juice or white vinegar in a 1 cup liquid measuring cup. Fill to the one cup mark with milk. Whisk to combine and let rest for about 10 minutes before using.
You may also add 1 cup of chopped, toasted pecans to the frosting if desired.
Recommended Products
As an Amazon Associate and member of other affiliate programs, I earn from qualifying purchases.
Nutrition Information:
Yield:
12Serving Size:
1 sliceAmount Per Serving: Calories: 557Total Fat: 24gSaturated Fat: 15gTrans Fat: 1gUnsaturated Fat: 7gCholesterol: 92mgSodium: 326mgCarbohydrates: 82gFiber: 1gSugar: 63gProtein: 4g

41 Comments on “Classic Coca Cola Cake with Marshmallows”
Coco cola in both the frosting and the cake? Oh…this has got to be good! What a lovely cake and one that this coke lover would love!
Looks lovely and moist! Hard to resist!
Can you substitute Diet Coke for regular Coke?
Hi, Shelley, The only thing I’d be wondering is if the cake will be sweet enough without the sugar from the Coke. If the sweetener used in Diet Coke is something you have seen in recipes, it should be OK!
That looks fantastic Liz, so moist. Looks like you had great restraint. I think I might have had a hard time taking pictures without helping myself.
The cake looks surprisingly moist and tempting that I even want to give it a try!
I have seen this recipe but honestly didn’t pay much attention, but you have convinced me to try it Liz. We love a moist chocolate cake and that fantastic poured on frosting.
If we had a taste of this, we know this will be a hit flavour for us, too! Coke-tasting cake sounds fab, Liz!
Julie & Alesah
Gourmet Getaways xx
I have never heard of this cake…now that I have, I am curious…it sure looks great Liz!
Have a great week 🙂
Lizzy ! Always I heard about a coca cola cake and always all the people say is amazing!
Looking yours Im sure!!!! Look delicious Lizzy!!
I absolutely adore coke cake! One of the things that I love about this cake is that it keeps getting better and better because it caramelizes over a day or two and is actually better two days after (if it lasts that long)!
You amaze me every time Liz ! I never understood from a Coke cake ! This one looks terrific and it’s a nice deal for the coca cola addicts !
I’ve always wanted to give the coca cola chocolate recipe a try but have been skeptical about it. Good to know it’s worth trying, I’ll have to give it a go!
How funny I posted coke cupcakes today!
Liz, I have always wanted to try a coca cola cake!!!! I need to make this! I’m so curious about the taste and this cake looks delicious!!!!
That looks like a super sweet cake with the coke and all the sugar. I’ve never been a pop drinker so we only ever have ginger ale in the house for upset tummies. I’ve seen coca cola used in quite a few recipes but never in cake! Good for you for trying it and making it so lovely!
I’ve tried a coca-cola cake before – 4 years ago- but my version was without the marshmallows. It was really good very moist and delish. Thanks for reminding me :)… your cake looks so perfect.
Now you have got me wanting to go get a bottle of coke to try this out. It looks really moist and divine! 🙂
Wow, it looks similar to a Texas Sheet Cake, bet it’s great! I need to make more cakes:@)
I only tried Coca cola cupcakes 🙂 cake looks as good 🙂
i’ve heard about coca cola cake but never tried it – the texture looks sublime!
What a lovely idea! I’ve never been using coke as a cake ingredient! Must give it a try!