Refrigerators typically maintain a safe temperature for about four hours after a power outage assuming you keep the door closed as much as possible, the FDA advises. Once the temperature pops above 40 degrees for more than two hours, it’s time to start tossing stuff.