There’s a particular alchemy in that familiar yellow sauce bottle at Subway. It’s not just sweet, not just savory—it’s that perfect, tangy-sweet punch that transforms a simple sandwich into something craveable. As a chef, I’ve always been fascinated by these iconic condiments, and after extensive testing in my kitchen, I’ve cracked the code.
This homemade version isn’t just a vague approximation; it’s a spot-on recreation of that glossy, clingy, flavor-packed sauce you know and love. Best of all, it comes together with common pantry staples in about 10 minutes, and once you taste it, you’ll wonder why you ever settled for anything less.
- Spot-On Flavor: This recipe nails the perfect balance of sweet onion tang, subtle soy savoriness, and a glossy texture that clings to every ingredient.
- Quick & Simple: From start to finish, you’re looking at about 10 minutes of active time. It’s faster than a trip to the store.
- Cost-Effective: Making a batch at home costs a fraction of buying specialty sauces and yields enough for multiple meals.
- Versatile Powerhouse: While perfect for sandwiches, this sauce doubles as a brilliant salad dressing, dipping sauce for spring rolls, or a glaze for proteins.
- Customizable: You control the ingredients. Prefer less sugar? Need a gluten-free version? You can easily adjust it to suit your dietary needs.
- Better Than Store-Bought: Homemade means no preservatives, artificial colors, or stabilizers—just pure, clean flavor.
Ingredients You’ll Need
Let’s gather our ingredients. The magic of this sauce is how these simple components work together. The white onion provides the foundational aromatic sweetness, while the rice vinegar brings a clean tang that’s less harsh than white vinegar.
Soy sauce adds the essential umami depth, and a bit of cornstarch is our secret weapon for that signature, glossy consistency that makes it so drizzle-able.
- White onion: Finely grated. This technique extracts maximum flavor and integrates it seamlessly into the sauce without leaving chunks.
- Granulated sugar: Provides the essential sweetness that defines this condiment. I don’t recommend reducing it for an authentic taste.
- Rice vinegar: Its mild acidity is key. Don’t substitute with distilled white vinegar, as it’s too sharp.
- Soy sauce: Use a standard or low-sodium variety. This is our source of salt and savory depth. For a gluten-free version, simply use tamari.
- Cornstarch: Combined with water to form a slurry, this is what gives the sauce its beautiful, clingy body.
- Garlic powder: Offers a consistent, mellow garlic flavor without the risk of burning minced fresh garlic.
- Black pepper & Salt: For seasoning. We’ll add salt cautiously since the soy sauce already contributes quite a bit.
Note: You’ll find the complete list of ingredients, along with their exact measurements, in the printable recipe card at the bottom of this post.
Kitchen Equipment Needed
You don’t need any fancy gear for this recipe. A small saucepan is your main cooking vessel—its size helps the liquid reduce and thicken properly. A fine grater or box grater is essential for processing the onion into a pulp that will melt into the sauce.
A good whisk is non-negotiable for creating a smooth, lump-free emulsion when you add the cornstarch slurry. Finally, have an airtight glass jar or container ready for storage; a glass mason jar works perfectly.
How to Make Subway Sweet Onion Sauce Recipe
Step 1: Create the Slurry
In a small bowl, whisk together the cornstarch and water until it forms a completely smooth, milky liquid with no lumps whatsoever. Believe me, taking the time to do this now prevents a world of frustration later. A lumpy slurry leads to a lumpy sauce.
Set this bowl aside within easy reach of your stove.
Step 2: Cook the Aromatics
Heat the oil in your small saucepan over medium heat. Add the finely grated onion—you should have about a half-cup of fluffy, moist pulp. Cook this for 2-3 minutes, stirring often.
You’re not looking to brown it; you just want to cook out the raw, pungent edge and soften it completely until it’s fragrant and translucent. This step builds the foundational flavor.
Step 3: Build the Flavor Base
To the softened onion in the pan, add the sugar, rice vinegar, soy sauce, garlic powder, salt, and pepper. Tip from me: whisk everything together vigorously at this stage to help the sugar begin dissolving. Bring the mixture to a gentle simmer.
Let it bubble for about 1 minute, stirring, until you can no longer feel sugar granules at the bottom of the pan. The mixture will be thin and watery, which is exactly what we want before thickening.
Step 4: Thicken to Perfection
Now for the transformative moment. Give your cornstarch slurry another quick stir (it settles), then slowly drizzle it into the simmering sauce while whisking constantly and energetically. Trust me, do not stop whisking.
You’ll see the sauce turn from thin and watery to gloriously thick and glossy in just seconds. This is the signature texture you’re after.
Step 5: Cool and Serve
Reduce the heat to low and let the sauce cook for another 1-2 minutes, whisking gently. This cooks out any raw cornstarch taste and ensures the thickness is stable. Remove the pan from the heat.
The sauce will be perfect for brushing, but for drizzling, let it cool completely to room temperature. It will thicken slightly more as it cools. Step back and admire your handiwork—you’ve just made a fast-food icon in your own kitchen.
- Onion Prep is Key: The finer you grate the onion, the better it will integrate. I use the small holes on a box grater. The goal is a pulpy juice, not distinct pieces.
- Low and Slow Thickening: Once you add the cornstarch slurry, avoid letting the sauce boil vigorously. A gentle simmer is enough to activate the starch without breaking it down, which can cause thinning.
- The Flavor Meld: For the absolute best, most authentic taste, let the cooled sauce rest in the refrigerator for at least 1-2 hours, or ideally overnight. This allows the sharp edges of the onion and vinegar to mellow and the flavors to marry perfectly.
- Consistency Control: If your sauce thickens more than you’d like after refrigeration, simply whisk in a teaspoon of warm water at a time until it reaches your desired drizzling consistency.
Recipe Variations
- Spicy Sweet Onion Sauce: Add 1/2 to 1 teaspoon of sriracha or a pinch of red pepper flakes when you add the soy sauce for a gentle, warming heat.
- Honey Sweet Onion Sauce: Substitute half of the granulated sugar with an equal amount of honey for a more complex, floral sweetness.
- Citrus Twist: Add the finely grated zest of one orange or lemon along with the onion for a bright, fresh top note.
- Herb-Infused: Stir in 1 tablespoon of finely chopped fresh chives or parsley after the sauce has cooled for a garden-fresh variation.
- Gluten-Free & Vegan: This recipe is naturally vegan. To make it gluten-free, simply ensure you use tamari or a certified gluten-free soy sauce.
What to Serve With This Sauce
This sauce’s original destiny is, of course, the sandwich. It’s phenomenal on a classic Subway-style veggie delite or a turkey and cheese. But don’t stop there.
It makes an incredible salad dressing for a chopped Asian chicken salad. Use it as a dipping sauce for chicken tenders, roasted cauliflower, or vegetable spring rolls. It also works beautifully as a glaze—brush it on chicken breasts or salmon fillets in the last few minutes of baking or grilling for a sticky, flavorful finish.
Storage & Make-Ahead Instructions
- Refrigeration: Store the completely cooled sauce in an airtight container in the refrigerator. It will keep perfectly for 7-10 days. The flavors often improve after a day.
- Freezing: I do not recommend freezing this sauce. The cornstarch-thickened emulsion can break and become watery when thawed, resulting in a separated texture.
- Make-Ahead Strategy: This sauce is an ideal make-ahead condiment. Prepare it up to a week in advance for quick meals. If it thickens too much in the fridge, simply let it sit at room temperature for 15 minutes or whisk in a tiny splash of warm water.
- Serving: Always use a clean spoon to scoop out what you need to prevent contamination and extend the shelf life of the entire batch.
Frequently Asked Questions
Q: Can I use a different type of vinegar?
A: I strongly recommend sticking with unseasoned rice vinegar. Its mild, slightly sweet acidity is integral to the flavor profile. Apple cider vinegar can work in a pinch but will impart a fruitier note.
Q: My sauce turned out too thick. How can I fix it?
A: This is an easy fix! Simply whisk in warm water, one teaspoon at a time, until it reaches your desired consistency. Do this after the sauce has cooled.
Q: Is there a substitute for cornstarch?
A: You can use an equal amount of arrowroot powder as a 1:1 substitute. Do not use flour, as it will create a cloudy sauce and requires longer cooking to lose its raw taste.
Q: Why did my sauce turn out lumpy?
A: Lumps are almost always due to the cornstarch slurry not being fully dissolved before adding, or adding the slurry too quickly without constant whisking. You can salvage it by straining the cooled sauce through a fine-mesh sieve.
Q: Can I use yellow or red onion instead?
A: White onion is preferred for its sharp yet sweet flavor that mellows perfectly. Yellow onion will work but has a stronger, more sulfurous note. Red onion will add an unintended pink hue.
Q: How can I make this sauce sugar-free?
A: You can experiment with a granulated sugar substitute like erythritol that measures 1:1 like sugar. Be aware that the texture and flavor will differ from the original.
Q: Is this sauce served cold or warm?
A: It’s typically served cold or at room temperature. The cooling process helps the flavors meld and the texture to set to the perfect drizzling consistency.
Final Thoughts
Mastering this Subway Sweet Onion Sauce recipe is like adding a secret weapon to your culinary toolkit. It’s a testament to how a few simple, well-balanced ingredients can create something truly special and versatile. Having made this countless times, I can assure you that the 10-minute investment pays off all week long, elevating everything from your weekday lunch sandwich to a weekend salad or grilled dinner.
The ability to control the quality of ingredients and adjust flavors to your liking is the true joy of cooking at home.
I encourage you to give this recipe a try. Taste it right after making it, then taste it again after a day in the fridge—you’ll notice the beautiful way the flavors develop. Once you see how easy and rewarding it is, you might just find yourself making a batch every Sunday.
I’d love to hear how it turns out for you! Share your creations or any clever ways you used the sauce by tagging me. Happy cooking

