Get the app

Home › Tips

Garlic and onion: what to use instead in cooking

Garlic and onion are in almost every recipe, and among the foods highest in fructans. The good news: you can keep much of their flavour.

By Fabien, creator of FODMAP Scanner · 12 November 2026 · 4 min read

Key points
  • Garlic and onion: only a few grams stay green.
  • The green parts (spring onion, leek) are low in FODMAPs.
  • Garlic-infused oil keeps the flavour without the fructans.

Why they are a problem

FoodGreen servingMain FODMAP
Garlic1.7 gFructans
Garlic powder / granules0.7 gFructans
Black garlic3 gFructans
Shallot3.4 gFructans
Onion (brown, red, white)16 gFructans
Onion powder / fried onion2.5 gFructans
Spring onion (bulb)4.8 gFructans
Leek (white part)4.2 gFructans
Leek (whole)20 gFructans

A few grams are enough: a garlic clove often weighs more than the green serving. Powdered versions are even more concentrated.

The swaps

FoodGreen servingMain FODMAP
Spring onion greens / chivesno FODMAPs measured–
Leek (green leaves)no FODMAPs measured–
Oils (incl. garlic-infused oil)no FODMAPs measured–
Herbs and spicesno FODMAPs measured–

In a dish

Vegetable stir-fry with onion and garlic
FoodAmountAlone
Courgette100 ggreen alone
Pepper50 ggreen alone
Onion20 gorange alone
Garlic (1 clove)3 gorange alone
Fructans + GOS397%
Polyols93%

Whole meal: red (397% of the cut-off)

Same stir-fry, with swaps
FoodAmountAlone
Courgette100 ggreen alone
Pepper50 ggreen alone
Spring onion greens15 ggreen alone
Garlic-infused oil10 ggreen alone
Fructans + GOS97%
Polyols93%

Whole meal: green (97% of the cut-off)

The traps of ready-made products

Onion and garlic powder turn up in stock cubes (green up to 15 g), sauces, ready meals, flavoured crisps and spice blends. Read the ingredient list: see the ingredients to spot.

Frequently asked questions

What can I use instead of onion on the low FODMAP diet?

Spring onion greens or leek greens, which bring onion flavour with very few fructans.

Is garlic oil low FODMAP?

Yes, oil infused with garlic and then strained. Fructans do not dissolve in fat.

Is garlic powder better tolerated than fresh garlic?

No. It is even more concentrated: in our database, it stays green up to less than 1 g.

⚠️ A help tool: it does not replace advice from a health professional. Persistent digestive symptoms should be checked by a doctor.

Sources

Whole-meal maths, in your pocket

FODMAP Scanner adds up the FODMAPs of your whole meal, scanned products included.

Read next

Work out your whole mealGet the app