This fun Dirty Coke Fudge has the flavors of a popular fountain drink! It uses cola extract, lime zest, and coconut extract to give it a delicious, slightly tropical taste.

Dirty Coke Fudge | SugarHero.com
Want to save this recipe?
Get this sent right to your inbox, plus great new recipes weekly!

There are two kinds of people in the world: those who know what a Dirty Coke is, and those who think this is the setup to a really tasteless joke.

All of my friends are apparently in the first group people. Starting earlier this year, my Facebook and Instagram feeds started blowing up with references to Dirty Cokes (or, more accurately, Dirty Diet Cokes, because women be dieting, am I right?) and how amazingly life-changing they are.

If you’re not in the know, I’ll spare you some googling and tell you that a Dirty Coke is just a Coke with a shot of coconut syrup and a squeeze of lime juice. Proportions are to taste, and some people like to add a little half and half to make it more of an Italian soda. Apparently people also make Dirty Doctor Peppers and Dirty Pepsis, but my research Facebook friends give these substitutions mixed results.

Dirty Coke Fudge | SugarHero.com

So the first thing you should know about me is that I’m not a soda drinker. I like to steal sips from Jason’s sodas occasionally, but I rarely drink my own, and I can’t remember the last time I craved a soda.

The second thing you should know is that as soon as I started hearing about Dirty Cokes, I couldn’t get them out of my head. I didn’t want to drink one, I wanted to make a dessert using those flavors. Is that weird? It’s weird. I know it is. I can’t explain it, but the urge to make a cola, coconut, and lime-flavored dessert was very strong and very real.

This is my life, people.

Dirty Coke Fudge | SugarHero.com

I was in luck, though, because earlier this year I’d bought some cola flavoring to make these (adorable) cola gummies. Unlike some other flavorings (banana, I’m looking at you) cola flavor really, really tastes like cola. I guess it helps that cola is basically a bunch of artificial chemicals in the first place, so it’s not hard to recreate that flavor with other artificial chemicals.

So I had my cola element. I had some coconut flavoring, and I had a giant bag o’ limes. Time to party!

Dirty Coke Fudge | SugarHero.com

My first idea was to make Dirty Coke marshmallows. The light, fluffy texture of marshmallows seemed like a natural pairing for the effervescent fizz of soda, and I still think this is a pretty genius idea. However, I just couldn’t get excited about eating a whole pan of cola-flavored marshmallows—that seems like a one-and-done sort of dessert. So I deferred to my tastebuds, and my gluttony, and made Dirty Coke Fudge instead!

This recipe is based on my favorite recipe for white chocolate fudge. It’s fast, it’s easy, it always sets up and it has a dreamy soft and smooth texture. Most of the batch is cola-flavored, but it has a lime-coconut swirl running throughout, so you get a little bit of each flavor in every bite. You’ll want to check out my detailed blog post about the difference between regular limes and key limes so that you’ll be fully informed when picking the fruit for this recipe!

Dirty Coke Fudge | SugarHero.com

I’m not going to lie. It’s a little different. Soda-flavored fudge? Who does that?! But I’m into it! It’s all sorts of tart and tangy and fruity and has a sort of refreshing bite, like a newly opened cola. Mostly it’s really fun and different and a definite candy experience! You need to make it for the soda lover in your life. Or at least make them a Dirty Coke—and then tell me if my Facebook friends are crazy, or if they’re onto something.

Recipe Note: During the flavoring process, it’s a good idea to taste the coconut and cola fudges, since different brands of extracts have different strengths. You may find that you want to add a little more than the recommended amount of flavoring if your brand differs.

Close up of a stack of Peanut Butter Cup Fudge.

Peanut Butter Cup Fudge

This Peanut Butter Cup Fudge is so easy…all you do is cook it, stir in some peanut butter, and give yourself giant pats on the back for making such great fudge! Of course you don’t have let everyone else know how easy it was!
View Recipe
Close-up of 3 pieces of Oreo Fudge.

Oreo Fudge

Like Oreos? Like white chocolate? Then you are going to LOVE this Oreo Fudge! The smoothest, creamiest, packed-full-of-cookies-est fudge you'll ever taste. Best of all, you can make it in 5 minutes!
View Recipe
A plate full of slice Dirty Coke Fudge.

Dirty Coke Fudge

5 from 1 vote
This fun Dirty Coke Fudge has the flavors of a popular fountain drink! It uses cola extract, lime zest, and coconut extract to give it a delicious, slightly tropical taste.
Prep15 minutes
Cook10 minutes
Total25 minutes
Yields36

Ingredients

Save this recipe!
Get this sent right to your inbox, plus great new recipes weekly!

