Skip to main content

How Long Cooked Eggs Stay Fresh in Your Refrigerator

Cooked eggs last three to four days in the refrigerator when stored properly

A cooked egg—whether boiled, scrambled, fried, or baked—will stay safe to eat for three to four days if you keep it in an airtight container on a shelf (not the door) where the temperature stays at 40°F or below. The clock starts the moment the egg finishes cooking and cools down. After four days, bacteria can grow to unsafe levels even though the egg may look and smell fine.

The reason the window is so short comes down to how eggs are structured. Once you cook an egg, you break down the protective barrier of the shell. The cooked white and yolk become vulnerable to bacteria that live on surfaces, in the air, and on your hands. Refrigeration slows bacterial growth dramatically, but it does not stop it entirely. That is why timing matters more with eggs than with many other proteins.

Key Takeaways

  • Cooked eggs stored in an airtight container at 40°F or below last three to four days, and the count begins once the egg cools completely.
  • Store cooked eggs on a refrigerator shelf rather than the door, where temperature fluctuates and eggs spoil faster.
  • Scrambled eggs, fried eggs, and boiled eggs all follow the same three- to four-day rule once cooked.
  • Discard any cooked egg that smells off, looks slimy, or has been left at room temperature for more than two hours.
  • Freezing cooked eggs extends their life to three to four months, though texture changes—especially in egg whites—are common.

Why the three- to four-day window matters

Cooked eggs are a ready-to-eat protein, which means they can pick up bacteria from your hands, utensils, or the air during and after cooking. Unlike raw eggs, which have a protective shell, cooked eggs have no barrier. The moment you crack open a boiled egg or finish scrambling, you expose the interior to the environment around you.

Refrigeration at 40°F slows the growth of Salmonella and other pathogens, but cold does not kill them. Over time—usually by day five or six—bacterial populations can reach levels that cause food poisoning. The three- to four-day window gives you a safety margin before that happens. After four days, the risk rises sharply.

How to store cooked eggs so they last the full four days

Place cooked eggs in a shallow, airtight container as soon as they cool to room temperature. Do not leave them on the counter. Shallow containers cool faster and more evenly than deep ones, which means the eggs spend less time in the temperature danger zone (40°F to 140°F) where bacteria multiply fastest.

Store the container on a middle or lower shelf of your refrigerator, not on the door. Door shelves experience temperature swings every time you open the fridge—warm air rushes in, then cold air returns. Those fluctuations can cut the safe storage time in half. A middle shelf stays closer to a steady 40°F.

Label the container with the date you cooked the eggs. A piece of tape and a marker takes five seconds and removes the guesswork later. If you are not sure whether an egg is still good, the date tells you immediately whether it has crossed the four-day line.

Signs a cooked egg has gone bad

Throw out a cooked egg if it has a sour or sulfurous smell, even a faint one. Smell is the most reliable indicator because bacteria produce gases as they grow, and those gases have a distinctive odor. If you crack open a boiled egg and the yolk or white looks slimy or has a grayish-green ring around the yolk, discard it. That ring is a sign of bacterial or chemical changes in the yolk.

If a cooked egg has been left at room temperature for more than two hours (or one hour if the room is above 90°F), throw it away. The two-hour rule applies even if the egg looks and smells normal. Bacteria can grow without producing obvious signs, so time is your safest guide once an egg leaves the cold.

Freezing cooked eggs to extend storage

You can freeze cooked eggs for three to four months, which is useful if you batch-cook eggs for the week and know you will not eat them all within four days. Scrambled eggs freeze better than fried or boiled eggs because the texture holds up. Egg whites become rubbery when frozen and thawed, so if you are freezing boiled eggs, remove the whites and freeze only the yolks.

To freeze, place cooled cooked eggs in a freezer-safe container or bag, remove as much air as possible, and label with the date. Thaw overnight in the refrigerator before eating. Do not thaw at room temperature. Once thawed, eat the eggs within one to two days—freezing does not reset the clock on bacterial growth.

Storage differences between egg types

Boiled eggs, scrambled eggs, fried eggs, and baked eggs all follow the same three- to four-day rule. The cooking method does not change how fast bacteria grow once the egg cools. What changes is texture after storage. Boiled eggs hold their texture well. Scrambled eggs may dry out slightly but remain edible. Fried eggs can become rubbery, and the yolk may harden more than you prefer.

Egg dishes that contain other ingredients—like a frittata with vegetables, cheese, or meat—may spoil faster if those ingredients are perishable. A vegetable frittata lasts three to four days. A frittata with cream, sausage, or seafood may last only two to three days because those ingredients have their own shorter shelf lives. Store these dishes in airtight containers and check the ingredient with the shortest lifespan to set your discard date.

Room temperature and the two-hour rule

Cooked eggs should not sit on the counter, in a lunch box, or in a bag for more than two hours. After two hours at room temperature, bacteria have multiplied enough to pose a real risk. If you are packing a cooked egg for lunch, use an insulated lunch box with an ice pack. The ice pack keeps the egg close to refrigerator temperature during transport and storage.

If you forget about a cooked egg and find it on the counter after several hours, do not taste it to see if it is still good. Bacteria do not always produce a smell or taste you can detect. Throw it away. The cost of a single egg is far less than the cost of food poisoning.

Frequently Asked Questions

Can I eat a cooked egg on day five if it looks and smells fine?

No. Bacteria can grow to unsafe levels without producing obvious signs. The three- to four-day window is a safety guideline based on how fast pathogens multiply at refrigerator temperature, not on appearance or smell. After four days, discard the egg regardless of how it looks.

Does a grayish-green ring around a boiled egg yolk mean it is unsafe?

The ring is a harmless chemical reaction between the iron in the yolk and sulfur in the white, caused by overcooking or storing the egg too long. It is not dangerous, but it signals the egg is aging. If you see the ring within the four-day window, the egg is still safe. After four days, discard it anyway.

What if I cooked eggs but did not refrigerate them right away?

Cool them as quickly as possible—ideally within one hour of cooking. Once cooled, place them in an airtight container on a refrigerator shelf. The four-day clock starts when they reach refrigerator temperature, not when you cooked them. If they sat at room temperature for more than two hours before cooling, discard them.

Can I store cooked eggs in the same container as raw eggs?

No. Raw eggs can carry Salmonella on the shell, and that bacteria can transfer to cooked eggs if they touch or if liquid from the raw eggs drips onto the cooked ones. Store them in separate containers on different shelves, with cooked eggs on a higher shelf so nothing drips down onto them.

Do hard-boiled eggs last longer than scrambled eggs?

Both last three to four days when stored properly. The cooking method does not change how fast bacteria grow. What changes is texture—boiled eggs hold their texture better during storage, while scrambled eggs may dry out slightly. Both are safe to eat for the same length of time.