How long do eggs last?

Raw eggs in shell keep 3 to 5 weeks in the refrigerator, and hard-cooked eggs should be used within 1 week.

FormWhereOfficial window
raw eggs in shellrefrigerator3 to 5 weeks
hard-cooked eggsrefrigerator1 week
The official discard rule

"Toss any frozen eggs with a broken shell; use immediately after thawing."

These are the official windows; when in doubt, follow the source linked below.
Grounded in: foodsafety.gov, fsis.usda.gov. Every window above appears verbatim in the linked sources.
Our other tools
checkthetemp.com USDA safe cooking temperatures
freezeornot.com what freezes well and how long it keeps
getthestainout.com gentle stain removal, step by step
readthetag.com laundry care symbols, decoded
feedornot.com can dogs, cats and chickens eat that?
substitute.kitchen ingredient substitutions that scale
whichbug.com identify a bug from what you can see
ismyplantdying.com diagnose a struggling plant
aquariumstudio.ai aquarium care and tank help