The best shallot replacements depend on what you're cooking

If you don't have shallots on hand, red onions are the closest match in most dishes. They have the same mild sweetness and work in vinaigrettes, sauces, and roasted vegetable dishes without changing the flavor profile much. For dishes where shallots are raw—like in a salad dressing or ceviche—use red onions at a 1:1 ratio but slice them thinner so they soften slightly as they sit.

Yellow onions work too, though they're sharper and less sweet. Use about three-quarters of the amount the recipe calls for, since their bite is stronger. White onions are milder and closer to shallots in flavor, making them a solid second choice if you have them. Scallions (green onions) can replace shallots in raw applications like garnishes or cold sauces, but they lack the depth for cooked dishes.

Garlic is not a substitute—it's a different ingredient with a much stronger, more pungent flavor. Using garlic instead of shallots will change the dish noticeably. The same goes for leeks, which are milder and sweeter but have a completely different texture and taste.

Key Takeaways

  • Red onions are the closest replacement for shallots in nearly all recipes and can be used in equal amounts.
  • Yellow onions work but are sharper, so reduce the quantity to about three-quarters of what the recipe asks for.
  • White onions are milder than yellow and closer to shallots in sweetness, making them a good alternative.
  • Scallions work only in raw applications like dressings and garnishes, not in cooked dishes.
  • Garlic and leeks are not suitable replacements because they have distinctly different flavors and textures.

Red onions for raw and cooked dishes

Red onions are your most reliable swap. They have a similar mild, slightly sweet flavor and work in both raw and cooked applications. In a vinaigrette, use them sliced thin and let them sit for a few minutes so they soften slightly. In a pan, they caramelize much like shallots do, though it takes a bit longer because they're larger and contain more water.

The main difference is texture: red onions are firmer and take longer to break down. If your recipe relies on shallots melting into a sauce, chop red onions smaller than you normally would and cook them a minute or two longer. For a French shallot vinaigrette or mignonette, red onions work straight across at the same quantity.

Yellow onions when you need less intensity

Yellow onions are sharper and more pungent than shallots, so they need adjustment. If a recipe calls for two shallots, use one and a half yellow onions instead. This keeps the dish from becoming too onion-forward. They work well in soups, stews, and braises where their stronger flavor can stand up to long cooking and other bold ingredients.

Yellow onions caramelize faster than red onions and develop a deeper, more complex sweetness when cooked slowly. They're a good choice for French onion soup or a pan sauce for meat, but less ideal for delicate dishes where shallots' subtle flavor matters—like a light cream sauce or a raw preparation.

White onions for a milder option

White onions are sweeter and less sharp than yellow onions, making them closer to shallots in flavor profile. Use them at a 1:1 ratio in most recipes. They work particularly well in Asian dishes, salsas, and any recipe where you want a mild onion presence without the bite.

White onions are softer than red or yellow onions and break down faster when cooked, so watch them carefully if you're sautéing. They're less common in grocery stores than red or yellow, but if you have them, they're an excellent choice for any shallot recipe.

Scallions only for raw applications

Scallions (also called green onions) can replace shallots only in dishes where the shallots are raw. Use them in salads, as a garnish, or in cold sauces and dressings. The white and light green parts have a mild onion flavor similar to shallots, while the dark green tops are more herbaceous.

Scallions don't work in cooked dishes because they fall apart and lose their flavor quickly. If you're making a warm pan sauce or a soup, scallions will disappear or turn mushy. Save them for fresh applications where their delicate texture and mild bite shine.

Why garlic and leeks don't work as replacements

Garlic is tempting because it's in the same family as shallots, but it's a completely different ingredient. Garlic is much more pungent and assertive. One clove of garlic can overpower a dish that calls for two shallots. If you use garlic instead, you'll end up with a garlicky dish rather than the subtle, sweet onion flavor shallots provide.

Leeks are milder and sweeter than shallots, but they have a different texture and a more delicate, almost creamy flavor. They work beautifully in their own right—in potato leek soup, for example—but they're not a direct swap. If you use leeks instead of shallots, the dish will taste noticeably different.

How to adjust quantities when substituting

The size of the onion matters. A medium shallot is roughly the size of a golf ball and weighs about an ounce. A medium red or white onion is much larger. When substituting, think in terms of weight or volume rather than counting whole onions.

If a recipe calls for three shallots, use one medium red onion (chopped) or one and a half yellow onions. For white onions, use one medium onion. Taste as you cook, especially if you're using yellow onions, which are sharper. You can always add more, but you can't take it out once it's in the pan.

Frequently Asked Questions

Can I use onion powder instead of fresh shallots?

Onion powder is concentrated and much more intense than fresh shallots. It works in a pinch for soups, stews, and dry rubs, but use sparingly—start with one-quarter teaspoon per shallot and taste before adding more. It won't give you the texture or the subtle sweetness of fresh shallots, so it's a last resort.

What's the difference between shallots and red onions?

Shallots are smaller, sweeter, and have a more delicate flavor with a hint of garlic. Red onions are larger, firmer, and slightly sharper. Both work in similar dishes, but red onions need to be chopped smaller and cooked a bit longer to match shallots' texture and intensity.

Do I need to adjust cooking time when using a different onion?

Yes, slightly. Red and yellow onions are larger and contain more water, so they take a minute or two longer to soften and caramelize than shallots. White onions break down faster. Start checking at the time the recipe suggests, but be prepared to cook a bit longer if using red or yellow onions.

Can I mix different onions together as a replacement?

Yes. If you have half a red onion and some white onion, combine them to reach the amount your recipe needs. This can actually give you a more balanced flavor—the red onion adds sweetness and the white onion adds mildness. Chop them to the same size so they cook evenly.