How Long Cooked Eggs Stay Fresh in Your Refrigerator
Cooked eggs last three to four days in the refrigerator
Cooked eggs—whether boiled, scrambled, fried, or baked into a dish—stay safe to eat for three to four days when stored properly in the refrigerator at 40°F or below. This timeline applies to plain cooked eggs and most egg-based dishes. The clock starts the moment the eggs finish cooking and cool down, not when you put them away.
The reason for this window is bacterial growth. Cooked eggs are no longer protected by the shell, and they've been heated to a temperature that kills most pathogens—but not all. Once they cool, bacteria can begin to multiply again. Storing them cold slows that growth dramatically, but it doesn't stop it entirely. After four days, the risk of foodborne illness rises enough that it's safer to discard them.
The three-to-four-day rule assumes your refrigerator is actually cold enough. If your fridge temperature drifts above 40°F, the timeline shortens. A refrigerator thermometer (they cost a few dollars) takes the guesswork out of this and helps you catch temperature problems before they spoil your food.
Key Takeaways
- Plain cooked eggs and most egg dishes remain safe for three to four days when stored at 40°F or below.
- Store cooked eggs in an airtight container or covered bowl to prevent them from absorbing odors and to slow moisture loss.
- Eggs cooked into casseroles, quiches, or dishes with cream or mayonnaise may spoil faster—check the recipe's most perishable ingredient.
- Label your container with the date you cooked the eggs so you don't lose track of when the three-to-four-day window closes.
- When in doubt, smell and look: slimy texture, off odors, or discoloration mean the eggs should be thrown out.
How to store cooked eggs so they last the full three to four days
The moment cooked eggs cool to room temperature, move them into an airtight container or cover them tightly with plastic wrap or foil. Exposure to air dries them out and allows them to absorb odors from other foods in the fridge. A glass container with a snap-on lid works better than an open plate, because the seal keeps moisture in and bacteria-carrying air out.
Place the container on a shelf in the main body of the refrigerator, not on the door. The door is the warmest part of the fridge because it opens and closes constantly. Eggs stored there may only last two to three days instead of four. The back of a middle shelf, away from the fan, is ideal.
If you've cooked a large batch and won't eat them within four days, freezing extends their life to three to four months. Scrambled eggs and hard-boiled eggs freeze well. Fried eggs and soft-boiled eggs don't freeze as successfully because the yolk becomes grainy. Thaw frozen cooked eggs in the refrigerator overnight, then use them within one to two days.
Egg dishes with cream, mayo, or meat spoil faster
A plain hard-boiled egg lasts four days. An egg salad made with mayonnaise lasts three days. A quiche with cream and cheese lasts three days. A breakfast casserole with sausage lasts three days. The difference is that mayonnaise, cream, and meat are more perishable than the egg itself, and they become the limiting factor.
When you combine cooked eggs with other ingredients, follow the shelf life of the most perishable component. Mayonnaise-based dishes (egg salad, deviled eggs) should be eaten within three days. Cream-based dishes (quiches, custards) should be eaten within three days. Meat-based dishes (casseroles with sausage or ham) should be eaten within three days. If you're unsure which ingredient is most perishable, three days is the safe choice.
Dishes made with vinegar-based dressings or pickled ingredients last longer because acid preserves food. A salad with hard-boiled eggs and vinaigrette can last four to five days. Always check the smell and appearance before eating anything older than four days, regardless of what the recipe contains.
Signs that cooked eggs have gone bad
Throw out cooked eggs if they show any of these signs: a slimy or sticky texture, a sulfurous or sour smell, visible mold, or a gray or greenish tint to the yolk. A gray-green ring around the yolk of a hard-boiled egg is not spoilage—it's a harmless chemical reaction between the iron in the yolk and sulfur compounds in the white, caused by overcooking or storing the egg too long before cooking. That egg is still safe to eat.
If the egg looks and smells normal but you're past the four-day mark, discard it anyway. Harmful bacteria like Salmonella and Listeria don't always produce an obvious smell or appearance change. Your nose and eyes are useful tools, but they're not foolproof. The date on your container is your most reliable guide.
Refrigerator temperature matters more than you think
A refrigerator set to 40°F is the standard safe temperature for all perishable foods, including cooked eggs. Many home refrigerators drift warmer than this, especially if they're full, if the door seals are worn, or if they're in a warm kitchen. A fridge at 45°F cuts the safe storage time for cooked eggs from four days to two or three days.
Check your refrigerator temperature with an inexpensive dial or digital thermometer. Place it in the middle shelf (not on the door) and leave it there for a few hours so it reads the actual temperature, not the temperature of the shelf itself. If your fridge is warmer than 40°F, adjust the thermostat dial or settings. If it still won't cool down, the seals may need replacing, or the fridge may need service.
During power outages, cooked eggs are safe to eat if the refrigerator stayed at 40°F or below for no more than four hours. If the power was out longer than that, or if the fridge warmed up significantly, discard the eggs.
Freezing cooked eggs: what works and what doesn't
Scrambled eggs, hard-boiled eggs, and egg-based casseroles freeze well and last three to four months in the freezer. Thaw them in the refrigerator overnight, then use them within one to two days. Scrambled eggs can go straight from the freezer into a skillet to reheat, though they'll be slightly drier than fresh scrambled eggs.
Fried eggs and soft-boiled eggs don't freeze well because the yolk becomes grainy and the white becomes rubbery. Poached eggs also don't freeze successfully. If you have leftover fried or poached eggs and won't eat them within four days, it's better to discard them than to freeze them and end up with an unpleasant texture.
Egg salad and other mayonnaise-based dishes don't freeze well because the mayonnaise separates and becomes oily when thawed. Quiches and cream-based casseroles freeze better, though the texture of the filling may become slightly grainy. If you plan to freeze a quiche, do it within one day of cooking, before the filling has time to dry out.
How to tell if an egg was cooked recently or days ago
A hard-boiled egg cooked today will have a bright yellow yolk and a firm white. After three to four days, the yolk may darken slightly and the white may become a bit rubbery, but these changes don't mean the egg is unsafe—they're just signs of age. The gray-green ring that forms around the yolk is harmless and doesn't indicate spoilage.
Scrambled eggs cooked today are fluffy and moist. After a few days in the refrigerator, they become drier and may clump together. This is normal and doesn't mean they're bad. Reheat them gently in a skillet with a splash of milk or butter to restore some moisture.
The most reliable way to know how old your cooked eggs are is to label the container with the date and time you cooked them. A piece of tape and a marker takes ten seconds and removes all doubt when you open the fridge three days later.
Frequently Asked Questions
Can I eat a hard-boiled egg that's been sitting on the counter all day?
No. Cooked eggs left at room temperature for more than two hours should be thrown out. Bacteria multiply rapidly between 40°F and 140°F. If the egg was in a warm room or direct sunlight, discard it after one hour. Put cooked eggs in the refrigerator as soon as they cool to room temperature.
Is the gray-green ring around the yolk a sign the egg is bad?
No. The gray-green ring is a harmless chemical reaction between iron in the yolk and sulfur in the white, caused by overcooking or storing the egg before cooking. The egg is still safe to eat. It's purely a cosmetic change and doesn't affect flavor or safety.
Can I store cooked eggs in the freezer instead of the refrigerator to make them last longer?
Yes, but only certain types. Scrambled eggs and hard-boiled eggs freeze well for three to four months. Fried eggs, poached eggs, and mayonnaise-based dishes don't freeze well because the texture becomes unpleasant when thawed. Thaw frozen eggs in the refrigerator overnight and use them within one to two days.
What's the difference between a cooked egg that's three days old and one that's four days old?
At three days, the egg is definitely safe. At four days, it's still usually safe if stored properly, but you're at the edge of the safe window. After four days, bacterial growth becomes risky. When in doubt, throw it out—the cost of a few eggs is much less than the cost of food poisoning.
Do I need to store eggs in a specific part of the refrigerator?
Yes. Store cooked eggs on a middle or lower shelf, not on the door. The door is the warmest part of the fridge because it opens and closes constantly. Eggs stored there may only last two to three days. The back of a middle shelf is ideal because it's farthest from the door and closest to the coldest part of the fridge.