How to Make Homemade Mayonnaise
Learn how to make homemade mayonnaise in less than 10 minutes with only 4 ingredients. It's a failproof recipe (if you follow my 2 tips) and very easy to make. Homemade mayonnaise can be flavored in many ways and is so much better than store-bought!

Have you ever made your own mayo? It's super simple to do, but I know a lot of people are intimidated by it. That's why I wanted to show you just how easy it is to make mayonnaise.
I think that learning how to make homemade mayonnaise is a cooking skill that everyone should learn. I know it's never going to replace opening a quick and easy jar to slather on a sandwich or make tuna salad, cause let's be real! But it is SO MUCH BETTER when you make it yourself that I think everyone should do it at least once. Just to see what all the fuss is about.
And with the two little tricks I've learned over years of mayo making, this homemade mayonnaise recipe is literally failproof.

The 2 most important tips for making homemade mayonnaise
Making mayo is about getting the egg and oil to emulsify. If they don't, you'll be left with a sad, runny mess. We definitely don't want that! Here are the two things you MUST do to make sure your mayo emulsifies:
- Use a room temperature egg. Whatever you do, don't pull an egg out of your refrigerator and try to make mayo with it. You might get lucky and it will work, but chances are it won't. Don't take the risk. To warm the egg, put it in a glass and fill the glass with hot tap water. Give it 5 minutes and it will be ready to use.
- Whisk the egg yolk with an acid. I like to use lemon juice, but vinegar works, too. The reason you want to do this is that the acid starts to break down the proteins in the egg yolk so they emulsify better. Whisk the egg yolks and lemon juice well (so they look like the picture below) before you begin adding the oil.

Here are a few more tips for making homemade mayo
Once you've followed the 2 most important mayonnaise making tips, these other tips will help make sure you have the best mayo possible.
- Add the oil VERY slowly. When you begin, the oil should be poured in the tiniest stream, like in the picture below. Once the mayonnaise begins to thicken, you can pour the oil a little faster. If you ever notice the oil building up, stop pouring it and whisk the mayo briskly until it is incorporated.
- Use a neutral-flavored oil. My favorite is avocado oil. Avoid olive oil or your mayonnaise will have a very strong flavor.
- Use salt, but sparingly. A pinch or two is all you need.
- Always use freshly squeezed lemon juice. The stuff you buy in bottles will make your mayonnaise taste funny.
- If you'd like a thinner mayonnaise, whisk in a little splash of water or some more lemon juice at the end. For thicker mayo, add an extra egg yolk or more oil.

Are raw eggs safe to eat?
According to the USDA, no. But that definitely doesn't stop me. The risk of salmonella poisoning is so remote that it is not something I'm concerned about. I don't know if it's true or not but I read something once (when I was pregnant and still eating homemade mayonnaise) that a person is more likely to come into contact with salmonella by eating a celery stalk than they are a raw egg.
I would feel less confident about eating raw eggs if the eggs I bought were of poor quality. This is the time to buy eggs from happy hens.
But if you don't feel comfortable eating raw eggs, don't worry! It's super easy to make pasteurized eggs at home.
How to pasteurize an egg yolk
An egg is pasteurized and considered safe to eat when it reaches an internal temperature of 138 degrees. This is easy to do at home!
- Put the eggs in a pot of water over medium-high heat. Attach a meat thermometer to the side of the pot.
- Bring the water to 140 degrees Fahrenheit and keep it there for 3 minutes. Do NOT let the water rise above 143 degrees, or you will cook your egg yolks.
- Drain the water and cool the eggs in cold water.
That's it! Once you do that, your egg will be 100% safe to eat. The pasteurized egg white will look a little cloudy though as they will have started cooking. The yolk will be perfect for making mayonnaise!