Instructions 

  • Prepare a 9×9 pan by lining it with aluminum foil and spraying the foil with nonstick cooking spray. Set a small bowl aside as well.
  • Place the butter, sugar, sour cream, and salt in a heavy-bottomed medium saucepan over medium-high heat. Stir until the sugar dissolves and the butter melts. Continue to cook the fudge, stirring frequently, until it comes to a boil. Once boiling, insert a candy thermometer. Cook the fudge, stirring constantly, until the thermometer reads 235 degrees Fahrenheit (113 C).
  • Once at 235 F, remove the pan from the heat and add the white chocolate chips, the marshmallow cream, and the vanilla extract. Stir vigorously until the chips and cream are melted and incorporated. If necessary, return the fudge to the heat for brief periods to melt the chips.
  • Next, scoop about 1 1/2 cups of fudge into the small bowl. You don’t need to measure, just separate out approximately a quarter of the fudge. This will be the white swirl you see in the final product. Add the lime zest and coconut flavoring to the fudge in the bowl, and mix well.
  • Add the cola flavoring to the remaining fudge in the pot, and stir until it is well-blended. Scrape the cola fudge into the prepared pan. Working quickly, scoop spoonfuls of the white fudge and drop them on top of the cola fudge in a random pattern, spreading them out evenly over the top. Once all of the white fudge is dotted on top, swirl a knife through the top of the fudge, creating a beautiful pattern of white and brown swirls. Gently tap the pan against the counter to smooth out the top of the fudge.
  • Let the fudge set at room temperature for about 4 hours, or in the refrigerator for at least an hour. Once set, cut into small squares to serve. Store Dirty Coke Fudge in an airtight container at room temperature for a week, or in the refrigerator for up to two weeks. For best taste and texture, serve at room temperature.

Measuring Tips

Our recipes are developed using weight measurements, and we highly recommend using a kitchen scale for baking whenever possible. However, if you prefer to use cups, volume measurements are provided as well. PLEASE NOTE: the adage “8 oz = 1 cup” is NOT true when speaking about weight, so don’t be concerned if the measurements don’t fit this formula.

Want to learn more about baking measurements and conversion?

Nutrition

Calories: 143kcal | Carbohydrates: 21g | Protein: 0g | Fat: 6g | Saturated Fat: 4g | Cholesterol: 11mg | Sodium: 99mg | Potassium: 33mg | Fiber: 0g | Sugar: 20g | Vitamin A: 110IU | Vitamin C: 0.1mg | Calcium: 25mg | Iron: 0mg
Tried this recipe?Snap a pic and hashtag it #SugarHero. We love to see your creations on our Instagram @elabau.

This post contains Amazon affiliate links. For more information, see my Affiliate and Advertising Policy.


Meet Elizabeth!

Hi, I’m Elizabeth — a trained pastry chef, cookbook author, video instructor, and your new Baking BFF! I’m going to teach you everything you need to know to be a sugar hero. ❤️

Related Recipes

Leave a comment

Your email address will not be published. Required fields are marked *

Rate This Recipe!




This site uses Akismet to reduce spam. Learn how your comment data is processed.

42 Comments

  1. Oooh I love this. Imagine layering it the cherry fudge and cream fudge. I will be like a coke float in fudge form.

  2. Pinning and loving!!!! I did not know it was possible for fudge to have coke in it! Reminds me of a root beer float treat! Great recipe!

    1. Yes, I love root beer float fudge! Also orange cream fudge–obviously there needs to be a soda-flavored fudge theme week in my future!

  3. Dang girl! You know how to drink your sodas! I don’t really drink soda (I steal sips from my family, too:) but wow, this coconut and lime combo is calling my name. The swirls are so pretty and the name alone makes me want to eat it. You are so creative! Pinned!

    1. I wish I could take credit for the idea–it never would have occurred to me to add crazy things to my soda. (Adding crazy things to my fudge, though? I’m there!)

  4. I never drink coke but this fudge is making me wish I had a huge pan of it in front of me! Love the coconut and lime additions.

  5. Thanks for clarifying because I had no idea what a dirty Coke was! Well, now I know and I want to try it ASAP….with a piece of this fudge on the side! Have a great weekend! 🙂

  6. I’d never heard about dirty coke, but this fudge looks so amazing that I think I’ll give it a try soon 😉 Happy weekend!

  7. Okay, I’m definitely in that first group of people, except I would think it was a setup to a really HILARIOUS joke. #noshame

    I can imagine how this tastes and I really, really like it! Love the bit of lime tang to offset all the sweetness.

    1. Okay, I’m mailing you a pan of fudge if you come up with said hilarious joke. I mean, there are a lot of possibilities, right?!

    1. I think there’s like a secret society of Dirty Coke drinkers in this country! Now you’re in the know… 🙂

  8. Dirty Cokes??? Who knew? I love that I can learn about dirty cokes in one minute and then learn how to turn that into a sweet treat later. I am trying a dirty coke today….and then on to making some fudge. I will educate my friends at work on Monday.

    1. I am here for all of your Coke-drinking, fudge-making needs! Your coworkers are either going to love you or hate you come Monday. 🙂

  9. You just blew my mind twice in a row. I will need to try this dirty coke thing immediately! Strangely I have the coconut syrup and the limes but no coke. What is my life.