Low-FODMAP Garlic and Onion Substitutes That Still Taste Savory
By the QuiteRecipes team (Jamy & Kaïna)
Low-FODMAP dining is short on garlic and onion, but you can rebuild that savory depth with infused oils, greens, and smart spice tricks.

When my sister started a low-FODMAP diet, her very first question was not about portion sizes or trigger lists. It was about garlic. She could handle the rest of the plan, she said, but the idea of cooking every single meal without garlic felt like losing a limb. I will never forget standing in her kitchen, both of us staring at her spice rack like it was a puzzle with a missing piece.
The good news, which we discovered together over the following weeks, is that the garlic-onion flavor lives largely in the volatile oils rather than the fiber that causes trouble. That one fact is the key to the whole playbook. You can get most of the savory punch of garlic and onion through swaps that skip the FODMAP-rich parts entirely, and the food does not have to taste like a compromise.
This is not medical advice, and I want to say that up front. A low-FODMAP diet is a clinical tool, usually done with a dietitian, and everyone's triggers are different. What follows is the cooking side of the problem — how to keep food savory and satisfying while you follow the plan your care team gave you.
Quick Identity
Garlic and onion are the aromatic backbone of nearly every savory cuisine, and they are high in fructans, a type of FODMAP that bothers many sensitive guts. Their flavor comes from sulfur compounds and sugars, and the sulfur compounds — which is where a lot of the characteristic savor lives — are largely oil-soluble, while the fructans are water-soluble. That difference is the entire basis for the swaps below.
The practical upshot: a garlic-infused oil can carry garlic flavor without dragging along the water-soluble fructans, as long as the actual garlic pieces are removed. That is why bottled garlic-infused oil is such a staple for people eating low-FODMAP. Meanwhile, the green parts of scallions and leeks carry more flavor and fewer FODMAPs than the bulbs, and a handful of spices can fill the savory gap that the missing alliums leave behind.
The substitutions range from pantry-ready to slightly adventurous. Infused oils and scallion greens are everyday. Asafoetida, the Indian kitchen's savory secret, is the wildcard that can make a dish taste genuinely complete. And a simple star anise in a stew is the quiet trick nobody expects.
Flavor and What the Swaps Actually Do
The challenge with removing garlic and onion is not that food becomes unseasoned. It is that it loses a specific kind of round, savory warmth that sits underneath everything else. Simply leaving them out leaves a dish thin and flat, and the usual fix — garlic powder or onion powder — is actually worse for a sensitive gut, because powders concentrate the fructans.
So the goal is to rebuild two things: the savory depth and the aromatic lift. Garlic-infused oil handles depth, because it carries the oil-soluble flavor compounds into the pan with none of the problematic fiber. Scallion greens and chives handle lift, adding a fresh, gentle onion note at the end of cooking or raw over a finished dish. Asafoetida handles punch, delivering a garlic-onion-like savor from a tiny pinch bloomed in hot oil.
Star anise is the sleeper. Dropped into a soup or stew and removed before serving, it adds a savory, almost meaty depth that no one would guess came from a spice known for sweetness. It rounds out a pot in a way that makes you forget what is missing. Between the oil, the greens, the hing, and the star anise, you have four different tools aimed at the same gap, and layering two or three of them is what makes the dish taste complete.
A Bit of History
Asafoetida, or hing, has been the great allium stand-in for centuries, long before anyone had a name for FODMAPs. In parts of India, where certain communities avoid garlic and onion for religious reasons, hing became the standard way to get that savory depth into a dish — a pinch bloomed in ghee or oil, and the whole pot tastes like it was built on onions. It is a remarkable bit of culinary problem-solving, and it means the tradition of cooking without alliums is centuries deep.
Garlic-infused oil has a shorter but very practical history. It is a common restaurant technique for making flavored oils, and cooks figured out that straining out the solids left behind the flavor. For anyone watching FODMAPs, that same technique turns into a workhorse.
The scallion and leek-green idea is simply old kitchen wisdom, rediscovered. Cooks have always known that the green tops of spring onions are milder and sweeter than the bulbs, and that a scatter of chives brightens a plate. Putting that knowledge to work in a low-FODMAP kitchen is less a new invention than a return to what good cooks already did. This is often how dietary cooking works — it nudges you back toward techniques that were always there.
Choosing, Buying, and Storing the Swaps
For garlic-infused oil, buy a reputable bottled version if you can, and check that it is made by infusing and straining rather than by adding garlic powder. Store it as directed, usually in a cool dark place or the fridge. If you make your own, refrigerate it and use it quickly — more on the safety of that below, because it matters.
Asafoetida comes as a yellow powder, often cut with a starch or gum to keep it manageable, and sometimes as a resin. The powder is far easier to use. Store it in a tightly sealed jar, because its smell is potent and it will perfume your whole cabinet if you let it. A little jar lasts a very long time.
Scallions, chives, and leeks are best bought fresh and used within a few days. Wrap scallions and chives in a damp paper towel and refrigerate. Leeks keep well in the crisper. Star anise keeps for years in a sealed jar, so it is an easy thing to keep on hand for the savory trick. And a good all-purpose savory spice blend rounds out the kit.
Dosage, Technique, and Mistakes to Avoid
Use about two tablespoons of garlic-infused oil to sauté the base of a dish, treating it exactly as you would plain oil. For asafoetida, a quarter teaspoon bloomed in hot oil for a few seconds is plenty — it is strong, and too much turns a dish bitter and medicinal. For scallion greens or chives, a quarter cup chopped fresh over the finish gives a gentle onion lift. A single star anise in a pot of soup, removed before serving, adds quiet depth.
Technique is where these swaps come alive. Bloom your substitutes in warm oil before adding liquid, because aromatics release flavor into fat first. Use infusion oil the same way you would plain oil, but add salt and other spices early so the dish does not taste thin. Layer two or three swaps rather than relying on one: greens for freshness, oil for depth, asafoetida for punch, star anise for savor. Taste as you go, and add a splash of umami like tamari or a little broth to fill any remaining gaps. Keep the swaps visible in the pan, and no one will ask where the garlic went.
The mistakes are worth naming. Garlic and onion powders, even small pinches, concentrate the FODMAPs and can trigger symptoms, so leave them out. Shallots are still bulb onions and are often high in FODMAPs in any real quantity, so they are not the gentle option they appear to be. Large doses of any single swap can shift both the flavor and the symptoms. And the biggest mistake of all is the safety one: making garlic oil at home by steeping raw garlic in oil and storing it at room temperature can create a serious botulism risk. If you infuse your own, refrigerate it and use it within a few days, or skip it and buy a reputable prepared oil. Our guide to savory depth without garlic goes deeper on the general problem, and our asafoetida page covers the spice itself.
Flavor Pairings: Classic and Surprising
These swaps slot into any savory dish. Garlic-infused oil is the base for stir-fries, soups, and roasted vegetables, and it makes a lovely dressing when whisked with lemon and a little cumin. Asafoetida belongs in curries, dals, and bean dishes, where a pinch bloomed in oil gives the whole pot a familiar savor. Scallion greens and chives finish everything from eggs to baked potatoes to salads.
For pairings that rebuild the missing allium note, lean on cumin, smoked paprika, turmeric, ginger, and black pepper. These warm spices do a lot of the work that garlic and onion normally do, and they are friendly to most sensitive stomachs. Fresh herbs like parsley, cilantro, and basil add freshness without any FODMAP load. And a squeeze of lemon at the end brightens a dish that might otherwise taste flat.
The surprising pairings are the fun ones. Star anise in a beef stew or a pot of vegetable soup adds a savory backbone that feels almost like a secret ingredient. A little ginger in a marinade gives warmth and covers for the missing depth. And a pinch of asafoetida in a simple tomato sauce makes it taste like it simmered with onion all afternoon. Once you have these tools, the gap closes fast.
Health and Safety, With Honesty
I want to be careful and clear here, because this is a health-adjacent topic and I am not a dietitian. The low-FODMAP diet is a clinically designed elimination-and-reintroduction protocol, usually done with a professional, and the goal is not to eat this way forever. These swaps are cooking tools to use while you follow the plan your care team gave you. Everyone's tolerance is different, so introduce one swap at a time and see how you feel.
The two safety notes that matter most. First, garlic-infused oil made at home by steeping raw garlic carries a genuine botulism risk if stored at room temperature, because garlic in oil can support the growth of the bacteria that cause it; keep homemade infusions refrigerated and short-lived, and buy prepared oils from reputable makers. Second, garlic and onion powders concentrate the compounds that trigger symptoms, so they are not a safe shortcut even in small amounts for many people. Beyond that, check individual foods against a reliable low-FODMAP resource and, when in doubt, ask your doctor or dietitian.
Substitutes and Their Limits
Here is the practical kit, with what each one does.
- Garlic-infused oil: Depth, for the base of any dish. Heat it first and use it for sautéing.
- Scallion or spring onion greens: Onion flavor without the bulb's FODMAP load. Slice diagonally for full effect.
- Chives: A bright, gentle onion note with almost no risk, great raw over finished dishes.
- Asafoetida (hing): The garlic-onion stand-in, used sparingly at the very start. A tiny pinch goes far.
- Leek whites, in small amounts: Lower in FODMAPs than onion when a recipe wants gentle flavor.
- Fennel, celery, or a whisper of celery salt: Builds an aromatic base without the offending bulbs.
- A star anise in soups and stews, removed before serving: Savory depth from an unexpected source.
The limits are real. No single swap fully reproduces the exact taste of garlic or onion, so layering is essential. Asafoetida is potent and easy to overdo. And if you are following a strict elimination phase, even some of these may need checking against your specific plan. For the spice side of the same challenge, our low-FODMAP spice pairings guide is the natural companion, and our onion powder substitutes and asafoetida substitutes pages cover the close cousins.
FAQ: What People Actually Ask
Is garlic-infused oil safe on low-FODMAP? Usually yes, because FODMAPs are water-soluble rather than oil-soluble, so the flavor transfers while the fructans stay behind. Check with your care team for your own case.
Is asafetida the same as asafoetida? Yes, same spice, sold as a yellow powder that goes into hot oil first.
Can I eat regular scallion whites? The green parts are safer. The bulbous whites pile up FODMAPs quickly.
Are these swaps safe for everyone? No single substitute is universal. Tolerance varies, so introduce each one on its own and watch how you feel.
Is homemade garlic oil safe? Only if you refrigerate it and use it within a few days. Room-temperature garlic-in-oil can carry a botulism risk. Buying prepared oil is the safer route.
Why is garlic powder worse than fresh garlic? It concentrates the fructans, so a small pinch can carry a large dose.
Can I use shallots instead of onion? Usually not. Shallots are bulb onions and are often high in FODMAPs in real quantities.
Does this replace medical advice? No. It is a set of cooking swaps. Work with a doctor or dietitian on your actual plan.
A Little Kitchen Anecdote
The star anise trick is the one that convinced my sister the whole thing could work. She was making a beef stew in the elimination phase of her diet, and it tasted flat and sad without onion. I remembered reading that a single star anise could add savory depth, so we dropped one in and let it simmer. She tasted it twenty minutes later and went very quiet. Then she said, "It tastes like a stew again." Not like onion, exactly, but like a stew that belonged on a table. She still texts me every time she uses it, one little star, removed at the end, doing the work of a whole bulb.
Try It In These Ideas
Build a savory base with garlic-infused oil and a pinch of asafoetida, finish with scallion greens or chives, and drop a star anise into any stew that tastes thin. Try it in a dal, a bean soup, a stir-fry, or a simple tomato sauce. For more, explore the broader low-FODMAP spice pairings and get to know cooking with savory depth without garlic and the spice itself on our asafoetida page. The bulb is gone, but the savor does not have to be.
Recipes using this spice

