Coca Cola Cake
My Coca Cola cake is rich, chocolatey, and topped with a fudgy, cola icing. It’s a Southern dessert that’s great for potlucks, birthdays, or Sunday dinner.
You might also love my cherry cola dump cake, old-fashioned earthquake cake, and Mississippi Mud Cake.

This chocolate cake is pure Southern comfort. It’s soft, moist, and has the BEST chocolate icing that soaks into the top and gives every bite a gooey, melt-in-your-mouth texture. If you’ve ever had the famous Cracker Barrel Coca Cola cake, this homemade version gives you that same nostalgic flavor right from your own kitchen.
I use basic cake making ingredients, like flour, butter, sugar, eggs, and buttermilk to name a few. There’s also cocoa powder and Coca Cola for its signature flavor. The icing only has four ingredients, cola, powdered sugar, cocoa powder, and butter. It might just be my favorite part of the cake.
This cake bakes up in a 9×13-inch pan, and takes less than an hour and a half to make. Serve it warm with a scoop of vanilla ice cream for the ultimate dessert.
Tips for the Best Coca Cola Cake
For the best flavor, use real Coca Cola, not diet or zero sugar. In my opinion, the no sugar versions don’t taste right in this right. There’s a bit of an “off” flavor. Dr. Pepper would be my second choice if Coca Cola wasn’t available.
I always make the icing right after the cake comes out of the oven. It only takes a few minutes to pull together. You’ll want to pour the icing over the cake while it’s still warm so it soaks into the cake a little bit.
My favorite way to serve this cake is room temp or just slightly warmed. The icing gets gooey again and the cake is super soft.

Common Questions
Does this cake actually taste like Coca Cola?
I don’t think it has a strong cola taste. In my opinion, adding flavor isn’t the main purpose of using Coca Cola. The soda adds moisture, sweetness, and acidity. The baking soda interacts with the cola and buttermilk so you get a light, fluffy cake. It also enhances the chocolate flavor.
What can I use in place of buttermilk?
I highly recommend that you don’t swap out the buttermilk. It gives the cake moisture, and helps activate the baking soda which causes the cake to rise.
If you absolutely must use something other than buttermilk, go with sour milk. Add 1 teaspoon of white vinegar to a measuring cup, then pour in the whole milk until it reaches the 1/2 cup mark. Stir to combine the ingredients, and let it sit for 10 minutes to thicken. Be mindful that sour milk isn’t quite as thick as buttermilk, so you may end up with a slightly wetter batter. It definitely won’t have as much fat to keep the cake moist.
Is this Cracker Barrel’s recipe?
No, it’s not. John and I both worked for Cracker Barrel years ago. Their Coca Cola was usually on the menu leading up to Thanksgiving all the way through Christmas. Despite working there, we didn’t know the recipe and couldn’t get it since it’s proprietary.
Isn’t this basically Texas Sheet Cake?
Nope! Texas sheet cake and Coca Cola cake are very similar, but they aren’t the same. Texas sheet cake gets baked on a thinner pan, uses water for the liquid, and sometimes has pecans. Coca Cola cake bakes in a 9×13-inch pan, uses cola for the liquid, and normally doesn’t have nuts. Some recipes do use marshmallows, though.
How to Store Leftovers
Store leftover Coca Cola cake covered at room temperature for up to 3 days.
For longer storage, keep it in the fridge for up to 5 days and let it come to room temperature before serving.
You can also freeze slices for up to 2 months. Wrap well in plastic wrap and foil before freezing.
More Cake Recipes

Ingredients
For the Cake:
- 2 cups all-purpose flour
- 2 cups granulated sugar
- ½ teaspoon salt
- 2 large eggs
- ½ cup buttermilk
- 1 teaspoon vanilla extract
- 1 cup Coca Cola
- ½ cup unsalted butter
- ½ cup canola oil, or vegetable oil
- ⅓ cup cocoa powder
- 1 teaspoon baking soda
For the Icing:
- ½ cup unsalted butter
- ⅓ cup Coca Cola
- 3 tablespoons cocoa powder
- 16 ounces powdered sugar
💌 Don’t forget to save this recipe!
Instructions
To Make the Cake:
- Preheat the oven to 350°F, and grease a 9×13-inch cake pan. Set aside.
- In a large, heat-safe mixing bowl, combine the flour, sugar, and salt.2 cups all-purpose flour2 cups granulated sugar½ teaspoon salt
- In a separate medium bowl, whisk together the eggs, buttermilk, baking soda, and vanilla until well combined.2 large eggs½ cup buttermilk1 teaspoon vanilla extract
- Place the cola, butter, oil, and cocoa powder in a large saucepan, and bring to a boil.1 cup Coca Cola½ cup unsalted butter½ cup canola oil⅓ cup cocoa powder
- Pour the cola mixture over into the flour mixture, and use a hand mixer to beat the ingredients until combined. Usually about 1 minute.
- Add the buttermilk/egg mixture and baking soda and continue mixing just until combined.1 teaspoon baking soda
- Transfer the batter to the prepared pan, and bake for 30 to 40 minutes. A toothpick inserted in the center should come out clean.
- Allow the cake to cool for 5 to 10 minutes before icing. It needs to be very warm to help the icing spread.
To Make the Icing:
- In a large saucepan, whisk together the butter, cola, and cocoa powder until the butter melts.½ cup unsalted butter⅓ cup Coca Cola3 tablespoons cocoa powder
- Remove from heat, and whisk in the powdered sugar. Pour the icing over the hot cake and spread into an even layer. Slice and enjoy!16 ounces powdered sugar
Notes
- The calories listed are an approximation based on the ingredients in the recipe card and a serving size of 1 slice of cake. Actual calories will vary.
- Store leftover Coca Cola cake covered at room temperature for up to 3 days or in the fridge for up to 5 days.


I’ve made this recipe several times and it’s amazing every single time!
Thanks so much! We’re so happy you like it. Have a fantastic evening! 🙂
This recipe was amazing because it’s a denser cake 🎂 which I love and yes you can slightly taste the coca cola yummy!
Thank you for commenting and rating the recipe. We appreciate it Cookie! Have a lovely day 🙂
Can it just say 4 cups of powdered sugar instead of 16 oz?? Everything else is in cups.
Hi Maralee! I used a box of powdered sugar which is 16-ounces by weight according to the box and my kitchen scale. Using cups is by volume which is not always an exact conversion even in this instance. A 16-ounce (1-pound) bag/box of powdered sugar is about 3 ½ to 4 ½ cups, depending on how it’s measured:
Sifted powdered sugar → About 4 ½ cups
Unsifted powdered sugar → About 3 ½ to 4 cups
I’m working through all of our recipes to show to metric and imperial measurements. It just takes time. Feel free to use 4 cups of powdered sugar if that’s what you prefer. Hope that helps. Have a great day! 😊
I am making this for my granddaughter’s birthday today. I just had to tell you I LOVE the way you created your recipe. Listing the required ingredients below each step of the recipe is brilliant! Thank you so much!
Thank you for the compliments and the feedback Lynn! We appreciate it. Have a lovely day 🙂
I agree 100%!! wish every recipe did this! 😀 Mine is baking as I type 😉
could I use coke zero?
Good Morning Rara,
Sure, go for it. We’ve never tried it, but that doesn’t mean it might not work. Kim and I would love to know how it turns out.