Can I use a blender to make mayo?
Sure, but why? If you use a blender, you run the risk of your mayonnaise separating and becoming runny. And besides, a blender is much more difficult to wash than a whisk and bowl. Let's keep life simple!
If you have an ailment that would make it difficult for you to whisk for 5 minutes, then absolutely go ahead and use a blender, food processor, or immersion blender. Follow the directions in the recipe only blend instead of a whisk. Make sure to run your blender on low speed only and add the oil in a slow steady stream to minimize the risk of your mayo separating.
How to make flavored mayonnaise
This homemade mayonnaise recipe is the perfect base for all your flavored mayos. Here are a few ideas to spice things up:
Chipotle Mayo: 2 teaspoons of adobo sauce + a little squeeze of lime juice + a little honey
Dill Mayo: 4 tablespoons chopped dill + 1 tablespoon lemon juice + a little black pepper
Garlic Mayo: 1 minced garlic clove + 1/2 teaspoon dijon mustard
Honey Mustard Mayo: 1 tablespoon each: dijon + honey + lime juice
Sriracha Mayo: 1 tablespoon sriracha + 1 teaspoon soy sauce + 1 teaspoon lime juice
Lemon Chive Mayo: 2 tablespoons each: lemon juice and minced chives
More frequently asked questions
Neutral flavored oil that is clear or light yellow is best for making homemade mayonnaise. We usually use avocado oil, although some readers have reported that their avocado oil is green. Canola and grape seed oil also make a good mayonnaise. If you have light olive oil (not extra virgin olive oil), that can work too. But usually, olive oil is too strongly flavored for mayonnaise.
If your mayonnaise is runny then the oil has not emulsified. In this case, it's best to start again but use the oil that did not emulsify. Simply whisk a room-temperature egg yolk with lemon juice in a clean bowl and slowly whisk in the runny mayonnaise.
Also, make sure that you use a room-temperature egg yolk – cold egg yolks are more likely to cause runny mayo. And always whisk the egg yolk with lemon juice (or vinegar) before adding the oil.
We usually keep our homemade mayonnaise for no longer than 2 weeks in the fridge. If you've added fresh garlic to your mayo, keep it for NO LONGER than 10 days.
Note: The USDA recommends making mayonnaise with pasteurized egg yolks and consuming it within 4 days.
While it is possible to make vegan mayo, the flavor is not the same. If you cannot eat eggs, you can try this recipe.

Use your homemade mayo in these recipes:
- Chipotle Popcorn Chicken with Honey Mayo
- Sweet Potato Harissa Fries with Harissa Mayo
- Lemongrass Grilled Chicken with Sriracha Mayo
- Hawaiian Hot Dogs with Teriyaki Mayo
- Loaded Baked Potato Salad

