A carton of eggs can sit in the refrigerator for weeks, while a batch of hard-cooked eggs has a much shorter window. The FoodSafety.gov cold food storage chart lists raw eggs in the shell at 3 to 5 weeks in the refrigerator and hard-cooked eggs at 1 week. The chart’s refrigerator column applies to food held at 40 degrees Fahrenheit or below.
The gap matters most in the days before a holiday, when cartons, boiled eggs, eggnog and pies all compete for the same shelves. The chart covers each of them, and extension guidance words the same eggs a little differently.

Raw Eggs: 3 to 5 Weeks in the Refrigerator
On the FoodSafety.gov chart, raw eggs in the shell are listed at 3 to 5 weeks in the refrigerator, and the chart says not to freeze them in the shell. Raw whites and yolks that have been separated are listed at 2 to 4 days. Anyone who wants the more cautious figure can count from the 3-week end of the range.
Illinois Extension’s freezer storage chart words it differently, saying eggs can be stored in the refrigerator for at least one month. Both sources place eggs in the refrigerator rather than on the counter. A list of items to keep in the refrigerator at all times covers what else belongs on those shelves.
Hard-Cooked Eggs: 1 Week
Hard-cooked eggs get a shorter time than whole raw eggs on the chart. FoodSafety.gov lists them at 1 week in the refrigerator and says not to freeze them. Illinois Extension’s chart does not list cooked eggs separately.
Wikipedia’s entry on boiled eggs describes hard-boiled or hard-cooked eggs as eggs cooked until the white and the yolk both solidify, and says they can be eaten warm or cold. They are also the base for deviled eggs and Scotch eggs, according to the same entry. A batch made on a Sunday would reach the 1-week mark the following Sunday.
Making a week-long batch is easy to lose track of in a crowded refrigerator, and the 5 fridge and freezer checks to make before the Thanksgiving grocery run include a look at what is already on the shelves. Dating a bowl of boiled eggs with the cooking day takes only a strip of tape.
Eggnog, Pies and Other Egg Foods
The same chart lists the holiday items made with eggs, and their times are shorter still. Commercial eggnog keeps 3 to 5 days in the refrigerator, and homemade eggnog keeps 2 to 4 days. Commercial eggnog can also go in the freezer for 6 months, but the chart says not to freeze homemade eggnog.
Wikipedia’s eggnog entry calls it a rich, chilled, sweetened, creamy dairy-based beverage traditionally made with milk or cream, sugar and whipped eggs. A homemade batch is the item with the least time, so it belongs near the front of the refrigerator, and a list of clever storage hacks offers ideas for fitting containers onto crowded shelves.

Baked dishes follow the same pattern on the chart:
Pumpkin or pecan pie keeps 3 to 4 days in the refrigerator after baking, or 1 to 2 months in the freezer. Custard or chiffon pie also keeps 3 to 4 days, but the chart says not to freeze it. Quiche, which Wikipedia describes as a French tart with a pastry case filled with savory custard, keeps 3 to 5 days after baking and 2 to 3 months in the freezer. Casseroles with eggs keep 3 to 4 days after baking and 2 to 3 months in the freezer.
A holiday meal with a pie, a quiche and a pitcher of eggnog therefore has three different deadlines, all counted from the day of baking or opening. Bakers who need the main oven for the turkey can look at a comparison of air fryers and a toaster oven that free up the main oven, and a checklist of 5 oven checks to make before the turkey goes in covers the rest of the kitchen.
Freezing Eggs and Egg Substitutes
Eggs in the shell cannot go in the freezer, according to FoodSafety.gov and Illinois Extension. The route for longer storage is to crack them first. The chart lists raw whites and yolks at 12 months in the freezer, with a note that yolks alone do not freeze well. Illinois Extension gives whole eggs out of the shell 12 months for top quality at 0 degrees Fahrenheit.
Illinois Extension describes the method. The yolks are mixed with the whites, and to avoid graininess it adds 1 tablespoon of sugar or 1/2 teaspoon of salt per cup of egg mixture. The mixture is strained through a colander for a more uniform texture and put in a container with an inch of empty space at the top.
Egg substitutes follow their own times. FoodSafety.gov lists unopened liquid egg substitute at 1 week in the refrigerator and opened liquid substitute at 3 days. Illinois Extension lists unopened egg substitutes at 12 months in the freezer and says opened ones should not be frozen.
Putting the Numbers on a Calendar
Reading across the chart, the times shrink as eggs move from raw to cooked to blended into other dishes. A raw egg in its shell has weeks, a hard-cooked egg has 1 week, and a baked or blended egg dish has a handful of days. For cooked and baked items, the chart counts from the day of cooking or baking.
The chart notes its date: FoodSafety.gov lists it as last reviewed on September 19, 2023. The figures come from federal guidance and extension publications.
This article was produced with AI assistance and edited for accuracy against the sources linked above.
Image: Evan-Amos – Public domain/Wikimedia Commons