Cooked eggs last up to seven days in the refrigerator if stored correctly. That is the straightforward answer from the United States Department of Agriculture (USDA). Put them in a sealed container and get them cold within two hours of cooking. After a week, the risk of foodborne illness goes up. Do not rely on smell alone to decide if they are safe.
How Long Are Cooked Eggs Good For In The Fridge According to Food Safety Guidelines?
The USDA sets the standard at three to four days for hard-boiled eggs in the shell. Peeled eggs last about the same time. Scrambled eggs, omelets, and fried eggs follow the same rule. Seven days is the maximum, but four days is safer for best quality.
These numbers come from the Food Safety and Inspection Service. They are not guesses. They are based on bacterial growth rates at 40°F or below. If your fridge runs warmer than that, the window shrinks. A fridge thermometer costs little and removes doubt.
Eggs left out at room temperature for more than two hours should go in the trash. Bacteria double every 20 minutes in the danger zone between 40°F and 140°F. That is not a risk worth taking.
Does the Type of Egg Preparation Change the Storage Time?
Hard-boiled eggs in the shell last slightly longer than peeled ones. The shell acts as a natural barrier. Once peeled, the egg surface is exposed to air and bacteria from your hands and the environment. Peeled eggs still last three to four days in a sealed container.
Scrambled eggs and omelets have more surface area. They cool faster but also pick up more bacteria during cooking. The same three to four day rule applies. Deviled eggs are a different story. The yolk mixture with mayonnaise or dairy shortens the window. Eat deviled eggs within two days.
| Egg Type | Fridge Life (40°F or below) |
|---|---|
| Hard-boiled in shell | Up to 7 days (best by day 4) |
| Hard-boiled peeled | 3 to 4 days |
| Scrambled or omelet | 3 to 4 days |
| Fried eggs | 3 to 4 days |
| Deviled eggs | 2 days |
| Egg salad | 3 to 4 days |
Egg salad falls under the same rule as other cooked eggs. The mayonnaise does not extend the shelf life. It is the eggs themselves that spoil.
How Can You Tell If Cooked Eggs Have Gone Bad?
Smell is the first test. A sulfur or rotten egg odor means bacteria have broken down the proteins. Do not taste test. If it smells off, toss it. But smell is not foolproof. Some harmful bacteria produce no odor at all.
Texture changes are another sign. Slimy or sticky egg whites are a red flag. That slime is a biofilm produced by bacteria like Pseudomonas. Mold is rare on cooked eggs but if you see fuzzy spots, the entire egg is contaminated. Throw it away.
Color changes matter. A green ring around a hard-boiled yolk is not spoilage. That is a chemical reaction from overcooking. But gray or pinkish tones in the white mean bacteria are growing. Do not eat it.
What Is the Best Way to Store Cooked Eggs in the Fridge?
Cool them quickly but not in the fridge. Let hard-boiled eggs sit at room temperature for no more than 30 minutes. Then put them in the refrigerator. Placing hot eggs directly in the fridge raises the internal temperature and risks your other food.
Use a clean, airtight container. Glass or plastic with a tight lid works. For peeled eggs, cover them with a damp paper towel inside the container. This prevents them from drying out. Change the towel if it gets wet.
Store eggs on a shelf, not in the door. The door opens and closes, causing temperature swings. A shelf in the back keeps a steady cold temperature. Keep them away from raw meat to avoid cross-contamination.
- Cool within 2 hours of cooking
- Store in airtight container
- Keep on fridge shelf, not door
- Label container with date
- Do not mix with raw foods
Labeling helps. Write the date on the container so you know when the week is up. It only takes a second and prevents guessing later.
Can You Freeze Cooked Eggs to Make Them Last Longer?
Yes, but with limits. Hard-boiled eggs do not freeze well. The whites turn rubbery and watery when thawed. The texture changes are unpleasant. Freezing is not recommended for whole hard-boiled eggs.
Scrambled eggs and omelets freeze better. Cook them slightly underdone since reheating finishes the cooking. Cool completely, then wrap tightly in plastic wrap and foil. They last up to three months in the freezer. Thaw in the fridge overnight, not on the counter.
Egg dishes like quiche or frittata freeze well. Bake them fully, cool, and wrap. They keep for two to three months. Reheat in the oven at 350°F until hot all the way through. Microwaving can make them tough.
Some people report that frozen scrambled eggs taste fine. The texture is softer than fresh. If texture matters to you, eat them within a month for best quality. Freezing stops bacterial growth but does not kill bacteria already present. Start with fresh eggs.
What Are Common Mistakes People Make With Cooked Egg Storage?
Leaving eggs out too long after cooking is the biggest mistake. That two-hour rule is not a suggestion. At a picnic or potluck, keep eggs in a cooler with ice packs. If the cooler temperature is uncertain, toss leftovers after two hours.
Storing eggs in the original carton after cooking is another error. The carton is porous and does not seal. Bacteria from the fridge air can get in. Transfer cooked eggs to a clean container with a lid. The carton is fine for raw eggs but not cooked ones.
Relying on the sniff test alone is risky. Some bacteria that cause food poisoning do not change the smell. Listeria and Salmonella can grow at refrigerator temperatures without obvious signs. When in doubt, throw it out. That is not wasteful. It is safe.
Reheating eggs more than once is not recommended. Each time you reheat, the eggs pass through the danger zone. Bacteria can multiply during that time. Reheat only what you will eat. If you made a large batch, portion it into smaller containers before refrigerating.
Frequently Asked Questions
Can I eat cooked eggs after 7 days in the fridge?
The USDA says no. After seven days the risk of food poisoning increases. Discard any cooked eggs that have been refrigerated for more than a week.
Do hard-boiled eggs last longer in the shell or peeled?
Hard-boiled eggs last longer in the shell. The shell protects the egg from bacteria and moisture loss. Peeled eggs should be eaten within three to four days.
Can I leave cooked eggs out overnight and still eat them?
No. Cooked eggs left at room temperature for more than two hours must be thrown away. Bacteria grow rapidly in the danger zone between 40°F and 140°F.
What is the best container for storing cooked eggs in the fridge?
An airtight glass or plastic container works best. It keeps out bacteria and prevents odor absorption. Label it with the date for easy tracking.

