Because potato salad contains mayonnaise, it’s a good idea not to let it sit at room temperature for more than two hours. Afterwards, store the potato salad in a covered container in the refrigerator. Any leftovers should be consumed within four days.