Roasted garlic aioli turns a handful of pantry ingredients into a thick, creamy dip with mellow garlic flavor. This vegan garlic mayo starts with whole cloves softened in olive oil, then blends them with soy milk, mustard and vinegar until smooth.

Spread it over warm toast and add sliced tomatoes, or put a bowl beside crispy potatoes. The garlic can cook in the oven or in a small pot on the stove, so you can choose whichever fits your meal.

Why It Works

  • Mellow garlic: Cooking the cloves gently takes away their sharp raw bite and makes them easy to blend.
  • A creamy emulsion: Soy milk helps the oil blend into a thick spread without eggs or dairy.
  • Balanced flavor: Mustard and vinegar add tang, while a measured splash of the cooking oil brings extra garlic flavor.

How To Make It

Soften the garlic, cool it, then blend the mayo until creamy. Find the full measurements and instructions in the recipe card.

Olive oil poured over peeled garlic cloves in a small baking dish.
Prepare: Cover the garlic cloves with olive oil.
Soft golden garlic cloves after cooking in olive oil.
Cook: Soften the garlic, then let it cool.
Soy milk poured into a beaker with cooked garlic and oil.
Combine: Add the garlic and remaining mayo ingredients.
An immersion blender blending thick homemade garlic mayonnaise.
Blend: Blend until smooth, thick and creamy.

Tips for Creamy Mayo

  • Choose a small dish: The cloves should sit close together so you need less oil to cover them.
  • Use room temperature ingredients: Cool the garlic cloves and measured cooking oil completely to room temperature before blending. The soy milk should be at room temperature too. Refrigerate any leftover cooking oil promptly.
  • Measure the oil: Use only the listed amount in the mayo. The extra cooking oil is for another meal.
  • Start at the bottom: Keep the immersion blender still until the base thickens, then lift it slowly. A broad bowl makes this harder.

Swaps and Variations

  • Different vinegar: White wine vinegar works in place of apple cider vinegar. Lemon juice gives a fresher citrus flavor.
  • Fresh herbs: Stir finely chopped parsley or chives into the finished mayo.
  • A little heat: Add chili flakes or a spoonful of your favorite hot sauce after blending, then taste again for salt and acidity.

How To Serve It

Use it as a dip for crispy potato stacks, spread it on a black bean burger, or swap it for plain mayo in a chickpea tuna sandwich. For a quick snack, spread it over toasted bread and finish with sliced tomatoes, oregano and a pinch of salt.

Frequently Asked Questions

Is garlic aioli the same as garlic mayo?

Traditional aioli is made by emulsifying garlic and oil. Many modern recipes use the name for garlic mayonnaise. This version is a homemade vegan garlic mayo, with soy milk replacing egg and gently cooked garlic giving it a mellow flavor.

Can I use oat or almond milk?

Use plain unsweetened soy milk for this recipe. Oat and almond milk are not reliable direct substitutes because they do not emulsify in the same way. Avoid sweetened or vanilla soy milk, which changes the flavor.

Why is my mayo runny or separated?

First check that you used soy milk and measured the oils. A wide jug or lifting the blender too early can also stop the mixture thickening. To rescue a split batch, put 2 tablespoons of fresh soy milk in a clean narrow beaker. Blend while gradually adding the split mixture, a spoonful at a time at first. Once it thickens, add the rest in a thin stream. If it is smooth but slightly loose, refrigerate it before adjusting further.

Can I use only olive oil?

You can, but a strong extra virgin olive oil can dominate the mayo and taste bitter. A mild neutral oil for most of the emulsion keeps the garlic flavor clearer. The small measured portion of cooking oil adds enough olive oil flavor.

Can I cook the garlic in a pot instead?

Yes. Cover the peeled cloves with oil in a small pot and cook gently over low heat until soft enough to mash. Stir occasionally and reduce the heat if they brown before softening. Cool the garlic and the measured cooking oil completely to room temperature before blending.

Can I make it ahead or freeze it?

Make it ahead and refrigerate it in a clean covered container. Use it within 4 days of cooking the garlic, even if you blend the mayo later. Freezing the finished mayo can break the emulsion; freeze spare garlic oil separately instead.

Storage

Keep the mayo in a clean covered container in the refrigerator at 40°F (4°C) or below, and use within 4 days of cooking the garlic. Refrigerate any unused garlic oil promptly and use within the same time, or freeze it. These storage limits follow guidance for homemade garlic in oil. Use a clean spoon each time.

