Coconut Syrup for Dirty Soda

Learn how to make coconut syrup for dirty soda at home with just three ingredients—sweet, coconutty, and cheaper than any soda shop run.

Okay, real talk: my first dirty soda cost me almost six bucks and tasted kind of like a candle. So I started making my own coconut syrup for dirty soda in my kitchen, and now I dirty up every soda in my fridge for basically pennies.

What Makes This Coconut Syrup So Good

This isn’t some fussy, complicated syrup situation. It’s just a handful of pantry staples simmered together until your whole kitchen smells like a beach vacation.

You get two ways to make it here: a slow-steeped toasted coconut version with real coconut flakes, and a quick five-minute version using coconut extract for when you’re impatient (no judgment, we’ve all been there).

Either way, you end up with a jar of coconut syrup that keeps in the fridge for two weeks and turns any boring can of soda into a proper dirty soda. Once you try it, store-bought syrup is going to feel like a scam.

coconut syrup for dirty soda​

Coconut Syrup for Dirty Soda

This homemade coconut syrup for dirty soda is sweet, tropical, and much cheaper than a soda shop run. Make it two ways: a slow-steeped toasted coconut syrup with real coconut flakes or a quick coconut extract version that comes together in about five minutes.
Prep Time 5 minutes
Cook Time 5 minutes
Steeping Time 15 minutes
Total Time 25 minutes
Course Beverage, Drink, Syrup
Cuisine American
Servings 16 tablespoons
Calories 48 kcal

Ingredients
  

  • 1 cup water
  • 1 cup granulated sugar
  • 1 cup unsweetened coconut flakes toast first for extra flavor
  • 1 cup granulated sugar
  • 1 cup warm water
  • 1 tablespoon coconut extract or start with 1 teaspoon and add more to taste
  • 1 can or bottle soda of choice cola, lemon-lime soda, root beer, or your favorite soda
  • 1 to 2 tablespoons coconut syrup per drink
  • 1 splash fresh lime juice or cream optional, but classic

Instructions
 

  • For deeper flavor, toast the coconut flakes in a dry skillet over medium heat for 2 to 3 minutes, stirring often, until lightly golden and fragrant.
  • Combine the water, granulated sugar, and coconut flakes in a small saucepan.
  • Bring to a simmer over medium-high heat, stirring occasionally so the sugar dissolves and nothing sticks to the bottom.
  • Simmer for about 5 minutes, or until the sugar is fully dissolved.
  • Remove the pan from the heat and let the syrup steep for 10 to 15 minutes to build coconut flavor.
  • Strain through a fine mesh sieve, pressing gently on the coconut flakes to extract as much syrup as possible.
  • Let the syrup cool, then pour into an airtight container and refrigerate.
  • For the quick version, combine the sugar and warm water in a bowl or small saucepan.
  • Stir until the sugar completely dissolves.
  • Add coconut extract, starting with 1 teaspoon, then taste and add more until the coconut flavor is as strong as you like.
  • Pour the syrup into a sealed container and refrigerate.
  • Fill a glass with ice and pour in your favorite soda.
  • Add 1 to 2 tablespoons coconut syrup per drink.
  • Add a splash of fresh lime juice or cream if desired.
  • Stir gently and serve immediately.

Notes

The toasted coconut version may form a hardened coconut fat layer on top after chilling. This is normal; crack the solid layer and scoop out the liquid syrup underneath, or let the jar sit at room temperature for a few minutes. Coconut extract brands vary in strength, so start with less and add more to taste. Store syrup in an airtight container in the refrigerator for up to 2 weeks. Do not store at room temperature.
Keyword coconut extract syrup, coconut simple syrup, coconut syrup for dirty soda, dirty soda recipe, dirty soda syrup, homemade coconut syrup, toasted coconut syrup

Ingredients

Here’s everything you need, broken into the two syrup methods plus what you’ll want on hand for building your actual dirty soda.

Ingredients for coconut syrup for dirty soda​

Toasted Coconut Syrup (The Slow, Flavorful Route)

Ingredient Amount
Water 1 cup
Granulated sugar 1 cup
Unsweetened coconut flakes (toast them for extra flavor) 1 cup

Coconut Extract Syrup (The Five-Minute Route)

Ingredient Amount
Granulated sugar 1 cup
Warm water 1 cup
Coconut extract (start light, brands vary) 1 tablespoon, or start with 1 teaspoon

For Building Your Dirty Soda

Ingredient Amount
Soda of choice (cola, lemon-lime, whatever you love) 1 can or bottle
Coconut syrup 1–2 tablespoons
Fresh lime juice or cream (optional, but classic) a splash

Step-by-Step Instructions

Pick whichever method matches your energy level today. Both give you a jar of coconut syrup that’s ready to make dirty soda magic.

How to Make coconut syrup for dirty soda​

Making the Toasted Coconut Syrup

Combine the water, sugar, and coconut flakes in a small saucepan. If you toasted the coconut first, your kitchen already smells incredible, so, you’re welcome.

Bring everything to a simmer over medium-high heat, stirring occasionally so nothing sticks to the bottom. Let it bubble away for about 5 minutes, or until the sugar has fully dissolved.