How to Make Homemade Mayonnaise Recipe
If you love this recipe as much as we do, let us know with a 5-star rating!
Ingredients
- 1 large egg yolk, at room temperature
- 1 tablespoon lemon juice
- 1 cup neutral-flavored oil, I like avocado oil
- ¼ – ½ teaspoon sea salt, to taste
Instructions
- Place the egg yolk in a medium-sized bowl. Add the lemon juice and whisk until frothy.1 large egg yolk, 1 tablespoon lemon juice
- Very slowly, begin adding the oil in a thin stream while whisking continuously. If the oil starts to build up at all, stop pouring and whisk vigorously until it is incorporated. Continue adding the oil while whisking until all the oil has been used.1 cup neutral-flavored oil
- Whisk ¼ teaspoon of salt into the mayo. Taste and add more if needed.¼ – ½ teaspoon sea salt
Success! I have long wanted to try making homemade mayonnaise, and now I have! It turned out great! Who knew it was so easy?… Thank you, Kristen, for keeping it simple, and keepin’ it REAL!
How long is the mayo good for in the refrig?
Homemade mayonnaise should last for up to 2 weeks in your fridge. If you’ve flavored it with fresh garlic, keep it for no more than 10 days.
The lemon flavor was more then I expected but after a few taste I really loved it in there! Great recipe!
Can I use this mayonnaise in a spinach and artichoke dip that I’m going to bake?
That should work!
Mine came out a little foamy like texture. Must be the fresh egg my hen laid this morning. I only added the yoke. I had picked fresh young tender sweet peas from the garden this morning and thought of raw fresh pea salad. I know peas probably isn’t on whole 30 diet but I’m eating them because I grew them myself. How could that not be good for you?
I’ve made this a few times successfully. It has come in handy to have a homemade recipe instead of store-bought. Thanks for the recipe!
I’m doing something wrong. I have whisked the egg lemon juice and oil together and it is extremely runny. I put the egg on the stove until it reached 140° cracked it in a bowl whisked it with the lemon juice and then slowly poured the avocado in whisking it and I have a bowl of very liquid substance. What did I do wrong how do I thicken this up
Did you use the whole egg or the egg yolk?
Just be aware only 2 avocado oils tested to be pure avocado oil, the rest were cut with other oils or had no avocado at all. One brand that was pure was Chosen brand but I can’t for the life if me remember the other one. That maybe why people are having different colors using avocado oil. The same goes for olive oils especially from italy believe it or not!
California Ranch Olive is supposedly real olive oil. There is also a Georgia company that makes olive oil. I have bought theirs and it’s expensive. Thanks for the info regarding avocado oil I hadn’t actually thought about that oil having the same “problems” as the olive oils.
I can’t eat store bought Mayo and this worked great. I don’t eat that much Mayo so used a whole, smallish yolk that I pasteurized( thanks for that) 1/2 tablespoon of lemon juice and 1/2 cup grape seed oil and 1/4 t. Salt. Delicious!
Just a little research for the avocado oils out there: unrefined avocado oil is green and goes rancid very quickly. Refined avocado oil is clear to yellow. Therefore, it is possible that some people may have never seen green avocado oil and some may never have seen clear avocado oil. Neither oil nor someone’s failure to follow the directions properly are the fault of the author. Shocking how abusive people can get over something so trivial.
American, here, thankfully living in Britain where eggs are never refrigerated. This was my first time making mayonnaise and I was not precious about any step and it was perfect! I used an old-fashioned hand beater, added half avocado oil and half unfiltered olive oil. The greenish-yellow colour doesn’t bother me any more than pink chipotle mayo does. The shrieking in the comments about avocado oil is hilarious. If that’s the worst thing to happen to you in a day, lucky you. Thank you for this uncomplicated and versatile recipe. My tomato sandwich was delicious. 😁
Proper, classic, elegant, original recipe ……. so much rubbish on the internet, I mean, with sugar?
Respect.
I made mayo this morning …. Really loved the taste. Linen color, nice consistency.
Put in frig when finished …… Now ( approximately 3 1/2 hours ) Mayo has turned yellow/orange in color and thin. The consistency it much thinner now. Oil hasn’t separated …. just very very thin.
Thinking I do something wrong but no idea what it was.
Has this happened to you ?????
The color of mayonnaise can turn yellow if it’s exposed to air and oxidizes. Did you cover the mayo or put it in a closed jar? As far as it getting thin, I’ve never experienced this before. I would suggest whisking it hard for a few minutes to see if you can thicken it back up that way.
i use a whole egg in 3/4 cups of oil, salt, 1 tbsp lemon juice and 1 tbsp organic ACV.
I didn’t have lemons, so I used white vinegar. Def need half the amount or I need to switch to lemon. Was a bit tart/sharp.
I broke the rules and added a dot of liquid xylotol because it needed some sweetness.
Also, the full cup of oil didn’t seem necessary because it emulsified great using a stick blender. I used a smidge over 3/4 Cup.
I think the more I practice, the better this will become.
THanks for sharing this recipe!!!
Thank you! The consistency turned out great, thanks to your tips! I substituted lemon juice for lime juice, and the taste is a bit sour. Would you recommend lemon juice over vinegar?
I prefer the flavor of lemon juice as I find that vinegar is too strong for mayonnaise.
May try to make own mayo after trading your post. Am trying to eat the way I was raised on the farm. Fresh Everything. Nothing out of a metal can. And I mean NOTHING!!!
I LOVED this! Worked beautifully! I cannot do vinegar or lemon due to migraines, but I successfully used lactic acid from green olives; first mayonnaise I could eat since 1987!
Very easy to make. I used olive oil with lemon. Yummy!! I realize olive oil mayo is not for everyone, but I think its delicious.
Holy cow! I don’t think I will ever buy mayo again. So yummy.
I have not yet prepared your mayonnaise recipe, but will soon. It seems simple enough, even for a lazy cook like me. Question- does it keep in the fridge, and if so, how long?
Thank you-
Steve
Homemade mayonnaise should last for up to 2 weeks in your fridge. If you’ve flavored it with fresh garlic, keep it for no more than 10 days.
I noticed you replied to another comment saying up to one week. Have you come to the conclusion it can last longer? Also, would refrigerated minced garlic be able to last the full two weeks if used instead of fresh garlic?
I’m not familiar with refrigerated garlic, but raw garlic mixed with oil should be kept refrigerated for 10 days max. If it were raw garlic in oil you could heat the oil to kill botulism, but that’s not possible with mayo.
Sounds interesting even though I only use mayonnaise for seasoning purposes
is the egg white included or not
No, just use the egg yolk.
So you have never seen green Avacado oil, Avacados are green and my mayo was ah green because my Avacado oil is GREEN!!! I don’t know what kind of Avacado oil your using but I like the color of your mayo. I made this recipe and it didn’t taste very good, my son and grandson didn’t like it.
We buy Harvest Peak avocado oil and it is a very light yellow (almost clear) color with a mild flavor. Canola or grape seed oil can also be used.
Thank you for your tasty recipe! I use it often.
I made this Mayo and I Love it…. Thank you ❤️
Though I haven’t yet tried this recipe, it definitely has the best instructions. I’ve looked over several such recipes online, and I like yours the best. I’m definitely going to try it.
Any tips on how to make the mayonnaise last longer in the fridge? I don’t actually eat that much mayonnaise, but I happen to be in Mexico City where all the mayonnaise has loads of sugar in it, and it’s not very nice.
Cheers and thanks,
Kim G
Roma Sur, Mexico City
Where it’s also impossible to find peanut butter without sugar.
Unfortunately, I don’t know of a way to make it last longer. It can’t be frozen as it will separate. When I have some that I need to use, I usually make a caesar salad dressing my mixing in lemon juice, minced anchovies, garlic, parmesan, and lots of black pepper. 🙂
This was a disaster, avocado oil is green, it never thickened so now I have green liquid and wasted 1 cup of oil! Thanks!
I’ve never seen green avocado oil! Yikes! If the oil didn’t emulsify you can start again with a room temperature egg yolk and lemon juice then whisk in the oil that didn’t emulsify. Make sure the egg yolk isn’t cold and go slowly, especially at first.
How long can I store the Mayo? I need 8 egg whites for a recipe and don’t want the yolks to go to waste.
Homemade mayo will last for up to two weeks in your fridge. 🙂
Thank you so much for this easy recipe! I have made my own elote mayo. It goes so well with sweet corn.
WOW!!!!
I made this literally 10 minutes ago (shortly after midnight) and I am now a home-made mayo convert!!! I do not plan to ever buy store bought mayo again!!! The final result is luscious and SO full of flavor! I followed the recipe except for one matter…..I added 1 teaspoon of additional acid (I used half fresh lemon juice and half apple cider vinegar for the total amount of acid). Everything else was the same. The result is amazing and I am VERY happy that I discovered this recipe.
NOTE: my egg was room temperature and I whisked the egg+acid until it was super frothy! Beautiful final results.
First time trying to make mayo and it was a success! I didn’t have lemon juice, so I used red wine vinegar, I also added 1 tsp dijon mustard and ground black pepper. Its delicious!
Hi, is it harder to thicken it if I use whole egg? How much g of oil is one cup? Thanks
While it is possible to make mayonnaise with a whole egg, I’ve never had any success doing it that way. Google says that 1 cup of oil is 240 grams. 🙂
I’ve done it now for the first time. It is amazing and very easy. I am lucky to have my own hens, so my egg was already room temperature and much more yellow than store bought eggs. Better flavor too! I’d like to try some of the flavored mayos, but my question is about the lemon juice. Is the lemon juice listed in the flavor option recipes an addition to the lemon juice that is in the original recipe that you use to emulsify the yolk with, or is it replacing the original lemon juice?
You’re so lucky to have your own hens! In the lemon chive mayo you simply need to add 1 additional tablespoon of lemon juice. 1 that the recipe already calls for + 1 extra = the two the 2 in the flavored mayo. I hope that makes more sense!
Something seems to be missing? Not sure what!
Did you salt it?
I made the mayo this morning with a nice large warm freshly laid from egg from 1 of my 2 hens . I only had canola oil but it came out great. I made some egg salad with a few other eggs and had a nice sandwich with my home made bread. ill try some flavored oil next time,Thanks.
Great!!!
Yes of course!! left an egg out to warm up for an hour or so, separated the yolk and whisked it with the lemon juice, slowly added the oil and whisked, added salt and 1/4 teaspoon ground mustard, Your recipe woks great!! I was happy with the result and it’s very easy, I used grapeseed oil.
I used your tip about putting the egg in a cup of hot water and I heated up my metal bowl on the outside it earned perfectly. Thanks for the tips and recipe.
i made this, and you were not kidding! itʻs so good and so much better than store bought!
I used a duck egg yolk.
The best!
Love it! I’ve never cooked with a duck egg before. Now I’m curious!
Treat yourself to a duck egg omelet. It will blow your mind.
One day I’ll have to!
I tried this, maybe the water wasn’t warm enough for the egg trick the first time. The emulsion broke in the last quarter cup of oil. I measured the oil with a scale, 8 fl oz, i used the yolk from a large egg, and measured out the tablespoon of lemon juice.
Bon appetite says 3/4 quarter cup of oil so i tried it again with 6 fl oz and made sure the water was hot for the egg trick and it turned out really good. Touch lemony for my taste. I’m used to the store bought stuff so i thought it needed sugar, but now I’m glad it doesn’t have sugar in it. Next time I will use two egg yolks 14 fl oz oil, tablespoon of white vinegar and table spoon of lemon juice.
It’s really important that the egg is not cold. I suspect that the first time you made this the water was not warm enough to warm up the egg properly. Happy to hear it turned out the second time!
Great recipe the only thing I would comment about is that the amount of oil is a little bit too much specially if you’re not gonna add any flavors to the mayo other than that my family loved it thank you so much
Mine is like straight water and I followed the recipe exactly. I tried adding more oil and it made it worse.
If the mayonnaise breaks (ie: doesn’t emulsify and come together) then no amount of oil will help. It’s happened to all of us. Did you use a cold egg yolk? That’s the biggest culprit. And make sure you start adding the oil super slow. You’ll know if it’s working within the first could of tablespoons of oil.
First time I’ve ever attempted making mayonnaise and it was an incredible success thanks to this recipe! (It’s flawless.) My husband and I both said it is the best mayo we’ve ever tasted!
I’m sixteen and this was my first time making mayo. It was actually pretty easy and fun to do. It also tastes better than the store-bought stuff. 10/10
Love it! And so awesome to hear that you like to cook! That was me as a teenager, too. 🙂
The mayo tasted great the day I made it. Only a couple days have gone by and now it has this terrible aftertaste like…rotten meat…best way I can describe it…I’m not sure what happened or if anyone knows how I can fix it…eggs are fresh, oil isn’t rancid, help!
It needs to be thrown out. While it will normally last for at least a week in the fridge, it sounds like your batch went off early.
Still very watery and I made it exactly as you stated.
Sometimes I find that I need to add more oil than other times. If you keep whisking in some more oil it will thicken. (As long as it hasn’t split! If it has, you’ll need to start over.)
Rather than throw out the mayo that is runny. I start a new emulsion with the yolk and vinegar/lemon and I pour in the runny one slowly as the oil, then add a little more oil since it now has two yolks. Saves from wasting.
That’s a great suggestion! Thank you!
I tried the recipe and used an electric beater, it came out really nice. I put a small amount of honey for a hint of sweetness and it tasted really good!
Thanks a lot for sharing this recipe.
I bet a hint of honey was delicious!
I made the Chipotle Mayo recipe for my husband’s club sandwich and this is really fantastic. I used an electric mixer on low speed and this turned out really well. Thank you, no more store bought Mayo!
I’m so happy to hear it turned out well!
This recipe turned out perfectly. I had no idea it was so easy to make mayo. Thank you!
You’re so welcome!