What to use instead of garlic
Quick answer
The closest option is Onion, rated acceptable. Same genus, same broad sulphur chemistry, and a genuinely different result. Onion is sweeter, milder and much wetter, and it needs time and volume to give what a clove of garlic gives in a minute. Cooked slowly it supplies a comparable savoury base; used quickly it supplies moisture and not much else.
It will not do for: Raw preparations, where onion is harsh and sulphurous in a way garlic is not; Dishes where garlic is the identifying flavour — aglio e olio, garlic butter, a Levantine toum; Any recipe with no room for the extra bulk and water an onion brings.
All recorded options
Ranked by suitability. Ratios are given only where they are defensible, and always with their basis — by weight or by volume — because spice densities differ.
Onion
AcceptableSame genus, same broad sulphur chemistry, and a genuinely different result. Onion is sweeter, milder and much wetter, and it needs time and volume to give what a clove of garlic gives in a minute. Cooked slowly it supplies a comparable savoury base; used quickly it supplies moisture and not much else.
| Flavour | Aroma | Colour | Heat |
|---|---|---|---|
| partial | partial | close | less |
Works for
- Soups, stews and braises with enough cooking time for onion to sweeten
- Sofrito-style bases where onion was already present and can simply be increased
Does not work for
- Raw preparations, where onion is harsh and sulphurous in a way garlic is not
- Dishes where garlic is the identifying flavour — aglio e olio, garlic butter, a Levantine toum
- Any recipe with no room for the extra bulk and water an onion brings
Recorded because it is what people actually do, not because it is good. Garlic and onion are companions in most cooking rather than alternatives, and the honest answer to "what replaces garlic" is usually asafoetida or nothing.
Asafoetida
SituationalThe established answer rather than an improvisation. Cooked in hot fat, asafoetida gives the savoury allium depth of fried garlic and onion — the same family of sulphur compounds is doing the work, which is why the swap holds up at all. What it does not give is the raw pungency: allicin is created by cutting a fresh clove and nothing else in the kitchen makes it. So a dish that cooked its garlic gains almost everything back, and a dish that did not gains none of it.
| Flavour | Aroma | Colour | Heat |
|---|---|---|---|
| partial | partial | different | much less |
Works for
- Dal, sambar and vegetable dishes where the garlic would have been fried at the start
- Allium-free cooking in Jain and some Brahmin traditions, where this is the established solution rather than a compromise
- Any long-cooked braise or curry seasoned through a tempering
Does not work for
- Raw applications — aioli, garlic bread butter, a dressing — where the whole point is the pungency of a cut clove
- Dishes where garlic is a visible or textural ingredient rather than a background one
- Anything not cooked in fat: raw asafoetida keeps its fetid character and will make the dish worse
Cuisine: Moves the dish decisively towards South Asian cooking. Asafoetida is not a neutral savoury note in a French or Italian context, where it will read as an unfamiliar spice rather than as absent garlic.
Quantity is the trap and no ratio is published here, because the two commercial products differ by a factor of tens: compounded asafoetida powder is mostly flour, and pure resin is not. A pinch of the compounded powder against a couple of cloves is the customary starting point; the same volume of resin would ruin the dish.
Garlic
SituationalNot two strengths of one ingredient. Drying destroys allicin, so the powder has none of the raw bite and reads instead as concentrated, sweet and slightly cooked. It also brings no moisture and no bulk. In a dish where the garlic was going to be cooked down anyway the swap is barely noticeable; in one where a cut clove was the point it removes the flavour entirely and leaves a dusty sweetness behind.
| Flavour | Aroma | Colour | Heat |
|---|---|---|---|
| partial | partial | close | much less |
Works for
- Dry rubs and seasoning mixes, where fresh garlic would scorch on direct heat
- Batters, breadings and anything that must stay dry
- Long-cooked sauces and stews, where the difference narrows considerably
Does not work for
- Raw dressings, aioli and toum, where allicin is the entire flavour
- Dishes finished with garlic late for its pungency
- Anywhere the garlic contributes texture as well as taste
SpiceHQ publishes no fresh-to-powder ratio. Ratios circulate widely and they all assume the two are doing the same job, which is the thing that is not true — the question is whether the dish wanted raw pungency or cooked sweetness, and no number answers it.
Where garlic stands in for something else
The reverse view of the same graph.
- Instead of Adobo seasoning — excellent
- Instead of Asafoetida — good
- Instead of Garlic — situational
- Instead of Onion — poor