Learn exactly how to make a Dirty Coke at home with Coca-Cola, coconut syrup, fresh lime, and whipped cream, plus an easy rum variation for a Dirty Rum and Coke.
Discover what makes a drink “dirty,” how this viral soda became so popular, and simple ways to customize it to fit your taste.
Avoid common mistakes that can affect the flavor, texture, and carbonation so every glass turns out perfectly.
Get the printable recipe below.

If you’re a Coke Lover, you’ll love this dirty Coke drink recipe I’m sharing.
I am a true Coca-Cola fan. I wouldn’t say I like it when I go to a restaurant, resort, etc., and they don’t sell Coca-Cola and try to offer me Pepsi. (The horror!)
This recipe is super easy to make, and serving it at your next BBQ, Game Night, or just for a refreshing way to cool you down will hit the spot for you and your guests!
Bottoms up!
What You Will Need
Coke. A chilled bottle or can of Coca-Cola is the foundation of this drink. Its caramel flavor and carbonation pair perfectly with the coconut syrup and fresh lime.
Coconut Syrup. Coconut syrup gives Dirty Coke its signature tropical sweetness. You can use a store-bought syrup or make your own with sugar, water, and coconut extract.
Fresh Lime. Freshly squeezed lime juice brightens the drink and balances the sweetness of the Coke and coconut syrup. Fresh lime is highly recommended over bottled juice for the best flavor.
Homemade Whipped Cream. A generous dollop of homemade whipped cream creates the creamy finish that makes this drink so irresistible. If you’re short on time, store-bought whipped cream will also work.

How To Make A Dirty Coke Drink
1 serving
Ingredients
- ice
- 2 tablespoons of Coconut Syrup (recipe below)
- 12 oz chilled Coca-Cola
- juice of 1/2 a lime
- Top with homemade whipped cream (2-3 tablespoons)
- Garnish with a wedge or two of sliced lime on a cocktail stick

How to make the best Dirty Coke
- Cut the lime into quarter lime wedges.
- Fill the serving glass with ice.
- Add 2 tablespoons of coconut syrup to the serving glass, then squeeze two lime wedges over the ice.
- Rim the glass with one of the lime wedges.
- Toss the squeezed limes into the glass for extra citrus flavor. Add the 12 ounces of chilled Coke and stir.
- Gently stir to combine the coconut syrup, lime juice, and Coke before topping with homemade whipped cream.
- Serve.
Side note: If you want to make this drink even dirtier, add 1-2 ounces of white or spiced rum. Cheers!
Directions on how to make coconut syrup:
Yield: 1 1/2 cups of coconut syrup
If you can’t find store-bought Coconut Syrup, you can make your own using our homemade recipe provided here.
You can also find it at HomeGoods or order online here.
Coconut Syrup: 1 cup sugar + 1 cup water + 2 tsp Coconut Flavor Extract
- Add 1 cup of water and 1 cup of sugar to a pan and bring to a boil, stirring occasionally.
- Allow the water and sugar mixture to boil for 3-5 minutes.
- Remove from heat and stir in the coconut flavor extract until well combined.
Allow the syrup to cool completely before using. Store the leftovers in an airtight container in the refrigerator for up to two weeks.
Ingredients for the Whipped Cream
- 2 1/2 cups heavy whipping cream
- 5 tbsps powdered sugar
Directions for making the homemade whipped cream:
- Chill the mixing bowl and the whisk attachment in the freezer for 15-20 minutes.
- Add the 2 1/2 cups of heavy cream to the stand mixer and mix at medium speed until the cream forms stiff peaks.
- Add the 5 tbsps of powdered sugar, then continue mixing until stiff peaks form.
Store the remaining whipped cream in an airtight container and place it in the fridge for up to 3 days.

Can I use Coke Zero or Diet Coke?
Absolutely! If you need or want to use Coke Zero or Diet Coke, go right ahead.
Just make the drink the same way.
Of course, you will find the flavor slightly different, but overall you will have the refreshing dirty Coke to sip on and enjoy.
Can I use other brands of pop?
I don’t see why you couldn’t use other brands of pop. Coke is the most popular and preferred choice.
Consider the flavor of the pop and how it may pair with the cream and coconut. Feel free to try it out!

Can I make this alcoholic?
You can add 1-2 ounces of rum or even whiskey of your choice.
This will give it a nice punch when you sip, a great nightcap for the evening.
Can I make this drink in advance?
No. You will find it is best to make this glass by glass.
That way, you get your half and half on top of the Coke, so when you sip, it gives you the cream and Coke all in one.
If you do a larger pitcher, you will find that the glass’s ratio won’t be the same.
What Makes a Coke Dirty?
A Dirty Coke gets its signature flavor by adding coconut syrup, fresh lime juice, and whipped cream to classic Coca-Cola.
These simple additions turn an ordinary soda into a creamy, citrusy drink with a hint of tropical coconut.

