Header image: CHOW. Hard-boiled eggs last about a week if they are kept in their shells, and should be refrigerated within two hours of cooking, says the USDA Food Safety and Inspection Service. If they are peeled and then stored, they will stay fresh for only a few days in the fridge, says Hilary Shallo Thesmar, a spokesperson for the Egg Nutrition Center.