On a low FODMAP diet, a short, structured elimination of fermentable carbohydrates used for IBS, the best substitutes for onion and garlic are strained garlic-infused oil in place of garlic, and the green tops of green onions, the green leaves of leeks and chives in place of onion, with a small pinch of asafoetida (hing) cooked in oil for savory depth. Fructans, the carbohydrates in onion and garlic, dissolve in water and not in oil, so oil carries flavor without most of the fructan.
What is the best substitute for onion and garlic on low FODMAP?
There is no single best swap, because garlic and onion are used in different ways. For garlic flavor, use strained garlic-infused oil. For onion flavor, use the green tops of green onion, the green leaves of leek, or chives. For depth in cooked dishes, a small pinch of asafoetida helps. Ginger, lemon and fresh herbs fill the gaps (Monash FODMAP).
Here is the whole toolkit in one place, with what each swap does well and what to watch for.
| Swap | Replaces | Works best for | Watch out for |
|---|---|---|---|
| Strained garlic-infused oil | Garlic | Stir fries, roast vegetables, sauces, dressings | Garlic pieces left in the oil; botulism risk if home-made |
| Green tops of green onion | Onion | Stir fries, omelettes, noodles, garnish | The white bulb is high in fructans; check the serve size in the app |
| Green leaves of leek | Onion | Soups, stews, casseroles | The pale bulb end is not the same food |
| Chives and garlic chives | Onion, and some garlic note | Eggs, potatoes, dips, finishing dishes | Little flavor if cooked for long; add late |
| Asafoetida (hing) | Onion, savory base | Dals, curries, lentils, sauces | Often cut with wheat flour; potent smell; use a tiny pinch |
| Ginger, chilli, lemon, herbs | Brightness and depth | Almost everything | Spice blends that already contain onion or garlic powder |
| Certified replacer powders | Both | Convenience, shaker on the table | Cost, aftertaste, and variable quality |
A note on numbers. The serve sizes that make a green top or a leaf "low FODMAP" are set by laboratory testing and updated over time in the Monash University FODMAP Diet app, which is the reference to check. This page does not hand out gram amounts because they change and because your own threshold may be higher or lower. Clairop is not affiliated with Monash University.
The other thing to say plainly is that none of these is a perfect clone. In r/FODMAPS, people describe finding a few substitutes that work, then accepting that it is an approximation (r/FODMAPS). That honesty is a feature, not a failure, because the goal of the restriction phase is to find your threshold and then spend it on the places where real onion or garlic matters most.
Why do these substitutes work at all?
They work because fructans are water-soluble storage carbohydrates concentrated in the onion or garlic bulb. Humans have no enzyme in the small intestine that splits them, so they reach the colon intact and are fermented (Gibson 2010). Swap the bulb for a part of the plant, or a fat, that holds less fructan, and the load falls.
Three facts explain nearly every substitute on the list.
Fructans live mostly in the bulb. In Muir and colleagues' analysis of 60 vegetables, the highest fructan values belonged to garlic, artichoke, shallots, leek bulb and onions, ranging from 1.2 to 17.4 g per 100 g fresh weight (Muir 2007). Notice "leek bulb" in that list. It is the bulb end that is high, which is why leek leaves and green onion greens are treated differently from the pale base.
Fructans dissolve in water, not in oil. Inulin, the best-studied fructan, is described as a water-soluble storage polysaccharide (Shoaib 2016). The Monash team applies this directly. A whole onion or clove simmered in soup or stock leaches fructan into the liquid, so fishing the pieces out afterwards does not help. In an oil-based dish such as a stir fry, a large piece of onion or clove cooked briefly and removed before other ingredients go in gives flavor without the fructan moving into the meal (Monash FODMAP).
Flavor and fructan are different molecules. The compounds that make garlic taste and smell like garlic are not fructans. That is the whole reason a flavored oil can taste of garlic and still be tolerated by many people who react to garlic itself. For the full mechanism, including why the gut reacts to fructans the way it does, see why garlic and onion affect IBS.
One more reason to take the mechanism seriously: it tells you which tricks fail. Boiling an onion in stock and removing it fails. Cooking onion to caramelise it does not break fructan chains into absorbable sugars. Picking out the onion from a dish after cooking fails for the same water-solubility reason. Tricks that rely on oil, on a different part of the plant, or on a different ingredient entirely are the ones with a rationale.
Is garlic-infused oil really low FODMAP?
Properly made and strained, garlic-infused oil is the standard low FODMAP replacement for garlic, because the fructans stay with the removed garlic while the flavor travels into the fat (Monash FODMAP). "Properly made" is doing real work in that sentence. If garlic pieces remain in the bottle, so do the fructans. Garlic-infused oil is what makes homemade hummus workable, as explained in is hummus low FODMAP.
Three things separate a good infused oil from a disappointing one.
- No solids. Strain until nothing visible is left. A jar with cloves floating in it is garlic stored in oil, which is a different product.
- Oil is the carrier, not water. Adding a spoonful of infused oil to a soup works. Adding garlic to the broth does not.
- Heat control. Garlic that scorches turns bitter. Gentle warming is the usual home approach, then straining.
Some people in r/FODMAPS raise a fair point about shop-bought oils: methods differ between producers, and some are not what they appear. One commenter wrote that the safe commercial options they found have disappeared from sale, and that they now rely on other swaps (r/FODMAPS). That is one person's experience, not evidence about any brand, but it is a reminder to read ingredient lists. "Natural garlic flavor" in a bottle of oil is not the same thing as oil infused with garlic and strained.
If you react to strained garlic-infused oil, that is information. It points away from fructans and towards something else, such as the fat load, meal size or reflux. In the reintroduction phase, some people also use the oil as a control: if the oil is fine and real garlic is not, fructan is the likely culprit.
How do you make or buy garlic-infused oil safely?
Garlic in oil is a botulism risk, and that is the part most recipe pages skip. A 1989 outbreak caused three cases of botulism from garlic bread made from a garlic-in-oil product with a pH of 5.7, and led the FDA to require acidifying agents or microbial inhibitors in such products (Morse 1990). Home oil needs care.
Garlic is a low-acid food and a possible source of Clostridium botulinum spores. Surrounded by oil, it creates an oxygen-free environment where spores can grow at room temperature and produce toxin. Penn State Extension notes that botulism spores do not grow in an acid environment or at cool temperatures, advises checking that shop-bought infused oils are labeled as acidified or contain other inhibitors, and describes refrigerating fresh-herb oils for use within 2 to 4 days (Penn State Extension). It also points to a University of Idaho acidification method for home cooks, which only applies to the specific ingredients it lists.
What that means in practice:
- Buying: Read the label. Commercial garlic-in-oil products are formulated to control the risk, and the label tells you how to store them once opened.
- Making: Keep it cold, use it quickly, and never leave garlic sitting in oil at room temperature. Treat this page as a pointer, not a recipe. Follow current guidance from your local extension service or food safety authority.
- Straining is not a safety step. Removing garlic from oil reduces fructan, but the safety question is about what is in the jar and for how long.
- Never taste-test a suspicious jar. If an oil has been stored warm, or the lid is bulging, throw it away.
Botulism causes serious illness. If you or anyone else develops double vision, drooping eyelids, slurred speech, difficulty swallowing or muscle weakness after eating, seek urgent care.
Clairop logs meals, symptoms and stool in seconds, then looks for the foods your gut reacts to, including reactions that land days later.
Can you eat the green tops of green onion, leek and chives?
Yes, many people on the low FODMAP diet use them, because the fructans in these plants are concentrated in the white bulb and not in the green leaves. The Monash team lists the green parts of green onion and chives as replacements for onion, and a 2025 review of adapting the diet for Asian cuisines lists green onion greens and the green leafy part of leek as swaps (Monash FODMAP; Varney 2025).
A few practical points, because this is where small errors creep in.
Cut them off the bulb. The saving only works if the pale end stays out of the pan. Most supermarket green onions are sold with the root end attached. Trim the green leaf from the white base and keep the base for something else (or regrow it in a glass of water).
Add them late. Monash notes these swaps do not need to be sautéed as long as regular onion, and you may prefer to add them later in cooking for the best flavor (Monash FODMAP). Greens go limp and bitter if cooked for ages.
Leek leaves suit long cooking better than green onion greens. They are sturdier. Slice, wash well (grit hides between the layers), and simmer in soups and stews where an onion note is wanted.
Chives are the mildest. They are an herb. Snip them over eggs, potatoes, soups and dips at the end. Garlic chives give a mild garlic note and are one of the favorites that come up in r/FODMAPS (r/FODMAPS).
Serve sizes still apply. "Low FODMAP" is a statement about a serve, and serves change as foods are retested. Check the current figure in the Monash app, and remember that stacking several FODMAP-containing foods in one meal adds up (see FODMAP stacking examples).
Test it. The leaves are not fructan-free, and tolerance varies. If green tops give you symptoms, you have learned something about your threshold.
What is asafoetida (hing), and is it low FODMAP?
Asafoetida, also called hing, is a dried plant resin used in Indian cooking that turns savory and leek-like when fried in oil. It is a widely recommended low FODMAP onion swap, named by the Monash team, who note it has a potent smell, and by the 2025 Asian-cuisine review (Monash FODMAP; Varney 2025).
How people use it, based on how the Asian-cuisine review adapts dishes: a tiny pinch bloomed in hot oil at the start of cooking, in lentil dishes, curries and vegetable stir fries, often with garlic-infused oil and ginger (Varney 2025). The review's tables pair asafoetida with garlic-infused oil and the green leafy tops of green onion or leek as the core replacements.
The catch most pages skip is the ingredient list. The pure resin is hard to handle and strong, so retail hing powder is commonly sold blended with a bulking agent. Some blends use wheat flour, others use rice flour or gum, and some brands sell wheat-free or gluten-free versions. I did not find a peer-reviewed source on how common each blend is, so treat this as a label-reading rule, not a statistic.
This matters in two ways:
- For gluten. If you have celiac disease, wheat in a spice blend matters. Check the label, and ask a clinician if you are unsure.
- For fructan. Wheat contains fructans too, and in one double-blind crossover trial, fructans caused more symptoms than gluten in people who believed they were gluten sensitive (Skodje 2018). The amount of wheat in a pinch of hing is tiny and I could not find data on how much it matters, but if you are being strict, a wheat-free blend removes the question.
Use a small amount. It is potent, and too much tastes bitter and sulphurous. Store it in a sealed jar, because the smell travels.
Are certified low FODMAP onion and garlic replacers worth it?
They are optional. Powdered onion and garlic replacers made from allowed ingredients can be useful if you cook often and want a shaker on the table, but they cost more than chives or infused oil, and flavor varies by brand. What matters most is the ingredient list, because "gut-friendly" on a pack is a marketing phrase, not a test (Barreirinhas 2025).
The brands people in r/FODMAPS mention most often include Fody, Smoke n Sanity, Gourmend, FODMAP Friendly, Casa de Sante, FreeFod and Foddies (r/FODMAPS; r/FODMAPS). Opinions differ. Some people find certain essence-style seasonings taste closer to fresh than infused oils, and others dislike the aftertaste or the salt. This page does not rank brands, and a brand name on a forum is not an endorsement.
Why the label deserves suspicion: in a study that used ingredient lists and the Monash app serve sizes to classify 436 gluten-free and lactose-free products from a Portuguese retail chain, 53.0% were low FODMAP, 24.3% were high and 22.7% had unknown FODMAP content. Among products with a gluten-free claim, 31.6% were high FODMAP, and the "sauces, dressings, creams and soups" and "ready meals" categories had the highest proportion of high FODMAP ingredients (Barreirinhas 2025). That study did not test certified products, so it does not say certified replacers are risky. It says "free-from" does not mean "low FODMAP", which is the lesson.
A short label checklist:
- Look for the ingredients you did not choose. Onion powder, garlic powder, "spices" and "natural flavoring" can hide fructans.
- Look for a certification logo, then check the serve size. A certified product is certified for a stated serve.
- Check the other FODMAPs. A seasoning can be free of onion and garlic and still contain inulin, honey or another high FODMAP ingredient.
- Read stock cubes and sauces twice. In the 436-product study, sauces, dressings, creams and soups were among the categories with the most high FODMAP ingredients.
- Decide whether you need it. Many people do fine with infused oil, green tops and herbs, and skip specialist products.
Eating out is a separate problem, because you cannot read the pot. See how to avoid garlic and onion when eating out for questions to ask and where garlic and onion hide on a menu.
What can you use instead of onion and garlic in soups, stir fries, curries and sauces?
Match the swap to the cooking method, because the water-versus-oil rule decides what works. In oil-based cooking, flavor the oil. In water-based cooking, add flavor that is not a bulb. A short list by dish type follows.
| Dish | Garlic swap | Onion swap | Extra depth |
|---|---|---|---|
| Stir fry | Garlic-infused oil | Green onion greens added late | Ginger, chilli, lime |
| Soup or stew | A spoonful of garlic-infused oil at the end | Leek leaves, simmered | Fresh herbs, a splash of lemon |
| Dal or curry | Garlic-infused oil | A pinch of asafoetida in hot oil | Cumin, turmeric, ginger |
| Pasta sauce or bolognese | Garlic-infused oil | Chives or leek leaves | Tomato, oregano, basil, browned mince |
| Roast vegetables or potatoes | Garlic-infused oil | Chives scattered at the end | Rosemary, thyme, lemon |
| Dressing or dip | Garlic-infused oil | Chives | Mustard, lemon, herbs |
| Eggs and omelettes | A drop of garlic-infused oil | Chives or green onion greens | Black pepper, parsley |
A few notes behind the table.
Soups are the hardest. Because the broth is water, any bulb you simmer will put fructans into it. The reliable way is a base of leek leaves or green onion greens, with infused oil stirred in at the end, and homemade stock made without onion or garlic (Varney 2025). Shop stock cubes and cartons often list onion or garlic powder.
Pickled onion and garlic are a sometimes option. The 2025 review lists pickled garlic or onion, drained before use, as an option, and a food analysis found pickling and canning produced the largest FODMAP reductions among the processes tested (Varney 2025; Tuck 2018). Serve sizes are small and the app is the reference, so do not treat this as a free pass.
Cheap options beat specialist ones. Chives, leek leaves, a bottle of garlic oil and a jar of hing cover most dishes. For ideas on keeping the shopping bill down while doing this, see cheap low FODMAP meals.
If you are cooking for a family, the usual approach is to cook the base without onion and garlic, then let others add their own at the table. See low FODMAP family meals for that approach.
What tastes like garlic but isn't garlic?
Nothing tastes exactly like garlic, but a few things come closest: strained garlic-infused oil, garlic chives, and a pinch of asafoetida cooked in oil. Ginger, chilli, lemon, mustard, good salt and properly browned ingredients then rebuild the savory depth that people miss when the allium base disappears.
The practical idea is to spread the job across several smaller flavors instead of hunting for one that does everything.
- Aroma: garlic-infused oil, garlic chives, a pinch of asafoetida.
- Sweetness and body: well-browned vegetables, tomato paste cooked until it darkens, carrots.
- Brightness: lemon or lime juice, vinegar, a pinch of sugar if a sauce tastes flat.
- Heat and warmth: ginger, chilli, black pepper, cumin.
- Umami and salt: properly browned meat, a splash of low FODMAP soy sauce or other seasonings you have checked for onion and garlic, hard cheese if you tolerate lactose.
- Herbs: the Monash team lists fresh herbs, spices, ginger, lemon and lime as low FODMAP flavors (Monash FODMAP).
One trap: spice blends. Curry powder, taco seasoning, "all-purpose seasoning" and rubs often contain onion or garlic powder. A jar of single spices is safer than a blend with a long ingredient list.
Some people in the community mention kala namak (black salt) for its sulphurous, eggy note and radish for a sharp, raw-onion bite in Mexican-style dishes (r/FODMAPS). These are flavor ideas, not tested substitutes. Check the current app for any food before assuming a serve is low FODMAP.
Why does nothing taste quite the same?
Because onion and garlic are doing several jobs at once: aroma, sweetness, body, a lingering savory edge. No one substitute covers all of them. The most upvoted reply in one r/FODMAPS thread on this question calls the experience "a grieving process" and says nothing will come close, while still recommending infused oil and green onions as an approximation (r/FODMAPS).
That frustration deserves a straight answer, not a pep talk. Three things help.
Build flavor in layers. Garlic-infused oil for the base, green tops added late, and a squeeze of acid at the end. Each step adds a bit. It does not rebuild raw garlic, but it often gets close enough that nobody at the table notices.
Go for dishes where the allium is not the point. Lemon chicken, ginger and chilli stir fries, herb-roasted potatoes and miso-free noodle soups lean on other flavors. Save your energy for those instead of forcing a chilli that depends on onion.
Remember it is a phase. The restriction phase is meant to be short. Long-term follow-up of people given low FODMAP advice by dietitians in the UK found that, on average about 3.7 years later, 60% reported adequate symptom relief and 76% were in the personalization phase, where they eat as much of each FODMAP group as they tolerate (Rej 2021). Their nutritional intake did not differ from people on a habitual diet. The bland stage is not meant to be the destination.
There is also a wellbeing point. Cutting garlic and onion from your diet can shrink the number of foods you feel safe with. If food is becoming a source of fear, or you are skipping meals and social events, tell your dietitian or doctor. See can the low FODMAP diet cause an eating disorder for the evidence and warning signs.
How do you find out how much real onion and garlic you can eat?
You test it, in a structured way, during the reintroduction phase. The low FODMAP diet has three stages: restriction, reintroduction and personalization, and a typical course is at least two dietetic appointments (Whelan 2018). Reintroduction is where you learn your own threshold for fructans from onion, garlic and wheat.
Substitutes are a tool for the first stage and a safety net afterwards. They are not meant to replace testing. The reason is that fructan tolerance is personal, and the symptoms in IBS come largely from how sensitive the colon is to distension, not from how much gas is produced. In an MRI study, people with IBS and healthy volunteers produced similar amounts of colonic gas after an inulin drink, but the IBS group reported more symptoms (Major 2017). That is why one person tolerates a spoonful of onion and another does not.
What dietitians do in practice, according to a 2026 survey of 145 registered dietitians: over half challenge one food per FODMAP group, 37% test two or more, most wait one to three days before increasing a dose when there are no symptoms, and 63% complete reintroduction within one to two months (Pelletier 2026). The same survey found real variation between practitioners, which is a polite way of saying there is no single official script.
A few principles that hold across versions:
- Test garlic and onion separately. They are two foods, and people often tolerate one better than the other.
- Change one thing at a time, and keep everything else as steady as you can during the test.
- Treat dose as part of the question. "Can I eat onion?" is the wrong question. "How much onion, in which form, in what meal?" is the useful one.
- Use substitutes as the control. If you tolerate infused oil and green tops but react to a small portion of cooked onion, that is a clear, usable answer.
- Do it with a dietitian if you can. The diet is described as needing expert delivery by a dietitian trained in it (Gibson 2010).
This page does not give you a reintroduction schedule, and it should not. For the how and the order, read how to reintroduce foods after the low FODMAP diet, the low FODMAP reintroduction order and what reintroduction symptoms look like. For how long restriction should last, see how long should you do the low FODMAP diet.
How do you track which substitute works for you?
Write down what you used, how much, and what happened in the following 24 hours. Keep the log simple and consistent: the substitute (for example "garlic oil, one tablespoon, stir fry"), the portion, the rest of the meal, and symptoms with a time. After a couple of weeks, patterns show.
Why this is worth the effort: reactions to fructan foods can be delayed and mixed in with everything else in a meal. A log catches the combination, such as green tops plus a wheat-based sauce, that a memory of "I felt rough after dinner" does not.
A decent log has four parts:
- What: the substitute and the dish.
- How much: a rough amount you can repeat.
- When: time eaten and time of any symptoms.
- Anything else: stress, sleep, a restaurant meal, a late dinner.
Any notes app or paper diary works. If you want an app, Clairop is an iPhone symptom tracker where you log meals and symptoms and it looks for patterns across delays up to three days. It is not a medical device and cannot tell you what caused a symptom, and the Monash app remains the place to check serve sizes. If you want to compare tools, see our list of low FODMAP apps, and for how the approach works, see how Clairop works.
When should you see a doctor?
See a doctor promptly if you have blood in your stool, black stools, unexplained weight loss, fever, symptoms that wake you at night, anemia, new bowel symptoms after age 50, or a family history of bowel cancer, celiac disease or inflammatory bowel disease. These are not signs to fix with a recipe swap.
Two reasons to be careful. First, diet change should follow a proper diagnosis. The British Society of Gastroenterology guideline sets out a framework for diagnosing and managing IBS, including dietary therapy, and is the reference clinicians use (Vasant 2021). A UK consensus statement similarly advises that dietary therapy should be delivered by a dietitian who assesses triggers and tailors the approach (Rej 2022).
Second, a diet that removes foods can mask or delay the investigation of something else. If symptoms persist, change, or get worse, do not assume the next substitute will solve it.
Seek urgent care for swelling of the lips, face or throat, hives, or difficulty breathing after eating, and for the botulism symptoms described earlier. If you take medicines for a gut condition, talk to your prescriber before changing anything about them. This page is general information, not medical advice.
What are the common myths about onion and garlic substitutes?
"Garlic oil is low FODMAP no matter how it is made." Not quite. Strained oil is the standard swap, but oil with garlic pieces in it keeps the fructans, and home-made oil carries a safety risk (Morse 1990).
"Cooking onion for a long time removes the problem." Cooking changes flavor and sweetness. It does not turn fructans into absorbable sugars. A published analysis of processing methods found pickling and canning produced the largest reductions in the foods it tested, which is not the same thing as frying (Tuck 2018).
"Remove the onion from the soup and you are fine." The fructans leach into the water first, so removing the pieces does not help in soups and stocks. It is only useful in oil-based cooking (Monash FODMAP).
"If it says gluten-free or gut-friendly, it is low FODMAP." In the 436-product study, 31.6% of gluten-free-claim products were high FODMAP by ingredient review (Barreirinhas 2025).
"I have to avoid onion and garlic forever." The diet is meant to be temporary. Most people in a UK long-term follow-up were eating a personalized diet years after dietetic advice, with nutritional intake no different from a habitual diet (Rej 2021).
"Asafoetida is always safe." It is a widely used swap, but the powder can include wheat flour, so read the ingredients, and use only a small amount.
"Substitutes mean I never need to test." Substitutes get you through the restriction phase. Only structured testing tells you how much real onion and garlic you can handle. Restriction improves symptoms in many people with IBS, with randomized trials showing clinical response in 50% to 80%, but the long-term goal is a personalized diet (Staudacher 2017).
The short version
If you want one setup that covers most cooking: a bottle of strained garlic-infused oil, a bunch of green onions with the greens cut off the bulb, a pot of chives, a small jar of wheat-free asafoetida, and a few fresh herbs. Check serve sizes in the Monash app, read labels for onion and garlic powder, and treat all of it as the restriction phase, with reintroduction to follow.
Then test, with a dietitian if you can, how much real onion and garlic you can actually eat. For the underlying mechanism read why garlic and onion affect IBS, and for restaurants read how to avoid garlic and onion when eating out. For the wider list of foods to check, see the high FODMAP foods list and the low FODMAP food list.
Where the questions come from
The questions in this article reflect themes in threads on r/FODMAPS about onion and garlic substitutes, including what to use instead, replacement ideas and go-to substitutes. Reddit is used here for questions and lived experience only. Every health claim is sourced to the references listed below.




