Dirty Coke Fudge

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.

Dirty Coke Fudge | SugarHero.com

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.

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.

Click Here to Print or Email this Recipe!

Dirty Coke Fudge
yield: one 9×9-inch pan

4 oz (1/2 cup) butter
2 cups granulated sugar
3/4 cup full-fat sour cream
1 tsp salt
12 oz white chocolate chips or chopped white chocolate
7 oz marshmallow cream
1 tsp vanilla extract
3/4 tsp cola flavoring
1/2 tsp coconut flavoring
2 tsp fresh lime zest
Candy thermometer

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.


If you don’t want to miss a SugarHero recipe, you can subscribe to get new posts by email, subscribe to the SugarHero RSS feed, become a fan on Facebook, or follow on Twitter. Ooh, and let’s not forget Pinterest. (I love Pinterest.) Thank you!

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

43 Responses to Dirty Coke Fudge
  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!

    • Elizabeth says:

      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!

    • Elizabeth says:

      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. Liz says:

    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. Danguole says:

    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.

    • Elizabeth says:

      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?!

  8. Jill says:

    I hadn’t heard of a Dirty Coke, but now I am craving one! The fudge is really gorgeous too.

  9. Heidi says:

    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.

    • Elizabeth says:

      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. :)

  10. Andie says:

    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.

  11. Johlene says:

    You have the most amazing ideas.. Dirty Coke fudge.. I mean really.. they look really delicious too..

    By the way I´m the kind that had know idea that Dirty Coke even existed.. thanks for telling
    me :-)

    Have a relaxed Sunday..

    • Elizabeth says:

      Thanks Johlene! I think my friends get most of the credit (or blame?) for this one. It’s fun to steal ideas from random places sometimes! Hope you had a great weekend!

  12. Im loving the look and sound of this w/ the coke! AWESOME-NESS! :)

    • Elizabeth says:

      Haha thanks Tamara! Cola flavor was totally a revelation to me! It turns out you can make ANYTHING taste like Coke–so crazy!

  13. I am in the group that didn’t know what a dirty coke was…but I am totally feeling the need to fix that asap!!! Fudge is one thing I completely adore and this sounds so downright delicious! And I love your about you at the top…we are going to get along so well :-) Thank goodness I found you in google + today!!!

    • Elizabeth says:

      Jocelyn, I have pinned about a million of your recipes, so we are obviously meant to be BFF! So glad you found me, now let’s bond over Dirty Cokes and queso! :)

  14. I had no idea what a Dirty Coke was! It sound like a great flavor combo, though I haven’t had soda pop in about 10 years. I love fudge, and could probably eat a whole pan of this!

  15. Amanda W says:

    I can’t wait to make this!!

    FYI: Banana flavoring is based on the Gros Michel banana, which was all but wiped out in the early 20th century. Whereas the bananas that we purchase from the store nowadays is the Cavendish banana, which is why the flavorings don’t taste anything like the real deal.

    The more you know ;)

    • Elizabeth says:

      Whaaaat?! There really was a food that had that crazy banana flavor? Now I’m mad I’ve never tasted the Gros Michel banana. I always just assumed someone was really terrible at their job and invented a totally fake banana flavor (kind of like how grape and cherry flavors don’t really resemble those fruits very much.) That is fascinating, thanks for dropping that knowledge, Amanda! I’m going to call you for all my future banana questions. :)

  16. We are soda soul mates! I never drink it because I prefer to get my sugar from more important places (i.e. cupcakes, candy), but I will always steal sips from my fiancé’s. I could totally get on board with cola flavored fudge, though. Especially if there’s coconut and lime in it.

    • Elizabeth says:

      That is EXACTLY how I feel about soda! Why would I drink my calories if I can have them in delicious cookie form? Somehow this logic doesn’t hold true for soda-flavored fudge, though, and I have no problem spending some calories there…

  17. Thanks for enlightening me to the ways of Dirty Cokes! I want one…NOW! Any idea where it originated?

    I have to admit, even though I know what it is….it still sounds like a dirty joke.

    Beautiful fudge! So creative.

    • Elizabeth says:

      I think it came from a fast food restaurant in St. George, UT. The name is escaping me but I have heard that there are imitators springing up with similar-sounding names, and all sorts of variations (“Muddy Coke,” etc.) Figures!

      And I really, really want someone to think of a joke that works. Apparently I’m much better at thinking things *would* make a good joke than actually thinking of the jokes themselves.

  18. This looks awesome! I will definitely be making.

  19. So awesome! My grandma makes award-winning fudge so I’ve never wanted to venture out and try any other recipes until now!

    Do you think you could do this as a rootbeer float fudge? With rootbeer extract instead of the coke and vanilla instead of the coconut?

    (I’m mostly asking because that’s what I have at home!)

  20. Elizabeth says:

    Thanks Molly! This could TOTALLY be root beer float fudge! I’ve done something similar (I think using a slightly different base recipe) and it works great! Your root beer extract might be stronger or weaker than my cola one, so I’d recommend adding a little less than the recipe calls for and then adding more to taste if necessary.

    Thanks for stopping by–and let me know what you think if you give it a try!

  21. Becky says:

    Thanks for the explanation on what dirty coke is! My son and I just finished making this fudge and are waiting for it to set up so we can try it. In looking back at the recipe vanilla extract is listed but in the directions it doesn’t say when and where to use it. Would you please clarify that for us?


    • Elizabeth says:

      Hi Becky–so sorry about that! It gets added with the marshmallow cream, although if you put it in at a different place that’s totally fine too. It’s such a mellow flavor that you can’t really go wrong whenever you add it. :)

  22. Emily says:

    Is there any way to make this Cherry Coke fudge? I ask because I’d like to make it for someone who is allergic to coconut. So maybe use cherry flavoring and leave out the lime zest? What do you think?

    • Elizabeth says:

      Hi Emily! I think that would totally work. A lot of cherry flavoring taste pretty strong (to me) so maybe start with less than the recommended amount and taste it before adding the full amount. You could also add chopped maraschino cherries if you want, if you think your friend would like them. If you want to add the cherries, pat them dry really well, chop them, then pat them dry again before you add them so they don’t add too much moisture to the fudge. Sounds delicious!

  23. […] favourite sweet treat) all rolled into one dreamy decadent delight!! To get this recipe check out sugarhero.com.  Please note: Substitute the marshmallow cream for Marshmallow Fluff, available at Woolworths […]

Leave a Reply

Wanting to leave an <em>phasis on your comment?

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Oh Hello There
Don't Be A Stranger
Take Me Home Tonight
Hey sugar heroes!
My candy cookbook is available now from:

Barnes & Noble
Easter Desserts