The safest way to go is to stick well below the 2-hour threshold to avoid spoiling potato salad. Due to food safety, it’s best to get a hot German potato salad casserole tightly covered and into the fridge as soon as the meal ends. No need to push the 2-hour mark. When served cold from the refrigerator, you have a little more leeway because this potato salad recipe is dairy-free