The USDA recommends cooling cooked food to at least 70°F within 2 hours before refrigerating. This brings it quickly through the initial danger zone between 140°F and 70°F, where bacteria can multiply rapidly.