Pull the pan off the heat and let it steep for 10 to 15 minutes. This is the part where the syrup actually earns its coconut flavor, so don’t rush it.

Strain out the coconut flakes with a fine mesh sieve, pressing gently to get every last drop of syrup out. Let it cool, then pour it into an airtight container and store it in the fridge for up to two weeks.

Quick note: once chilled, a layer of coconut “butter” may harden on top. That’s totally normal. Just crack the solid layer and scoop out the liquid syrup underneath.

Making the Coconut Extract Syrup

Combine the sugar and warm water in a bowl or small saucepan and stir until the sugar completely dissolves. No boiling required here, which honestly feels like cheating in the best way.

Add the coconut extract, starting with just 1 teaspoon. Taste it, then add more until it tastes like coconut heaven to you.

Pour the finished syrup into a sealed container and stash it in the fridge for up to two weeks. Told you it was fast.

Building Your Dirty Soda

Pour your favorite soda over ice, then add 1 to 2 tablespoons of your homemade coconut syrup. Cola and coconut syrup are a classic pairing, but lemon-lime soda works beautifully too.

For the full traditional dirty soda experience, add a splash of fresh lime juice or a little cream. Give it a gentle stir and enjoy the fizz-coconut combo that started this whole trend in the first place.

coconut syrup for dirty soda​ Recipe

Expert Tips, Variations, and Troubleshooting

Tips for the Best Flavor

Toast your coconut flakes in a dry skillet over medium heat for 2 to 3 minutes before making the syrup. It deepens the flavor and makes the syrup taste noticeably more like real coconut.

Let the syrup steep the full 15 minutes if you can. That extra patience is where all the flavor magic actually happens.

Fun Variations

Swap in coconut sugar for a slightly caramel-y twist on the classic coconut syrup flavor. You can also add a cinnamon stick or a strip of lime zest while it steeps for a little extra depth.

Not into extract? A tiny pinch of salt in either version balances the sweetness and makes the coconut flavor pop even more.

Troubleshooting

Syrup too thin? Simmer it a couple extra minutes next time; it thickens more as it cools anyway, so don’t panic if it looks watery while hot.

Extract version tasting too strong or artificial? Start with less next time and build up slowly. Coconut extract brands vary a lot in intensity.

Syrup hardened solid in the fridge? That’s the toasted version doing its coconut-fat thing. Just crack the top layer and scoop the syrup underneath, or let the jar sit at room temp for a few minutes to soften.

Storage, Reheating, and No-Waste Ideas

Storage Method How Long It Lasts
Airtight container, refrigerated Up to 2 weeks
Room temperature Not recommended; refrigerate right after cooling

No real reheating needed here since you’re using the syrup cold or at room temp in your soda. If it’s hardened in the fridge, just let the jar sit out for 5 to 10 minutes or run warm water over the outside of the container.

Don’t toss the strained coconut flakes. They’re already sweetened and soaked in flavor, so scatter them over yogurt, oatmeal, or even use them in a batch of 4-ingredient yogurt cake for a coconutty twist.

Frequently Asked Questions

How long does coconut syrup for dirty soda last in the fridge?

Stored in an airtight container, homemade coconut syrup keeps well in the refrigerator for up to 2 weeks. Give it a stir or a gentle shake before using if it separates.

Why did my coconut syrup harden in the fridge?

The natural coconut fat rises and solidifies when chilled, forming a hard layer on top. Simply crack through it and scoop out the liquid syrup underneath, which is still perfectly good to use.

Can I use canned coconut milk instead of coconut flakes?

You can, though the flavor and texture will be different since coconut milk brings more richness and less toasted flavor. For the classic dirty soda flavor, coconut flakes or coconut extract are the better choice.

What’s the best soda to mix with coconut syrup?

Cola is the traditional pairing and gives you that classic dirty soda taste, but lemon-lime sodas and root beer both work great too. It really comes down to personal preference, so experiment a little.

Can I make this coconut syrup sugar-free?

You can try substituting a 1:1 sugar replacement, though the texture and thickness may turn out slightly different. Start with a small batch first to make sure you like the results before scaling up.

Conclusion

The dirty soda trend actually got its start in Utah, where coconut syrup was one of the very first flavors that kicked off the whole craze, according to Deseret News’s coverage of the dirty soda phenomenon. So really, you’re just making the original.

Coconut itself brings some genuinely good stuff to the table too, including minerals and healthy fats, as Cleveland Clinic explains in its breakdown of coconut’s health benefits. Not that we need an excuse to make this syrup, but it’s nice to know.

Now go make a batch, pour yourself a dirty soda, and snap a photo for Pinterest. I’d love to see how you dirty up your soda, so drop a comment and let me know which flavor combo you tried.

If you’re in a baking mood after this, my heaven on earth cake and viral box cake recipe are both begging to be paired with a coconut dirty soda on the side. And if you love a good sweet bread, don’t sleep on this Japanese milk bread recipe either.

Photo of author

Linda Sandra

Founder of Tasty at Home. Global recipe explorer, spice hoarder, and your guide to bold flavors without the stress. Let's cook something amazing!

Leave a Comment

Recipe Rating