The main difference between mayonnaise and aioli is that the mayonnaise is a white, thick sauce often used to make tuna fish, crab cake, and delicious sandwiches. It is possibly the most popular condiment in America, only rivaled by ketchup and mustard.
Aioli, on the other hand, is a special sauce composed of garlic, olive oil, egg yolks, and seasonings. Aioli uses the same method as mayonnaise, but it contains garlic, while mayonnaise is just egg, oil, and acid. Officially, aioli is created by mixing olive oil and garlic.
Since it is challenging to mix with garlic paste, chefs enhance the consistency of aioli by adding stale bread pieces or boiled potatoes. Mayonnaise is mostly made up of canola oil and vegetable oil. Aioli is thicker than mayonnaise, and it is available in different flavors.