Ajwain vs Thyme
The short answer
They smell alike for a real reason and are used nothing alike. Both are dominated by thymol — ajwain carries more of it than thyme does — which is why a crushed ajwain seed smells like a very strong thyme. Ajwain is an Apiaceae seed, harsh and slightly bitter raw, and Indian cooking blooms it in hot fat to soften it. Thyme is a leaf and goes in whole and slow. A pinch of ajwain will substitute for thyme at a pinch; a spoonful of thyme will not substitute for ajwain at all.
Side by side
| Ajwain | Thyme | |
|---|---|---|
| Botanical identity | Trachyspermum ammi (L.) Sprague | Thymus vulgaris L. |
| Part used | seed | leaf |
| Origin | The eastern Mediterranean and western Asia, with cultivation long established across South Asia, which is now the main producing region. | The western Mediterranean, particularly the dry limestone country of southern France and Spain. |
| Flavour notes | herbal, bitter, pungent, woody | warm, woody, savoury, faintly medicinal, earthy |
| Heat | Scoville does not apply | Scoville does not apply |
| Flavour | Hot, bitter and thyme-like, with a numbing sharpness on the tongue that fades quickly. It is one of the most assertive spices here by weight — a quarter teaspoon seasons a large batch of dough — and used generously it turns a dish acrid. | Savoury, slightly bitter, persistent, and unusually good at surviving long cooking. It carries the taste of a stock or a braise without being separable from it, which is why thyme is in the classical bouquet garni alongside bay and parsley. |
| Aroma | Powerfully thyme-like, with a sharp medicinal edge and a faint anise note behind it. A jar opened in a kitchen scents the room. | Warm, dry and faintly medicinal, with a clean woody edge — recognisably a relative of oregano but narrower and less pungent. Where oregano announces itself, thyme is a background that other things sit on. |
Can you swap them?
Substitution is directional: the answer is often different in each direction, and both are recorded.
Thyme
Good matchUse: ~3× by volume — Around three times the volume of dried thyme for a given quantity of ajwain, crushed. Ajwain is far more concentrated.
Unusually close, and for a chemical reason rather than a culinary one: both are dominated by thymol, so thyme genuinely tastes like a diluted ajwain rather than merely resembling it. What thyme lacks is the bitter medicinal edge and the brief numbing sharpness, which softens the result — often welcome, and not the same.
| Flavour | Aroma | Colour | Heat |
|---|---|---|---|
| close | close | different | n/a |
Works for
- Bread and pastry doughs
- Pulse and vegetable dishes
- Anywhere the ajwain was a background note
Does not work for
- Dishes where the numbing sharpness was the point
- Recipes using ajwain whole, since thyme leaf looks and behaves differently in a dough
- Deep-fried batters, where thyme leaf scorches and the seed does not
Cuisine: Pulls a South Asian dish towards a Mediterranean register, though less than most swaps would.
Dried thyme is the closest common substitute for any spice in this dataset, and it is worth saying that the resemblance is genuine chemistry rather than a coincidence of description.
Which should you buy?
Ajwain
Whole, and a small packet. Ajwain is assertive enough that most kitchens use it a quarter teaspoon at a time, so even a modest bag lasts years — and since it is cheap in a South Asian grocer and expensive in a supermarket jar, the sensible purchase is a small bag from the former rather than a large jar of anything. Crush a few before you buy if you can; spent seed is a documented problem and looks perfect.
Thyme
Dried leaf, and it is one of the few herbs where the dried product needs no apology. Ground thyme brings the bitterness forward and loses the woody top notes within months. Fresh thyme is worth buying when you want the greener, more lemony version or when you want to fish a sprig out afterwards — but for a stock, a braise or a rub, dried leaf is doing the same job and keeping better.
Full detail on ajwain and thyme, including evidence grades and sources for every claim above.