In a mixing bowl, combine the finely minced or grated garlic with the Dijon mustard, if using.
Add the mayonnaise to the bowl.
Squeeze in the fresh lemon juice.
Season with salt and pepper to taste.
Stir all the ingredients together until well combined.
Taste and adjust seasoning as needed, adding more garlic, lemon juice, salt, or pepper according to your preference.
If you prefer a smoother consistency, you can blend the mixture in a food processor or with an immersion blender until smooth.
Transfer the garlic aioli to a serving bowl or airtight container.
Cover and refrigerate for at least 30 minutes before serving to allow the flavors to meld together.
Serve chilled as a vegetable dip, a spread for sandwiches and burgers, or a sauce for grilled meats, seafood, or roasted vegetables.
Notes
Feel free to customize the garlic aioli to your liking by adding fresh herbs like parsley, chives, or basil or experimenting with different spices such as paprika or cayenne pepper. Enjoy your homemade garlic aioli with your favorite dishes!