More Recipes To Try

Recipe Card

Thick vegan garlic mayo spread over a slice of toasted bread on a wooden board.

Roasted Garlic Aioli (Vegan Garlic Mayo)

5 from 1 review
A thick, creamy garlic mayo made from scratch with soy milk and gently cooked garlic. Serve it with potatoes, sandwiches or toasted bread.
Prep Time 10 minutes
Cook Time 1 hour
Cooling (estimated) 20 minutes
Total Time 1 hour 30 minutes
Servings: 28 tablespoons
Course: Condiment, Dip
Cuisine: Mediterranean inspired
Calories: 80

Ingredients
 
 

For the garlic
  • ½ cup peeled garlic cloves measure after peeling; bulb sizes vary
  • ½ cup olive oil or enough to just cover the garlic in a small dish; only part goes into the mayo
For the mayo
  • ½ cup plain unsweetened soy milk at room temperature
  • ¾ cup neutral oil such as sunflower or canola oil
  • ¼ cup garlic cooking oil reserved from above and cooled completely to room temperature; not extra oil
  • 1 tbsp apple cider vinegar
  • 1 tsp Dijon mustard
  • ½ tsp fine salt plus more to taste

Method
 

  1. Cook the garlic: Heat the oven to 325°F (160°C). Put the peeled cloves in a small ovenproof dish and add enough olive oil to just cover them. Cover with foil and cook for about 45 to 60 minutes, checking from 40 minutes, until the cloves mash easily with a fork. Stop before they turn dark. Alternatively, use a small pot on the stove over low heat for about 20 to 30 minutes, stirring occasionally. Keep the oil gently bubbling, not rapidly frying; large cloves may need longer.
  2. Cool and measure: Lift all the garlic out with a slotted spoon and spread it on a plate to cool. Measure the reserved cooking oil listed in the mayo ingredients. Let both the garlic cloves and this measured oil cool completely to room temperature before blending. The soy milk should also be at room temperature. Refrigerate any remaining garlic oil promptly.
  3. Fill the beaker: Use a tall, narrow beaker that fits the head of your immersion blender closely. Add the soy milk, vinegar, mustard, salt and cooled garlic. Pour in the neutral oil and the measured garlic cooking oil. Let the liquids settle briefly.
  4. Blend: Place the blender flat on the bottom and blend without lifting for about 15 to 30 seconds, until a pale, thick layer forms around the blade. Slowly raise the blender to draw in the remaining oil, then move it gently up and down until the mayo is smooth and no oil remains on top. This usually takes about 1 minute in total.
  5. Adjust and serve: Taste and add more salt or a small splash of vinegar if needed. If the mayo is too thick, stir in water a teaspoon at a time. Use as a dip or spread, or chill for a firmer texture.
  6. Store: Transfer to a clean covered container and refrigerate promptly at 40°F (4°C) or below. Use within 4 days of cooking the garlic. Refrigerate the leftover garlic oil separately and use within the same 4 days, or freeze it. Do not leave the mayo or garlic oil at room temperature for more than 2 hours.

Nutrition

Serving: 1tablespoonCalories: 80kcalCarbohydrates: 1gProtein: 0.3gFat: 8.1gSaturated Fat: 0.7gSodium: 45mgFiber: 0.1gSugar: 0.05g

Notes

Oil quantity: Only the measured garlic cooking oil goes into the mayo. Do not pour in all the oil from the baking dish. Use more neutral oil in its place if you prefer a milder flavor.
Milk and equipment: Plain unsweetened soy milk and a narrow immersion blender beaker give the most reliable texture. For doubled batches, blend separately if your beaker is too small.
Yield and nutrition: Makes approximately 1¾ cups, or 28 tablespoons. Nutrition is estimated per tablespoon using 1 cup total blended oil, with a small allowance for oil clinging to the garlic. Unused cooking oil and serving extras are excluded.

Tried this recipe?

Let us know how it was!

THE DR. VEGAN COOKBOOK COLLECTION

Your next favourite dinner is in here

Explore seven digital cookbooks with 200+ plant-based recipes, from quick dinners to comfort food. The link opens the official Dr. Vegan cookbook store.

Explore the cookbooks →

Making this later? I’ll email you this recipe, free.

The recipe on this page, straight to your inbox. No payment or card needed.

New here? Click the button in your email to open this recipe and confirm you’d like my free recipe emails: five reader favorites over the next few days, then one a week. Unsubscribe anytime.