Eggs stored in the refrigerator can remain fresh for 3 to 5 weeks if kept at a consistent temperature of 40°F (4°C) or lower. Proper storage is key: keep the eggs in their original carton to protect them from absorbing odors and flavors from other foods. Avoid placing them in the refrigerator door, as the temperature there fluctuates. While eggs may still be safe to consume after five weeks if they show no signs of spoilage, their quality (like texture and flavor) diminishes over time. To check freshness, perform the float test: a fresh egg sinks, while a spoiled one floats.