It’s best to serve mayonnaise-based potato salad within one hour of removing it from the fridge and keeping it on ice to prevent the growth of harmful bacteria. Under no circumstances should mayo-based potato salad be left out for more than 2 hours.