What Is Aioli and How Is It Different From Mayo?

By the Pan AI team · Updated · 4 min read

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.

What Is Aioli and How Is It Different From Mayo?

Handy for this: Cups to tablespoons · Grams to cups

At a glance

  1. Aioli is a thick garlic sauce, close to garlic mayonnaise.
  2. For a quick version, stir grated garlic into mayonnaise.
  3. Add lemon juice and a pinch of salt.
  4. Let it sit 10 minutes so the garlic mellows.
  5. Making it from scratch? Use pasteurized eggs.
  6. Refrigerate it right away.
  7. 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.

What Pan would say

“The fries are golden and crisp. Take them out and serve them with the aioli.”

Aioli vs mayonnaise

AioliMayonnaise
BaseGarlic and oil (often egg yolk too)Egg yolk and oil
OilUsually olive oilUsually neutral oil
FlavorStrong garlic, peppery olive oilMild, tangy
UseDip, spread, sauce for fishSandwiches, 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

Reviewed against USDA FSIS, FoodSafety.gov and FDA guidance. How we choose sources and fix mistakes: editorial policy.

Keep cooking