Room temperature: No longer than 10-12 hours, even less if the weather is hot. Refrigerator: About two days if they are soft-boiled and about one week if they are hard-boiled and the shell is intact.