• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
At Elizabeth's Table
  • Recipes
  • Blog
  • About
  • Subscribe
menu icon
go to homepage
  • Recipes
  • Blog
  • About
  • Subscribe
  • Connect on social

    • Instagram
    • Pinterest
    • TikTok
    • YouTube
  • subscribe
    search icon
    Homepage link
    • Recipes
    • Blog
    • About
    • Subscribe
  • Connect on social

    • Instagram
    • Pinterest
    • TikTok
    • YouTube
  • ×
    Home » Recipes » Uncategorized

    Homemade Cola (Pepsi and Coke Variations)

    Published: Aug 24, 2026 by Elizabeth · This post contains affiliate links.

    Jump to Recipe Print Recipe

    Make your own soda at home! This Homemade Cola is a fun, from-scratch version of the classic Coke or Pepsi recipes, made with citrus and spices! A delicious caramely sweet beverage.

    A glass of homemade cola garnished with a lime wedge and red striped straw

    After my Dr. Pepper recipe went wild on social media, I knew I needed to make a homemade cola to go along with!

    Of course, I then ran into the age-old debate of Coke vs. Pepsi. I know there are die hard fans from both camps, so I created two variations of the same recipe.

    Coke tends to be more caramelly with a bite of acid, while Pepsi is described as more citrusy and light. Both are still cola, so the majority of the recipe is the exact same!

    Whichever brand you love, there's an option here for you!

    Jump to:
    • Why does this recipe work?
    • Why You'll Love This Homemade Cola
    • Ingredient Notes & Substitutions
    • Step-By-Step Instructions
    • Ways To Use Cola Syrup
    • Elizabeth's Kitchen Notes
    • FAQ & Expert Tips
    • Recipe Prayer
    • Related Recipes
    • Tried this recipe?
    • 📖 Recipe
    • 💬 Comments

    If you're excited about homemade sodas, check out some of my other faves

    • A soda glass of homemade Dr. Pepper with a cherry garnish and red & white striped straw.
      Homemade Dr. Pepper
    • A soda glass of orange cream soda, garnished with an orange wedge and orange striped straw.
      Orange Cream Soda
    • Several glasses of cherry limeade soda, garnished with a fresh cherry, lime wedge, and green and white striped straw.
      Homemade Cherry Limeade (Cherry Lime Soda)
    • Two glasses of lemon cream soda, garnished with a lemon wedge and yellow striped straw.
      Homemade Lemon Cream Soda

    Why does this recipe work?

    Today's colas are known for caramelly flavor with citrus and vanilla notes. While the exact commercial recipes for brands like Coke and Pepsi are proprietary, we can take those flavor notes and use real foods to build a homemade version.

    This at-home version recreates those classic cola notes using whole-food ingredients and pantry spices.

    A bottle of homemade cola syrup

    Why You'll Love This Homemade Cola

    • Dietary needs - this recipe is vegan and has a refined sugar free swap. No processed ingredients anywhere!
    • Made From Real Ingredients - No artificial flavors. Every flavor comes from actual fruits and spices!
    • Complex Flavor - colas have layers of flavor, so there are quite a few elements in this homemade drink to mimic that classic taste
    • Customizable - make a version Coke or Pepsi based on your preference
    A glass of homemade cola garnished with a lime wedge and red striped straw

    Ingredient Notes & Substitutions

    • Sugar + Water: this first sugar & water combo is for the caramel. If making refined sugar free I recommend skipping the caramel and using one full cup of your sweetener of choice
    • Brown Sugar: the rest of the sugar is brown sugar for a richer flavor. If you're using a refined sugar free substitute, like agave or coconut sugar or maple syrup, feel free to sub 1:1 for the amount of sugar listed below. I recommend adding 2-3 teaspoons of extra molasses (depending on if you choose Coke or Pepsi) to make up for that missing flavor
    • Water
    • Molasses: the key ingredient in brown sugar, adding a bit more molasses beyond what is in the brown sugar helps create a richer flavor
    • Spices: cinnamon and star anise. For the best result use whole spices. If you use the ground version of either of these, you'll end up with small spice particles in the final drink - it doesn't affect the flavor as much as it does the texture
    • Citrus: cola is a combo of multiple flavors, so we're using lemon, lime, and orange to achieve a nice balance. The zest is what's really giving us the flavor, so grab a microplane and get zesting!
    • Salt: just a pinch to enhance the flavor
    • Vanilla: vanilla adds a creamy flavor - feel free to use vanilla extract or vanilla bean paste
    • Apple Cider Vinegar: cola tends to have a bit of a bite at the end, especially Coke, so a bit of vinegar helps to create that flavor. Don't worry - the drink does not at all taste like vinegar
    Homemade Cola Syrup ingredients

    Step-By-Step Instructions

    Step 1. Caramelize the white sugar. Heat a small steel-bottomed saucepan over medium heat. Add the white cane sugar and 2 tablespoons water, stirring occasionally until the sugar is dissolved. Once the sugar is dissolved do not stir. Do not touch the heat, but allow the mixture to bubble for about 25-30 minutes for the Coke version and 10-15 minutes for the Pepsi version, until you achieve a nice golden brown color. Gently swirl the pan if the mixture looks unevenly colored. If you have a kitchen thermometer, look for a temperature between 330℉ and 340℉.

    Homemade Cola Step 1 - make the caramel

    Step 2. As soon as the caramelized sugar is ready, add the brown sugar, remaining ¾ cup of water, molasses, cinnamon stick, star anise, zests and juices of the orange, lemon, and lime, and the salt. Stir until the sugar is dissolved, then allow to gently simmer for 10 minutes.

    Homemade Cola Step 2 - add the brown sugar, water, spice, citrus and simmer

    Step 3. Remove from the heat and stir in the vanilla and apple cider vinegar. Let cool 30 minutes.

    Homemade Cola Step 3 - stir in the vanilla and vinegar

    Step 4. Strain through a fine mesh strainer. Then bottle and store for up to two months.

    Homemade Cola Step 4 - strain

    Step 5. For soda, pour 1-2 ounces of syrup over ice and top with sparkling water. Garnish with a lime wedge and a fun straw!

    Homemade Cola Step 5 - serve the syrup over ice topped with sparkling water

    Pro Tip: Keep a close eye on the caramel once it starts changing color. If you aren't ready with the next ingredients, remove from the heat to avoid burning.

    Ways To Use Cola Syrup

    • Mixed with sparkling water for soda (this recipe!)
    • Added to mocktails
    • Mixed into iced tea
    • Stirred into cherry cola-style drinks
    • Used in holiday punches
    • Added to bourbon-inspired mocktails
    • Drizzled into barbecue sauces
    • Ice cream floats
    A bottle of homemade cola syrup

    Elizabeth's Kitchen Notes

    • Making a caramel: in this recipe I call for a wet caramel as the base of the drink. I found this step to be essential in mimicing the deep caramelly flavor of cola brands like Coke and Pepsi. You can make this drink without making a caramel and it will still taste like cola, but it will not give you the same deep flavor as Coke or Pepsi
    • Caramel crystallization: when making caramel you have to make sure every last sugar granule is dissolved into the water or the mixture will start to crystalize. In a regular caramel recipe this would be an issue and you'd need to start over. But because we are adding more water and other ingredients directly to the pot after the caramel, you can absolutely keep going if your caramel crystalizes - as long as it's still semi-liquid and not totally solid, you are good to keep going
    • Stick to the ingredient list: there are a lot of ingredients, yes, but they create layers of flavor that make the end result.
    • Steeping Time: the longer you let the syrup steep, the more intense the flavor will be. I've found 30 minutes to be the sweet spot. If you let the syrup sit too long, the cinnamon and star anise will dominate the drink
    • Coke vs Pepsi: below I've included recipes for both Coke syrup and Pepsi syrup. The coke syrup has a larger proportion of the sugar used in the caramel, as well as more acid at the end. While the Pepsi has just a bit of caramel flavor and less acid, allowing the citrus flavors to shine. Pick your favorite or experiment with what tastes best for you!
    A glass of homemade cola garnished with a lime wedge and red striped straw

    FAQ & Expert Tips

    Does homemade Cola taste exactly like the real thing?

    Pretty much! It captures the caramelly, spicy, and citrusy flavors of the classic.

    Can I make the syrup ahead of time?

    Yes! The syrup will last several weeks in the fridge.

    A glass of homemade cola garnished with a lime wedge and red striped straw

    Recipe Prayer

    Thank you God for this homemade version of soda, with less processed ingredients. Thank you for the gift of sweet drinks. Amen.

    Related Recipes

    • A soda glass of homemade Dr. Pepper with a cherry garnish and red & white striped straw.
      Homemade Dr. Pepper
    • Two vegan root beer floats, topped with fresh cherries.
      Vegan Root Beer Floats
    • A soda glass of strawberry cream soda garnished with a strawberry and a red striped straw.
      Strawberry Cream Soda
    • A soda glass of orange cream soda, garnished with an orange wedge and orange striped straw.
      Orange Cream Soda

    Tried this recipe?

    Please leave a review in the comments section below and post on Instagram tagging me @elizabeths_table. You can also stay in touch with me on social media by following me on Instagram, Pinterest, and TikTok or by subscribing to my newsletter.

    📖 Recipe

    A glass of homemade cola garnished with a lime wedge and red striped straw

    Homemade Cola (Coke Copycat!)

    Make your own soda at home! This Homemade Cola is a fun, from-scratch version of the classic Coke or Pepsi recipes, made with citrus and spices! A delicious caramely sweet beverage.
    Print Pin Rate
    Course: Drinks
    Cuisine: American
    Prep Time: 5 minutes minutes
    Cook Time: 25 minutes minutes
    Total Time: 30 minutes minutes
    Servings: 12 1-ounce servings
    Calories: 78kcal
    Author: Elizabeth

    Equipment

    • Fine Mesh Strainer
    • Kitchen Thermometer

    Ingredients

    Coke Syrup

    • ½ Cup White Cane Sugar
    • ¼ Tablespoons Water
    • ½ Cup Organic Light Brown Sugar can sub agave or sweetener of choice - if you do this, add an additional ½ tablespoon of molasses
    • ¾ Cup Water
    • 1 Tablespoon Molasses
    • 1 Cinnamon Stick
    • 1 Star Anise
    • Zest and juice of ½ orange
    • Zest and juice of ½ lemon
    • Zest and juice of ½ lime
    • Pinch Salt
    • 1 Teaspoon Vanilla
    • 1-2 Teaspoons Apple Cider Vinegar

    Pepsi Syrup

    • ¼ Cup White Cane Sugar
    • 2 Tablespoons Water
    • ¾ Cup Organic Light Brown Sugar can sub agave or sweetener of choice - if you do this, add an additional 2 teaspoons of molasses
    • ¾ Cup Water
    • 1 Tablespoon Molasses
    • 1 Cinnamon Stick
    • 1 Star Anise
    • Zest and juice of ½ orange
    • Zest and juice of ½ lemon
    • Zest and juice of ½ lime
    • 1 Teaspoon Vanilla
    • ¾ Teaspoon Apple Cider Vinegar
    • Pinch Salt

    For Soda

    • 1-2 Ounces Cola Syrup
    • Sparkling Water
    • Ice

    Instructions

    • Caramelize the white sugar. Heat a small steel-bottomed saucepan over medium heat. Add the white cane sugar and 2 tablespoons water, stirring occasionally until the sugar is dissolved. Once the sugar is dissolved do not stir. Do not touch the heat, but allow the mixture to bubble for about 25-30 minutes for the Coke version and 10-15 minutes for the Pepsi version, until you achieve a nice golden brown color. Gently swirl the pan if the mixture looks unevenly colored. If you have a kitchen thermometer, look for a temperature between 330℉ and 340℉.
    • As soon as the caramelized sugar is ready, add the brown sugar, remaining ¾ cup of water, molasses, cinnamon stick, star anise, zests and juices of the orange, lemon, and lime, and the salt. Stir until the sugar is dissolved, then allow to gently simmer for 10 minutes.
    • Remove from the heat and stir in the vanilla and apple cider vinegar. Let cool 30 minutes.
    • Strain through a fine mesh strainer. Then bottle and store for up to two months.
    • For soda, pour 1-2 ounces of syrup over ice and top with sparkling water. Garnish with a lime wedge and a fun straw!

    Notes

    Recipe Yield: 1 ½ cups syrup
    Spice Substitutions: as much as possible I do not recommend subbing ground spices in for the whole versions - they will not be strained out as well and leave sediment in the final drink. If you must sub, here's what I recommend: 
    • Cinnamon: ¼ teaspoon
    • Star Anise: 1/16 teaspoon (half of a ⅛ teaspoon measure)

    Nutrition

    Calories: 78kcal | Carbohydrates: 20g | Protein: 0.1g | Fat: 0.1g | Saturated Fat: 0.004g | Polyunsaturated Fat: 0.01g | Monounsaturated Fat: 0.01g | Sodium: 4mg | Potassium: 56mg | Fiber: 0.4g | Sugar: 19g | Vitamin A: 15IU | Vitamin C: 5mg | Calcium: 19mg | Iron: 0.2mg

    Nutrition information is an estimate.

    Tried this recipe?I love to see what you make! Tag me on Instagram @elizabeths_table

    More Uncategorized

    Reader Interactions

    Comments

    No Comments

    Leave a Comment! Let me know what you think: Cancel reply

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

    Recipe Rating




    Primary Sidebar

    Elizabeth Headshot

    Hey - I'm Elizabeth

    Welcome to my table! I’m glad you’re here.
    At Elizabeth's Table I bring you easy and nutritious, plant-based recipes, explore the relationship between food and faith, and share my unique lifestyle.

    More about me →

    Summer Must-Makes

    • Vegan broccoli salad in a serving bowl.
      Vegan Broccoli Salad with Vegan Mayonnaise
    • A pitcher of sangria mocktail with pomegranate juice.
      Easy Red Sangria Mocktail
    • A bubbly glass of Strawberry Pink Lemonade Mocktail, garnished with a sprig of mint, and a strawberry on the rim.
      Strawberry Pink Lemonade Mocktail
    • A platter of vegan roasted potato salad, garnished with extra parsley.
      Vegan Roasted Potato Salad

    Trending Recipes

    • Three glasses of silken tofu smoothies, garnished with banana slices.
      Silken Tofu Smoothie (Easy & High Protein)
    • A mocktail garnished with orange peel.
      Old Fashioned Mocktail
    • A bowl of white rice and chickpea dal, ready to eat.
      Chickpea Dahl
    • A plate of Vegan Seitan Chicken.
      Vegan Seitan Chicken (Quick and Easy)

    Footer

    ↑ back to top

    About

    About Me

    See My Portfolio

    Privacy Policy

    Terms & Conditions

    Accessibility Policy

    Contact

    Sign Up for emails and updates

    Contact Me

    As an Amazon Associate I earn from qualifying purchases.

    COPYRIGHT © AT ELIZABETH'S TABLE 2025