Why Do Hard-Boiled Eggs Have a Green Ring Around the Yolk?

For example, USDA lists approximately:

Medium eggs: 12 minutes
Large eggs: 15 minutes
Extra-large eggs: 18 minutes
After cooking, run cold water over the eggs and cool them promptly.

Illinois Extension gives another method: bring covered eggs to a boil, remove them from the heat, let them stand for about 11–13 minutes, then chill them in ice water.

Different methods can work, so the key is controlled cooking followed by rapid cooling.

Does Egg Age Cause the Green Ring?
Egg freshness can affect some characteristics of hard-boiled eggs, particularly how easily they peel, but the classic green ring is primarily associated with the cooking process.

USDA notes that very fresh eggs can actually be more difficult to peel after hard cooking.

So if your egg has a green ring, don’t immediately assume it was old.

It may simply have spent too much time cooking.

How Long Are Hard-Boiled Eggs Safe?
Proper storage matters much more for food safety than whether the yolk has a green ring.

USDA recommends refrigerating cooked eggs promptly and says hard-cooked eggs can be kept safely in the refrigerator for up to 7 days.

USDA also recommends not leaving eggs out of refrigeration for more than two hours.

If you’ve peeled the eggs, keep them refrigerated in a clean, covered container.