Shallot substitute refers to any allium that stands in for shallots without throwing off a recipe’s flavor. Yellow onion, scallion whites, leeks, and chives all qualify. The trick is matching the swap to the dish.
Short answer first. For cooked dishes, use yellow onion at a 1:1 volume ratio. For raw dishes like vinaigrette, use chives or soaked red onion.
You’re mid-recipe, the pan’s hot, and you’ve got no shallots. Fine. The full list is below, ranked by how often each swap actually works.

The Best Shallot Substitutes, Ranked
The best substitute for shallots is yellow onion in cooked dishes and chives or soaked red onion in raw ones. Yellow onion is cheap, easy to find, and turns sweet and soft when cooked. Chives and soaked red onion avoid the sharp bite that raw onion brings to dressings and salads.
Quick Comparison
| Option | Best For | Key Benefit | Limitation |
|---|---|---|---|
| Yellow onion | Sauces, soups, roasts | Easy to find, sweetens when cooked | Sharp when raw |
| Scallion whites | Stir-fries, eggs, quick sautés | Mild and fast cooking | Less sweet, thinner flavor |
| Leek (white part) | Cream sauces, braises | Soft, delicate texture | Needs washing, costs more |
| Chives | Raw dishes, garnishes | No harshness at all | Almost no body when cooked |
| Red onion (soaked) | Vinaigrettes, salads | Color and crunch | Strong unless soaked first |
Leeks surprise people. Their white and pale green parts melt into a sauce better than almost anything else in the produce aisle.
How Much to Use (and Why Shallots Taste Different)
To replace one medium shallot, use about 3 tablespoons of minced onion, scallion white, or leek. According to USDA FoodData Central, one tablespoon of chopped raw shallot weighs roughly 10 grams, which puts a medium shallot near 30 grams. Weigh it if you’ve got a scale. Otherwise, measure by volume.
To replace one shallot, follow these steps:
- Mince 3 tablespoons of yellow onion very finely.
- Add a tiny pinch of minced garlic, optional.
- Cook gently over medium-low heat until soft and translucent.
Why does the swap taste different at all? Most people assume a shallot is just a small onion. The data says otherwise. According to USDA FoodData Central (SR Legacy, 2019), raw shallots carry roughly 8 grams of sugar per 100 grams, about double the 4 grams in a yellow onion. That extra sweetness is why shallots feel rounder and gentler, especially in a sauce.
I’ve seen conflicting takes here: some cooks say shallots are milder, others say they’re simply sweeter and more savory. My read is the second one, because the sugar numbers back it up and the sulfur bite fades fast in a hot pan.
Bold truth: a plain onion swap isn’t wrong. It’s just louder.
Raw or Cooked: Pick the Right Swap
Chives vs yellow onion: chives are better suited for raw dishes because they bring no harsh bite. Yellow onion works better when the recipe cooks the allium for several minutes. The key difference is heat: cooking mellows onion, but raw onion stays sharp.
Look — if you’re making a vinaigrette, here’s what actually works: finely minced red onion, soaked in cold water first, plus a pinch of chives on top. Users who’ve tried straight yellow onion in dressing often report a harsh, lingering sting that overwhelms the oil and vinegar.
Here’s my opinion, and some readers will push back: red onion beats yellow onion for raw swaps. Most guides recommend yellow because it’s the default pantry onion. But red onion is milder and has more sugar when raw, which is exactly the problem you’re trying to solve.
Some experts argue you shouldn’t substitute at all in classic French sauces such as beurre blanc, where shallot is the whole personality. That’s valid for a restaurant-style version where the allium is the star. But if you’re cooking a weeknight pan sauce for two, a gently sweated onion gets you 90 percent of the way there.
Scallion whites sit in the middle. They work raw or cooked, though they never taste quite like a shallot.
Fixing a Swap That’s Too Harsh
Soak it. That’s the main fix.
Place your minced onion in a bowl of cold water for 10 minutes, then drain and pat dry. The soak pulls out some of the sulfur compounds behind the sting. For extra tang and mellowing, use a splash of vinegar instead of plain water, which doubles as a quick pickle.
Quick note: don’t skip the pat-dry step. Wet onion dilutes a dressing and steams in a hot pan instead of browning.
What most guides skip is the cooking side. If your cooked swap tastes sharp, the onion probably didn’t sweat long enough. Give it a full 4 to 5 minutes over medium-low heat before adding liquid. Or maybe I should say it this way: patience fixes more onion problems than any extra ingredient.
A tiny pinch of sugar helps if your sauce tastes flat, since you’re replacing a naturally sweeter allium.

Where This Guide Stops
This guide covers kitchen swaps for flavor and texture. It does NOT address allergy, digestive, or low-FODMAP needs, since onions, leeks, and shallots all belong to the same allium family and can cause the same issues. If that applies to you, ask a dietitian.
This works best for everyday cooking: sauces, dressings, roasts, and sautés. It won’t help if the recipe depends on shallot’s exact flavor, as in a delicate beurre blanc or a shallot confit.
Garlic alone isn’t a good substitute. It’s too pungent and lacks the sweetness. Use it only as a small supporting pinch.
Quick Answers
Q: What’s the best substitute for shallots?
A: Yellow onion works best for cooked dishes. For raw dishes, use chives or red onion soaked in cold water. Use about 3 tablespoons of minced onion per medium shallot.
Q: How do I replace shallots with onion?
A: Mince the onion very finely and use the same volume the recipe calls for. Cook it a little longer over lower heat so it turns sweet instead of sharp.
Q: Should I use garlic instead of shallots?
A: Not as a one-to-one swap. Garlic is far stronger and lacks sweetness. Use onion as the base and add a tiny pinch of garlic if you want more depth.
Q: Why does onion taste harsher than shallot?
A: Onions contain more sulfur compounds and less sugar by weight. That makes them sharper raw and less sweet cooked. Soaking or longer cooking softens the difference.
Q: When should I use scallions instead of shallots?
A: Use scallion whites in quick-cooking dishes like eggs, stir-fries, and sautés, or finely sliced in raw dishes. They’re mild and fast, but less sweet than shallots.
Bottom Line
Yellow onion rescues most cooked recipes. Chives and soaked red onion rescue most raw ones. Measure 3 tablespoons per shallot, soak or sweat the onion to tame its edge, and you’ll rarely notice the difference.