For a substitute for 2 shallots, use 1/2 cup (75 g) finely diced onion and 1 small garlic clove, minced. This quick onion-and-garlic mixture works especially well in cooked recipes such as sauces, soups, and sautés, where it gives a similar savory base with a slightly sharper onion flavor.
Ingredients
- 1/2 cup (75 g) finely diced yellow onion, from about 1 small onion
- 1 small garlic clove (about 3 g), finely minced
- 1 teaspoon (5 ml) neutral oil, such as canola or sunflower oil
- 1/8 teaspoon (0.75 g) fine salt, optional
This batch is intended to stand in for 2 medium shallots in a cooked dish. Shallots vary in size, so think of the amount as a practical kitchen conversion rather than an exact measure: two medium shallots usually give roughly 1/2 cup when peeled and chopped. If the shallots in your recipe are unusually large, or the recipe depends on a pronounced shallot flavor, adjust the onion quantity to match the volume called for.
Yellow onion is a useful all-purpose choice because it becomes sweet and mellow as it cooks. White onion works too, though its flavor can be sharper; red onion is fine in a pinch but may tint light-colored sauces. The small amount of garlic adds some of the savory, slightly pungent character associated with shallots. Garlic is potent, so use a small clove rather than adding several by default.
Instructions
- Prepare the onion. Peel the onion, trim away the root and stem ends, and dice it finely into pieces about 1/8 inch (3 mm) across. Small, even pieces soften at a similar rate and are less noticeable in a sauce or filling. Measure 1/2 cup (75 g); if your onion makes a little more, set the extra aside rather than crowding the pan.
- Mince the garlic. Peel and finely mince one small clove. Keep it separate from the onion for now. Garlic burns faster than diced onion, and adding it later helps prevent bitter, browned flecks in the finished mixture.
- Soften the onion. Set a small skillet over medium-low heat and add the oil. Once it is warm, add the onion and optional salt. Cook for about 3 to 4 minutes, stirring regularly, until the pieces look glossy and softened. They should not be deeply browned; the goal is a gentle, mellow base rather than a caramelized onion flavor.
- Add the garlic briefly. Stir in the minced garlic and cook for 30 to 60 seconds, stirring, just until fragrant. Remove the pan from the heat as soon as the raw garlic smell fades. The mixture should be soft and aromatic, not crisp or dark.
- Use it in place of the shallots. Scrape the mixture into the recipe at the point where it calls for the shallots. If the original instructions start by frying raw shallots, this mixture is ready to go into that dish. If the recipe calls for raw shallots, use the raw adjustment described in the tips instead of cooking this batch first.
The short sauté is a convenient way to prepare the substitute, but it is not a requirement for every dish. In a soup, stew, or long-simmered sauce, you can add the diced onion and garlic directly with the other aromatics and let the recipe cook them. For a fast pan sauce, soften them separately as above so the onion has time to lose its raw bite before the liquid goes in.
Tips
- Match the recipe’s texture. Shallots can be sliced, minced, or finely diced. Cut the onion the same way when possible, especially in salads, dressings, and quick-cooking dishes. A coarse chop can stand out where finely minced shallots would almost disappear.
- Use less garlic for delicate dishes. The suggested small clove is a starting point for cooked food. For a mild vinaigrette, a creamy sauce, or a dish with other strong aromatics, use half a small clove or leave it out. The onion alone will still provide a workable substitute, although the flavor will be less layered.
- Adjust for raw use. Raw onion is more pungent than cooked shallot. Start with about 1/3 cup (50 g) finely diced onion and 1/2 small garlic clove for 2 shallots, then taste and add more if needed. If the onion bite is too strong, rinse the diced onion briefly under cold water and drain it well, or soak it in cold water for 5 to 10 minutes before using. This optional soak is not included in the recipe timing.
- Keep the heat gentle. If the onion browns before it softens, lower the heat and add a teaspoon of water to the pan. Dark, scorched garlic can taste bitter, so do not leave it unattended after adding it. A little color is fine, but avoid crisping the mixture unless the original recipe asks for browned aromatics.
Serving Suggestions
Use this substitute anywhere a recipe begins with sautéed shallots: stir it into a pan sauce for chicken or vegetables, add it to the base of a lentil or vegetable soup, or mix it into cooked grains with herbs. It also suits savory tarts, omelets, stuffing, and simple pasta sauces. Add it at the same stage as the shallots so the onion has time to soften and share its flavor with the other ingredients.
For dressings, dips, and other preparations where shallots remain raw, use the smaller raw-use amount in the tips and taste before adding the full quantity. The substitute has a more familiar onion note than shallot’s gentle, sweet pungency, so it may be more noticeable in uncooked food. Pair it with ingredients that can balance that bite, such as vinegar, lemon juice, mustard, fresh herbs, or a little oil, according to the recipe.
Variations
Use onion alone: If you have no garlic, replace the shallots with 1/2 cup (75 g) finely diced onion. This is a reliable choice in soups, braises, and dishes that already include garlic or other strong seasonings. It will taste more plainly of onion, but the quantity and cooking method remain the same.
Try scallions: For a fresher flavor, use about 1/2 cup (50 g) finely sliced scallions, including some of the green tops. Add the white parts early and the greener parts near the end of cooking so they retain their color and mild freshness. Scallions are less sweet and have a lighter body than shallots, so this option is best in quick sautés, eggs, and garnishes rather than long-cooked sauces.
Use leek or chives thoughtfully: The white and pale-green portion of a small leek can replace the onion in this mixture; wash it thoroughly because grit can hide between its layers. Leek gives a gentle, sweet flavor but less sharpness. Chives are a mild finishing substitute rather than a direct cooked-aromatic replacement: use 2 to 3 tablespoons (6 to 9 g) chopped chives near the end of cooking or as a garnish.
Choose a milder onion: If yellow onion seems too strong, use sweet onion in the same 1/2-cup amount, but do not add extra garlic to compensate. Sweet onion can make a sauce taste rounder and less pungent. In a dish where shallots are a key flavor rather than a background ingredient, no substitute will be identical; using a little less onion and tasting as you go keeps the result balanced.
Storage and Reheating
For the best flavor, use the mixture as soon as it is cooked. If you have extra, transfer it to a clean, covered container and refrigerate it within 2 hours of cooking. Keep it refrigerated for up to 3 to 4 days. Do not leave cooked onion and garlic at room temperature for extended storage, and do not store this mixture in a sealed jar in the pantry.
To reheat, warm only the amount you need in a small skillet over low heat, stirring until hot; add a splash of water if it looks dry. You can also add the chilled mixture straight to a simmering soup or sauce and heat it as part of the dish. For freezing, cool it promptly, pack it in a freezer-safe container, and freeze for up to 2 months for best quality. Thaw overnight in the refrigerator or add small frozen portions directly to a hot cooked dish. Discard any portion left at room temperature for more than 2 hours.
Frequently Asked Questions
How much onion replaces 2 shallots?
Use about 1/2 cup (75 g) finely diced onion for 2 medium shallots. Add 1 small garlic clove if you want a closer savory flavor, particularly in a cooked recipe. Shallot sizes differ, so if your recipe gives a chopped volume, matching that volume is more dependable than counting bulbs.
Can I substitute onion for shallots without garlic?
Yes. Use the same 1/2 cup (75 g) onion and cook it as directed. Garlic is optional; it adds a little pungency but is not necessary for the substitution to work. Leaving it out is especially sensible if the dish already contains garlic, or if you want a softer onion flavor.
Can I use this substitute raw?
You can, but raw onion usually tastes sharper than raw shallot. Begin with 1/3 cup (50 g) finely diced onion and half a small clove of garlic for 2 shallots, then taste. Rinsing or briefly soaking the diced onion can soften its bite. Avoid using the cooked recipe as written when the original dish needs fresh, crisp shallot pieces.
What if I only have garlic and no onion?
Garlic by itself is not a close volume-for-volume substitute because it is much more intense and lacks onion’s bulk and sweetness. If the dish can tolerate a stronger garlic note, use one small clove for the 2 shallots and consider adding another mild aromatic already suitable for the recipe, such as scallion or leek. Otherwise, leaving the shallots out may give a better balance than adding several garlic cloves.
Does this substitution work in every recipe?
It works best when shallots are one of several cooked aromatics, including in soups, sauces, sautés, and fillings. It is less exact in recipes that feature shallots raw, serve them as a distinct vegetable, or depend on their particular sweet, delicate flavor. In those cases, adjust the amount, use a milder onion or scallion, and taste before serving.
Can I make the substitute ahead?
Yes. Cook it, cool it, and refrigerate it in a covered container within 2 hours. Use it within 3 to 4 days, or freeze it for longer storage and best quality. Reheat it gently or stir it into a hot dish; if you are making a raw dressing, prepare the onion portion fresh instead of using this sautéed batch.
Related
- Sangria Cake Recipe: A Citrus-Studded Red Wine Cake
- Sangria Ice Recipe for Fruity, Wine-Infused Cubes
- Sangria Grape Juice Recipe: A Bright, Alcohol-Free Pitcher
More recipes to cook
Safety notes: safe minimum internal temperatures from USDA FSIS; raw and undercooked fish guidance from the U.S. FDA. Food safety notes
Spotted an error? Tell us and we will correct it (corrections policy).