Why eat out when you can recreate the flavors at home? This easy copycat for Subway’s Sweet Onion Sauce is quick to make and full of the tangy-sweet flavor everyone loves. Use it on subs, sandwiches, salads, or as a dip — it keeps well in the fridge so you can enjoy it for weeks.

If you know your favorite Subway order by heart, you understand how much the Sweet Onion Sauce adds to the experience. I make this at home to get that same bright, sweet, onion-forward profile without a trip to the store. This recipe uses common pantry ingredients and a little grated onion to create a smooth, flavorful sauce that clings nicely to bread and greens.
One of the biggest benefits of making this at home is the ingredient control and shelf life. Stored airtight in the refrigerator, the sauce keeps its quality for a few weeks. Because it’s vinegar- and sugar-based (no eggs or dairy), it’s more shelf-stable than many homemade condiments, but always use your senses — if it smells or looks off, discard it.

An Easy Subway Copycat Recipe
This version of Sweet Onion Sauce is intentionally simple. Most of these items are likely in your pantry already. The texture is smooth because the recipe uses grated onion and dried minced onion, along with cornstarch to thicken. The combination of white vinegar and red wine vinegar gives brightness, while sugar balances the acidity.
Ingredients

- 1 cup granulated sugar — provides the signature sweetness.
- ½ cup + 1 tablespoon water — thins the sauce so it simmers evenly.
- 6 tablespoons white vinegar — clean acidity to balance the sweet.
- 4½ teaspoons red wine vinegar — adds depth and a subtle tang.
- 1 teaspoon finely grated onion — use a small-holed grater or garlic press for a smooth texture.
- 1 tablespoon Dijon mustard — for a mild heat and emulsifying flavor.
- ¼ teaspoon sesame oil — just a whisper for aroma; toasted or regular is fine.
- 1 tablespoon cornstarch — thickens the sauce to the right consistency.
- 1 tablespoon dried minced onion — small pieces give texture and onion flavor without grittiness.
- 2 teaspoons dry mustard powder
- 1 teaspoon salt
- ¾ teaspoon poppy seeds
- ½ teaspoon celery seed
- ¼ teaspoon onion powder
- ¼ teaspoon paprika (heaping)
- ¼ teaspoon ground black pepper (heaping)
- ⅛ teaspoon garlic powder (heaping)
How to Make Sweet Onion Sauce

You’ll only need a medium saucepan and a whisk. Combine all ingredients in the saucepan and whisk well to ensure the cornstarch dissolves and the dried onion and spices are evenly distributed.
- Place the pan over medium-high heat and bring the mixture to a boil, stirring frequently to prevent sticking or burning.
- Once boiling, lower the heat to a gentle simmer and continue to whisk. Simmer for about 5 minutes until the sauce thickens and becomes glossy.
- Remove from heat and let cool completely. The sauce will continue to thicken slightly as it cools.
- Transfer to an airtight container or a squeeze bottle with a wide enough opening for the dried onion pieces. Refrigerate.
Storage
Keep the sauce chilled in an airtight container. Use within 2–4 weeks for best quality. For longer storage, you can freeze the sauce in a sealed container; thaw in the refrigerator before using. If using a squeeze bottle, ensure the nozzle is wide enough or trim the tip so the minced onion can pass through.

Substitutions and Dietary Notes
- Low carb / keto / sugar-free: Replace the granulated sugar with a cup-for-cup sweetener that measures like sugar.
- Gluten-free: The recipe is naturally gluten-free, but verify packaged ingredients (mustard, vinegars, sesame oil) if you have severe sensitivity.
- Dairy-free: This recipe contains no dairy as written.
FAQ
The classic version is high in sugar. To make a keto-friendly version, substitute the sugar with a low-carb sweetener that measures cup-for-cup with sugar.
A vinegar- and sugar-based sauce like this keeps well in the refrigerator for about 2–4 weeks. Egg- or dairy-based sauces will keep for less time.

Serve With
- Homemade subs and sandwiches
- Salads as a sweet, tangy dressing
- Mix with teriyaki for a sweet glaze
- Panini and grilled sandwiches
- Drizzled over pizza as a finishing sauce
Recipe Card
Sweet Onion Sauce — Subway Copycat
Prep time: 10 minutes • Cook time: 5 minutes • Total: 15 minutes
Servings: about 1/4 cup per serving; total yield approx. 1 cup (adjust as needed)
Calories: approx. 89 kcal per 1/4 cup serving (estimate)
Author: Dorothy Bigelow (adapted)
Ingredients
- 1 cup granulated sugar
- ½ cup + 1 tablespoon water
- 6 tablespoons white vinegar
- 4½ teaspoons red wine vinegar
- 1 teaspoon finely grated onion
- 1 tablespoon Dijon mustard
- ¼ teaspoon sesame oil
- 1 tablespoon cornstarch
- 1 tablespoon dried minced onion
- 2 teaspoons dry mustard powder
- 1 teaspoon salt
- ¾ teaspoon poppy seeds
- ½ teaspoon celery seed
- ¼ teaspoon onion powder
- ¼ teaspoon paprika (heaping)
- ¼ teaspoon ground black pepper (heaping)
- ⅛ teaspoon garlic powder (heaping)
Instructions
- Whisk all ingredients in a small saucepan until smooth.
- Bring to a boil over medium-high heat, stirring frequently.
- Reduce heat to low and simmer about 5 minutes, whisking often, until thickened.
- Cool completely, transfer to an airtight container, and refrigerate. Use within 2–4 weeks.
Notes
For the smoothest texture, grate the onion with a rasp grater or finely press it. If using a squeeze bottle, ensure the nozzle is wide enough for dried minced onion pieces, or cut the tip slightly larger.
All images in this post are included for illustrative purposes. The recipe is an interpretation of a popular sandwich shop sauce and has been adjusted for home cooking.