How long does the egg last after a chicken lays it?

A chicken egg can last for a surprisingly long time after it's laid, but it depends on how it's stored:

Refrigerated:

* Up to 3-5 weeks: This is the recommended timeframe for optimal freshness and quality. The lower temperature slows down bacterial growth.

Unrefrigerated:

* About 1-2 weeks: At room temperature, eggs will start to deteriorate more quickly. The yolk will become runny, and the white will thin out.

Important considerations:

* Date on the carton: The "best by" date on the carton is a good guide, but it's not the expiration date. Eggs can still be safe to eat beyond that date, but their quality will decline.

* Cleanliness: Make sure the eggs are clean and free of cracks, as this can increase the risk of spoilage.

* Washing: While washing eggs can make them look cleaner, it also removes a protective coating that helps prevent bacteria from entering. It's best to wash them just before cooking.

Testing for freshness:

* Float test: Fresh eggs sink to the bottom of a bowl of water, while older eggs float or rise partially.

* Smell test: Fresh eggs should have no odor.

In summary: While eggs can last for a while, it's best to use them within the recommended timeframe for optimal freshness and flavor.