Spooky Halloween Jack-O’-Lantern Stuffed Peppers
- Contains
- Milk
Make festive Halloween jack-o'-lantern stuffed peppers carved with spooky faces and filled with savory beef and rice in 60 minutes!

Vegan Fettuccine Alfredo
- Contains
- Nuts
- Milk
- Gluten
A decadent, restaurant-quality vegan Fettuccine Alfredo. Features a rich, velvety almond-based cream sauce sautéed with garlic, onions, and mushrooms for a savory, satisfying dinner.

All-Purpose Vegan Cream Substitute
- Contains
- Nuts
A silky, versatile, and budget-friendly vegan cream substitute. Perfect for thickening soups, pasta sauces, and casseroles without dairy.

Baked Chicken Drumsticks + rice
Crispy, savory oven-baked chicken drumsticks served alongside fluffy seasoned rice.

Beef Bean Rice Guacamole Cheese Burrito
- Contains
- Milk
- Gluten
A giant bulking burrito packed with seasoned beef, beans, rice, guacamole and melted cheese in one hearty wrap.

Beef Bolognese with penne
- Contains
- Milk
- Gluten
A rich, savory beef bolognese meat sauce tossed with hearty penne pasta and parmesan.
Related Articles

Garlic Flakes Substitutes When the Crunch Is the Point
Garlic flakes give garlic flavor with a soft bite. Keep the taste with powder or the texture with fresh sliced cloves, as each dish needs.

Nigella Seed Substitutes for Oniony, Warm Seeds
Nigella seeds pop with an oniony, herbal warmth atop breads and curries. Swap in sesame, caraway, or toasted onion seeds when the jar is bare.

Allspice Substitutes for That One-Jar Warmth
Allspice tastes like cinnamon, clove, and nutmeg had a baby. Rebuild it by blending warm pantry spices for bakes, stews, and holiday jars.

Asafoetida Substitutes for That Garlic-Onion Swing
Asafoetida brings a whisper of garlic and onion to curries without the bulbs. Swap in garlic powder, onion, or a warm pinch per dish.
About the Authors
This recipe and guide was developed, tested, and approved in our home kitchen and daily life. Jamy is a retired Food Service District Manager and Early Childhood Program Manager who spent his career overseeing multi-site restaurant operations, large-scale culinary production, and daycare menu management. Kaïna brings the ultimate real-world test: making sure it brings ease and joy to our kids on a busy weeknight.
Read more about our professional background and philosophy →