What Alcohol Goes in Dirty Coke?
A traditional Dirty Coke is non-alcoholic, but it’s easy to make an adult version.
White rum and spiced rum are the most popular choices because they pair well with the coconut and lime flavors.
You can also add whiskey if you prefer a richer, caramel-like flavor.
Use 1 to 2 ounces of your favorite spirit for a boozy Dirty Coke.
Is Dirty Coke Made With Bitters?
No. A classic Dirty Coke does not contain bitters.
The original recipe is made with Coca-Cola, coconut syrup, fresh lime juice, and whipped cream or half-and-half.
Can You Make Dirty Coke Without Alcohol?
Yes, our recipe for Dirty Coke is alcohol-free.
The combination of Coke, coconut syrup, lime juice, and whipped cream creates a drink that’s perfect for family gatherings, parties, movie nights, and anyone looking for a fun soda-based mocktail.
What Is the Difference Between Dirty Coke and Dirty Soda?
Dirty soda is a broad category of drinks made by mixing soda with flavored syrups, cream, fruit juice, or other flavorings.
Dirty Coke is one specific type of dirty soda that uses Coca-Cola as the base.
Other dirty sodas may be made with Dr Pepper, Sprite, root beer, or other soft drinks, each with its own unique combination of syrups and add-ins.
Why did my half-and-half curdle in dirty Coke?
The lime juice being acidic can curdle once combined in the glass.
Take note that this is normal, and it will still taste good.
You can use a stirrer to gently mix it up to help break up the curdle if you like.
Have you tried a Dirty Coke before?
Leave a comment and let me know!

Dirty Coke Drink Recipe
Equipment
Ingredients
- ice
- 2 tablespoons of Coconut Syrup recipe below
- 12 oz chilled Coca-Cola
- juice of 1/2 a lime
- Top with homemade whipped cream 2-3 tablespoons
- Garnish with a wedge or two of sliced lime on a cocktail stick
Instructions
- Cut the lime into quarter lime wedges.
- Fill the serving glass with ice.
- Add 2 tablespoons of coconut syrup to the serving glass, then squeeze two lime wedges over the ice.
- Rim the glass with one of the lime wedges.
- Toss the squeezed limes into the glass for extra citrus flavor. Add the 12 ounces of chilled Coke and stir.
- Gently stir to combine the coconut syrup, lime juice, and Coke before topping with homemade whipped cream.
- Serve.
Notes
- 1 cup sugar
- 1 cup water
- 2 tsp Coconut Flavor Extract
- Add 1 cup of water and 1 cup of sugar to a pan and bring to a boil, stirring occasionally.
- Allow the water and sugar mixture to boil for 3-5 minutes.
- Remove from heat and stir in the coconut flavor extract until well combined.
Created 7/2014 | Updated 5/2022 | 8/2026
Joel says
I love your restaurant comment, if you don’t mind I’m going to borrow it. Usually when they only have the p word we’ll order a root beer. COKE LOVER!!!!
T Worthey says
Ha ha! You sure can! I hate when they ask me if I want Pepsi– I get so offended! LOL
And yes I will do Root Beer as a substitute!!
Diana says
Another good comeback would b, ‘I don’t know, I’ll have to ask’ lol
T Worthey says
Ha ha!! Love it!!
T Worthey says
I may have to try that next time!!
Robert Pyszk says
I will try this ! Thank you for the recipe
T Worthey says
You’re welcome!! Let me know how you like it!
Sadie says
Very interesting!
Made From Pinterest says
This looks so refreshing! I’m going to pin this so I can have it handy for our next party.
Jill says
OOh what an interesting twist on coke! Sounds tasty!
Thanks for linking to a Round Tuit!
Hope you have a fabulous week!
Jill @ Creating my way to Success
http://www.jembellish.blogspot.com/
T Worthey says
Thanks Jill! I love me some coke!
Christy says
Saw this at the Weekend Retreat Link Party. I sometimes pick the dining spot based on whether or not they serve coke! True blue coke fan here. This drink sounds great. Pinning.
Katerina says
My husband and son love coconut! This coke would be awesome for them! Again, thanks for coming and linking up at The Weekend Social. All posts get pinned in our pinterest board! Please be sure to come back next week starting Thursdays at 9PM EST on culinaryflavors.gr ! I hope to see you there!
Nettie Moore says
Thank you for linking up at Simple Supper Tuesday Linky Party! Your Dirty Coke has been featured at Moore or Less Cooking starting Monday at 8pm EST
Nettie
Pat says
This sounds great! Thanks!
Priscilla Sistrunk says
I love the Waikiki drink. My man got it for me when I went to Utah and I loved it
T Worthey says
Awesome! I love it!
PAULA says
I’ve made a dirty coke every day this week with coke zero. It is my special treat at the end of the day. My go to is Berry Good Cola when I go and pick it up at Fiiz.
T Worthey says
Sounds awesome, Paula, and a great way to unwind every day! Thanks for stopping by to share this with us!