Your homemade mayonnaise will keep up to a week in the refrigerator if it was prepared in a clean environment without any cross-contamination.