How Long does It Take for Mayonnaise to Spoil?

How long it takes for mayonnaise to spoil depends mostly on the room temperature. If you have the mayonnaise on your kitchen counter it will keep longer versus outside on a picnic table. Home made mayonnaise contains raw eggs and can spoil quickly. Store bought mayonnaise can remain at cool temperature for longer.