Hard-boiled eggs are good for up to 7 days in the refrigerator, whether they are peeled or still in the shell. The key is to refrigerate them within 2 hours of cooking and keep your refrigerator at 40°F (4°C) or below.
TL;DR
|
You boiled a batch of eggs for breakfast, put them in the fridge, and then forgot about them. A few days later, you are staring at the container and wondering: Are these eggs still safe to eat?
It is a common kitchen question. And the answer depends less on whether the egg is peeled and more on how quickly it was refrigerated and how it was stored.
The USDA says hard-boiled eggs can be kept in the refrigerator for up to 7 days, whether peeled or unpeeled. But once cooked eggs sit out too long, the safety window changes.
How Long Are Hard-Boiled Eggs Good For?
Hard-boiled eggs can be stored in the refrigerator for up to 7 days after cooking. 1
This applies to both peeled and unpeeled eggs. The USDA and FDA recommend refrigerating cooked eggs promptly and keeping them at 40°F or below.
Why does refrigeration matter?
Cooking changes the egg's environment. According to the USDA, hard-cooking creates a thin layer of water between the cooked egg and its shell. That moisture can create conditions where spoilage bacteria grow. This is why cooked eggs have a shorter storage life than fresh eggs.
For example, if you boil eggs on Sunday morning, refrigerate them within two hours, and keep them properly chilled, you should plan to eat them by the following Saturday.
Quick storage guide
|
Storage situation |
Recommended guidance |
|
Hard-boiled egg, refrigerated |
Up to 7 days |
|
Peeled hard-boiled egg, refrigerated |
Up to 7 days |
|
Unpeeled hard-boiled egg, refrigerated |
Up to 7 days |
|
Left at room temperature |
No more than 2 hours |
|
Temperature above 90°F |
No more than 1 hour |
|
Refrigerator temperature |
40°F or below 2 |
|
DID YOU KNOW? A single large, hard-boiled egg provides about 147 mg of choline, a nutrient involved in brain and nervous-system function, as well as cell membranes. That's about 27% of the Daily Value. |
How Long Do Hard-Boiled Eggs Last in the Fridge?
The simple rule is 7 days. It does not matter whether you peeled the egg before refrigerating it. USDA guidance says both peeled and unpeeled hard-cooked eggs can be kept in the refrigerator for up to seven days.
Still, good storage habits matter.
Place cooked eggs in a clean, covered container and refrigerate them promptly. Keeping your refrigerator at 40°F or below helps slow bacterial growth.
For example, if you meal-prep six eggs on Monday, write the cooking date on the container. That makes it much easier to know when the seven-day window is ending.
Peeled vs. unpeeled hard-boiled eggs
You do not need to eat peeled eggs sooner simply because they have been peeled. USDA guidance gives the same seven-day refrigerated storage period for both. 3
However, once peeled, keep the eggs covered and handle them with clean hands and utensils. This helps reduce the chance of contamination during storage.
How Long Can Hard-Boiled Eggs Sit Out?
Hard-boiled eggs should not sit at room temperature for more than 2 hours.
If the temperature is above 90°F, that window drops to 1 hour. This includes situations such as a hot picnic, outdoor gathering, or a lunch bag left in a warm car. 4
Why the strict limit?
Bacteria multiply more quickly in the temperature range between 40°F and 140°F, often called the food-safety "Danger Zone." Some bacteria can double in number in as little as 20 minutes under favorable conditions.
So, if you boiled eggs at 8 a.m. and left them on the kitchen counter until noon, do not put them back in the refrigerator and assume they are safe for later. The safest choice is to discard them.
|
DID YOU KNOW? Some bacteria can double in number in as little as 20 minutes under favorable conditions. That's why the two-hour rule is about food safety, not just keeping food fresh. |
How Do You Know If a Hard-Boiled Egg Has Gone Bad?
Start with the storage history. Don't rely only on smell or appearance to decide whether an egg is safe. Harmful foodborne bacteria may be present even when food looks and smells normal.
That said, obvious spoilage is a clear reason to throw an egg away.
Look for:
-
An unpleasant or unusual odor when you peel or cut the egg
-
Mold on the egg or its surface
-
An unusual slimy or sticky texture
-
Other obvious changes in appearance
USDA guidance notes that spoiled eggs can develop an unpleasant odor, while mold and unusual texture can also indicate spoilage.
One important point: a green ring around the yolk does not automatically mean the egg is spoiled. It can happen when an egg is overcooked because sulfur and iron compounds react at the yolk's surface. USDA says this green discoloration is safe to eat. 5
So don't throw away an otherwise properly stored egg just because the yolk has a greenish ring.
Can You Eat Hard-Boiled Eggs After 10 Days?
It is best not to.
If a hard-boiled egg has been refrigerated properly but is now 10 days old, it has passed the USDA's recommended seven-day storage period. The safest choice is to discard it rather than trying to judge safety by smell or appearance. 7
The same applies to a two-week-old hard-boiled egg. Even if it looks perfectly normal, it is beyond the recommended storage window.
Can You Freeze Hard-Boiled Eggs?
Freezing is not recommended for whole hard-boiled eggs. USDA guidance lists hard-cooked eggs as having a refrigerator storage period of one week and says they should not be frozen.
The FDA similarly advises against freezing eggs in their shells and recommends different methods for freezing whole raw eggs or egg whites.
If you want eggs available for meal prep, refrigeration is the simpler option. Cook what you expect to use within the recommended seven-day window.
How to Store Hard-Boiled Eggs Safely
A few simple habits can make egg storage much easier:
-
Refrigerate eggs within 2 hours of cooking.
-
Keep the refrigerator at 40°F or below.
-
Store eggs in a clean, covered container.
-
Label the container with the cooking date.
-
Use the eggs within 7 days.
-
Discard eggs that have been left out beyond the safe time limit.
For example, if you cook eggs on Wednesday, label the container "Wednesday." That gives you a simple reference point instead of having to guess how long they have been sitting in the fridge.
|
DID YOU KNOW? Salmonella symptoms can begin 6 hours to 6 days after infection. Common symptoms include diarrhea, fever, and stomach cramps. Eggs are among the foods associated with Salmonella exposure, which is why proper cooking, chilling, and storage matter. 6 |
When Should You Throw Away Hard-Boiled Eggs?
Throw the eggs away if:
-
They have been refrigerated for more than 7 days.
-
They have been left at room temperature for more than 2 hours.
-
They have been exposed to temperatures above 90°F for more than 1 hour.
-
They show obvious spoilage such as mold, an unpleasant odor, or a slimy texture.
-
You are unsure how they were stored.
When food safety is uncertain, don't take a chance just to save a couple of eggs. Proper refrigeration is the easiest way to keep cooked eggs safe.
Frequently Asked Questions
How long are hard-boiled eggs good for in the fridge?
Hard-boiled eggs can be kept in the refrigerator for up to 7 days, whether peeled or unpeeled.
Can you eat 2-week-old hard-boiled eggs?
It is safest to discard them. Two weeks is beyond the USDA's recommended seven-day refrigerated storage period.
Can you eat hard-boiled eggs after 10 days?
No. Once a hard-boiled egg has been refrigerated for more than seven days, it has passed the recommended storage period.
How long are hard-boiled eggs good for unrefrigerated?
Cooked eggs should not be left at room temperature for more than 2 hours, or more than 1 hour when the temperature is above 90°F.
Can you eat boiled eggs the next day without refrigeration?
If the eggs were left unrefrigerated overnight, it is safest to throw them away. Cooked eggs should be refrigerated within two hours of cooking.
Can you freeze hard-boiled eggs?
Whole hard-boiled eggs should not be frozen. For longer storage, use refrigeration and the seven-day guideline instead.
Is a green ring around a hard-boiled egg yolk a sign that it has gone bad?
Not necessarily. A green ring can develop when the egg is overcooked and is considered safe to eat when the egg has otherwise been properly stored.
References
-
US Department of Agriculture, Food Safety and Inspection Service. How Long Can You Keep Hard-Cooked Eggs? Accessed September 25, 2026. https://ask.fsis.usda.gov/article/How-long-can-you-keep-hard-cooked-eggs
-
US Food and Drug Administration. What You Need to Know About Egg Safety. Accessed September 25, 2026. https://www.fda.gov/food/buy-store-serve-safe-food/what-you-need-know-about-egg-safety
-
US Department of Agriculture, Food Safety and Inspection Service. Shell Eggs From Farm to Table. Accessed September 25, 2026. https://www.fsis.usda.gov/food-safety/safe-food-handling-and-preparation/eggs/shell-eggs-farm-table
-
US Department of Agriculture, Food Safety and Inspection Service. Keep Food Safe! Food Safety Basics. Accessed September 25, 2026. https://www.fsis.usda.gov/food-safety/safe-food-handling-and-preparation/food-safety-basics
-
US Department of Agriculture, Food Safety and Inspection Service. What Causes a Green Ring Around the Yolk of a Hard-Cooked Egg? Accessed September 25, 2026. https://ask.fsis.usda.gov/article/What-causes-a-green-ring-around-the-yolk-of-a-hard-cooked-egg
-
Centers for Disease Control and Prevention. Symptoms of Salmonella Infection. Updated October 4, 2024. Accessed September 25, 2026.https://www.cdc.gov/salmonella/signs-symptoms/index.html
-
National Institutes of Health, Office of Dietary Supplements. Choline: Fact Sheet for Health Professionals. Accessed September 25, 2026. https://ods.od.nih.gov/factsheets/Choline-HealthProfessional/
Disclaimer: This article is for informational purposes only and is not intended to replace professional medical advice, diagnosis, or treatment. Always consult a qualified healthcare provider regarding any medical concerns or conditions.