Copycat Subway Sweet Onion Sauce
Equipment
- Small saucepan
- Fine grater or box grater
- Whisk
- Measuring cups and spoons
- Airtight glass jar or container for storage
Ingredients
- 1/2 cup white onion finely grated or minced
- 1/3 cup granulated sugar
- 1/4 cup rice vinegar unseasoned
- 2 tablespoons water
- 2 tablespoons soy sauce use low-sodium for better control
- 1 tablespoon cornstarch
- 1 teaspoon olive oil or vegetable oil
- 1/2 teaspoon garlic powder
- 1/4 teaspoon black pepper freshly ground
- 1/4 teaspoon salt or to taste
Instructions
- In a small bowl, whisk together the cornstarch and water until completely smooth and free of lumps. This slurry is crucial for achieving the signature glossy, clingy texture of the sauce. Set it aside for now.
- Heat the oil in a small saucepan over medium heat. Add the finely grated onion and cook for 2-3 minutes, stirring frequently, until it becomes fragrant and translucent. You don’t want any color here—just to soften and cook out the raw bite.
- To the saucepan, add the sugar, rice vinegar, soy sauce, garlic powder, salt, and pepper. Whisk everything together and bring the mixture to a gentle simmer. Let it bubble for about 1 minute, stirring to ensure the sugar is fully dissolved.
- Give your cornstarch slurry another quick stir, then slowly drizzle it into the simmering sauce while whisking constantly. Trust me, constant whisking is the key to preventing lumps. The sauce will thicken almost immediately.
- Reduce the heat to low and continue to cook the sauce for another 1-2 minutes, whisking, until it is glossy, smooth, and has thickened to a perfect coating consistency. Remove from heat and let it cool completely before using. It will thicken slightly more as it cools.
