If you discover the refrigerator door was left ajar, do not give the food the usual four-hour closed-door outage allowance. That estimate assumes a refrigerator was kept closed during a loss of power. Here, the seal was broken even if the compressor was running. Check the temperature and decide how long each perishable item may have spent above 40°F.
Capture readings before the refrigerator cools back down
Note when you found the door and when it was last known closed. Read the appliance thermometer if one is already inside. Use a clean food thermometer to check representative perishables in different spots, especially those nearer the opening, cleaning the probe between foods. A display reading taken after the unit has cooled again cannot tell you how warm dinner was overnight.
If the fridge was discovered open at 7 a.m. and the last known closure was 10 p.m., that is a nine-hour uncertainty window, not evidence that the food was at a particular temperature for nine hours. A thermometer that logs a reliable time history can narrow that uncertainty; one reading cannot reconstruct it.
Sort by food type, not by shelf
Discard temperature-sensitive food such as milk, cooked leftovers, raw poultry and eggs if it was above 40°F for two hours or more. If a perishable item is warm and you cannot establish a safe time, discard it rather than taste-testing or reheating it. Use the federal item-by-item chart for foods such as hard cheeses and condiments. For example, the chart treats a block of aged cheddar differently from pre-shredded cheese.
Prevent the earlier failure from repeating
Look for a container protruding past the shelf, a drawer that does not seat or a gasket that does not close normally. If the unit cannot hold 40°F or below, move food you have established is still safe to a working refrigerator or keep it cold in a suitable cooler with ice while arranging service. Put a thermometer back where everyone can read it, and check the door after unloading the next big grocery trip.

