since most mayonnaise is made with eggs or some type of egg substitute, it's essential that you refrigerate it after it's been made or after a jar has been opened. to ensure the best taste, it's recommended that homemade mayonnaise be kept for only one to two weeks and store-bought only two months after being opened.