Potato salad can be eaten overnight, but pay attention to the storage method. The best way is to store potato salad in the refrigerator to maximize its shelf life. However, there is still a chance that potato salad will go bad if the temperature is too high. So if you plan on eating it overnight, make sure you put the potato salad in the refrigerator.
In addition, if the potato salad has gone bad, do not eat it again to avoid food poisoning.