What Is Aioli and How Is It Different From Mayo?
Quick answer
Aioli is a creamy Mediterranean garlic sauce. The traditional version is garlic pounded with olive oil until it thickens; most modern aioli is garlic mayonnaise made with egg yolk, oil, garlic and lemon. Homemade versions with raw yolks carry a salmonella risk, so the FDA advises pasteurized eggs for any raw-egg recipe. The quickest safe aioli is store-bought mayo stirred with fresh garlic.

Handy for this: Cups to tablespoons · Grams to cups
At a glance
- Aioli is a thick garlic sauce, close to garlic mayonnaise.
- For a quick version, stir grated garlic into mayonnaise.
- Add lemon juice and a pinch of salt.
- Let it sit 10 minutes so the garlic mellows.
- Making it from scratch? Use pasteurized eggs.
- Refrigerate it right away.
- Use it within a few days.
The short version
The name joins the Provençal words for garlic and oil, and that's what the original sauce is: garlic crushed with olive oil, drop by drop, into a thick paste, eaten across southern France and Spain. Today most aioli, in restaurants and in jars, is a garlicky mayonnaise, made by whisking oil into egg yolk with garlic and lemon. It's served with fries, seafood, sandwiches, burgers and roasted vegetables.
“The fries are golden and crisp. Take them out and serve them with the aioli.”
Aioli vs mayonnaise
| Aioli | Mayonnaise | |
|---|---|---|
| Base | Garlic and oil (often egg yolk too) | Egg yolk and oil |
| Oil | Usually olive oil | Usually neutral oil |
| Flavor | Strong garlic, peppery olive oil | Mild, tangy |
| Use | Dip, spread, sauce for fish | Sandwiches, salads, base for sauces |
In practice, the line is blurry; many menus use “aioli” for any flavored mayonnaise.
Is homemade aioli safe?
The risk is the raw egg. The FDA says that for recipes where eggs stay raw or undercooked, such as Caesar dressing, you should use shell eggs treated to destroy salmonella, by pasteurization or another approved method, or pasteurized egg products. A Maryland Extension expert notes homemade mayonnaise with raw yolks is generally considered unsafe, and advises caution with young children, older adults, pregnant people and anyone with a weakened immune system even when the eggs are pasteurized. SDSU Extension adds that the risk from eggs is highest in raw and lightly cooked dishes.
How to make aioli
Quick and safe: stir 1 to 2 finely grated garlic cloves, 1 teaspoon lemon juice and a pinch of salt into ½ cup store-bought mayonnaise, which is made with pasteurized eggs. Let it sit 10 minutes for the garlic to soften. From scratch: whisk a pasteurized egg yolk with garlic, lemon and salt, then add olive oil a few drops at a time until it thickens. Want it mellower? Use roasted garlic instead of raw, and see how to mince garlic to get it fine.
How to use and store it
Serve aioli with fries, crab cakes, grilled fish, steamed artichokes, burgers and roasted potatoes, or spread it on sandwiches. Refrigerate it right away and don't leave it out more than 2 hours. The FDA says refrigerated egg-containing dishes should be used within 3 to 4 days, so make small batches.
Common mistakes
- Using regular raw eggs. Choose pasteurized eggs for any uncooked sauce.
- Adding oil too fast. The sauce breaks; add it drop by drop at first.
- Too much raw garlic. It gets sharper as it sits; start with one clove.
- Keeping it a week. Make what you'll use in a few days.
Keep going
Next up: Air Fryer French Fries, How to Roast Garlic Whole Until It's Spreadable and How to Mince Garlic Quickly, Plus How to Peel It.
Pan watches it for you
Pan cooks the fries for you
Making fries to dip in aioli? Pan watches through your phone camera and tells you out loud when to shake the basket and when they're crisp.
- Grate the garlic fine
- Lemon and salt
- Pasteurized eggs only
- Refrigerate right away
Pan AI is on iPhone • Android.
Common questions
What does aioli taste like?
Creamy and rich with a strong garlic flavor, plus a little tang from lemon.
Is aioli just garlic mayo?
Most modern aioli is. The traditional version is only garlic and olive oil, no egg.
Is aioli safe to eat?
Store-bought aioli and versions made with pasteurized eggs are; homemade aioli with raw, unpasteurized yolks carries a salmonella risk.
How long does aioli last in the fridge?
Homemade aioli is best used within 3 to 4 days; follow the label for jarred aioli.
How do you make quick aioli?
Stir grated fresh garlic into store-bought mayonnaise with a little lemon juice and a pinch of salt, then let it sit 10 minutes so the garlic mellows.
What is the difference between aioli and mayonnaise?
Traditional aioli is garlic and olive oil, often with egg yolk, and tastes strongly of garlic. Mayonnaise is egg yolk and usually neutral oil, with a milder, tangy flavor.
What do you eat aioli with?
Aioli is served with fries, seafood, sandwiches, burgers and roasted vegetables.
Sources
- USDA FSIS: Leftovers and Food Safety
- FoodSafety.gov: Safe Minimum Internal Temperatures
- FDA: What You Need to Know About Egg Safety
- Ask Extension: Is Homemade Mayonnaise Safe?
- South Dakota State University Extension: Egg Safety in Holiday Foods
Reviewed against USDA FSIS, FoodSafety.gov and FDA guidance. How we choose sources and fix mistakes: editorial policy.
Keep cooking
- Start hereAir Fryer French FriesAir fryer french fries: soaked fresh-cut fries take 15–20 minutes at 380°F (195°C), shaken every 5. Frozen fries take 10–15 minutes at 400°F.
- Start hereHow to Roast Garlic Whole Until It's SpreadableHow to roast garlic: cut the top off a whole head, drizzle with oil, wrap in foil and roast at 375–400°F for 40–45 minutes until soft and golden. Storage too.
- Start hereHow to Mince Garlic Quickly, Plus How to Peel ItHow to mince garlic: smash the clove under a flat knife, peel it, trim the end, slice it thin, then rock the knife over it into ⅛-inch bits. Plus storage tips.
- Start hereHow to Cook Air Fryer Hamburgers to a Safe 160°FAir fryer hamburgers: cook ¾-inch patties at 375°F for 8–12 minutes, flipping once, until they reach 160°F inside. Times by thickness, cheese and buns.
- Free toolWhat can I make?Type what is in your fridge and get simple recipes you can cook right now.