Green or Gray Yolk? The Science Behind Overcooked Eggs
The ring is a thin layer of ferrous sulfide. It is ugly, and it is safe. A stopped cook is how you keep the yolk bright.
Cut a hard-cooked egg and the yolk may be wearing a green or gray halo. That color is not spoilage. It is ferrous sulfide, formed where sulfur from the white meets iron in the yolk, and it gets worse when the egg stays hot and then cools slowly. You can eat it. You can also stop making it.
Ferrous sulfide, not a spoiled yolk
In 1920 Charles Kenneth Tinkler and Marion Crossland Soar identified the stain in the Biochemical Journal (doi 10.1042/bj0140114). They already knew a long cook left a greenish-black layer on the yolk, and that an egg put into cold water immediately showed less of it or none. Because the color sits only on the surface, it had to be a meeting of two sides. Hydrogen sulfide comes from a sulfur compound in the white. Iron is in the yolk. The compound they named, ferrous sulphide, is what we now call ferrous sulfide. The colored material dissolved in dilute acid, tested as iron, and gave off hydrogen sulfide. Plain cooked yolk did not.
White heated alone, and yolk heated alone, did not make the color. The two have to touch, which is why you get a ring rather than a yolk that is green to the center. If both ingredients lived in the yolk, the middle would color too, only more slowly, because the center heats last. It does not. University of Nebraska–Lincoln Extension describes the same reaction: sulfur from the white and iron from the yolk. Overcooking is the usual cause. A high amount of iron in the cooking water can cause it too. USDA FSIS agrees, and notes that scrambled eggs held too hot for too long can take on a greenish cast for the same family of reasons.
The ring is safe to eat
UNL’s line is the one to keep: the ring is unattractive, but not harmful. USDA says the green color is safe to consume. Tinkler and Soar were naming a compound, not a toxin. A darker ring means more sulfide at the surface. Green, gray, and greenish-black are the descriptions those sources use for one reaction, not three different faults.
A different color is not this reaction. USDA says a pink or iridescent white indicates spoilage from Pseudomonas bacteria, and that some of those organisms are harmful. That color is in the white. A thin ring on a yolk you just cooked and chilled is the sulfide, and you can eat it. If the white itself has gone pink or shimmering, that is spoilage, not carryover cooking.
Heat and time
Tinkler and Soar found that more time hot produced a more intense color at the yolk surface. The amount of green depends on how long the egg stays hot enough for the white to keep releasing hydrogen sulfide and for that gas to reach the iron. Their laboratory holds are not a recipe. The direction is the result that matters: longer in the heat, more sulfide.
The white and the yolk are not one protein. The American Egg Board reports white proteins coagulating between about 144°F and 149°F (62–65°C) and yolk proteins between about 149°F and 158°F (65–70°C). A fully set yolk sits at the top of that yolk range. Every stretch past that arrival is time the reaction can use. The science page makes the altitude point: those set-points do not change when you climb. The water does. “A little longer to be sure” is how a yolk that was already done stays in the reaction window. If you timed the egg, chilled it, and the ring is still there, iron in the water is the other cause UNL and USDA name. The egg is still safe.
Slow cooling makes the ring worse
Quick cooling showed little or no green in the 1920 experiments. Eggs left to cool in the cooking water showed more. Tinkler and Soar concluded that cold water checks the decomposition by cooling. The reaction is not finished when you turn the burner off. The egg is still hot, and a slow cool gives the gas time to reach the yolk.
The Exploratorium says the same thing from the counter. Skip the cold plunge and the egg goes on cooking, toward a rubbery white and a green yolk. Iron in the yolk and sulfur in the white make green-gray ferrous sulfide and hydrogen sulfide gas. Their cooling comparison adds why the slow path is worse: a gas stays dissolved more readily in a cooler liquid. An egg that stays warm lets more hydrogen sulfide leave the white and meet the yolk. Quick cooling keeps more of the gas in the white. Set the eggs in ice water until they are cold.
Leaving eggs in the pot “so they finish gently” is that slow cool. At altitude the calculator has already added time for cooler boiling water. Extra minutes in the pot are a second cook. The hard-boiled method says this in fewer words. The chemistry above is why.
Telling the ring from a real problem
Use the location. Ferrous sulfide is a thin layer on the yolk surface. The rest of the yolk is the color it was going to be, and the white is the white of a cooked egg. That pattern, on an egg you just cooked and chilled, is this reaction. A yolk green all the way through is not what Tinkler and Soar produced, and it is not what UNL is describing.
A white that has turned pink or iridescent after the egg sat around is the Pseudomonas case, not a ring. USDA also says a spoiled egg smells unpleasant when you break it, raw or cooked. The sulfide ring does not carry that smell. It carries the ordinary cooked-egg sulfur note. Iron in the cooking water can still paint a safe ring on an egg you did not overcook. Adjust the next batch. Do not answer a ring by boiling longer.
The sulfur smell
The smell and the ring are relatives. Tinkler and Soar traced the hydrogen sulfide to a sulfur compound in the white. The Exploratorium ties the sulfur whiff that comes with a green yolk to the same meeting of iron and sulfur, which produces both the solid and the gas. A faint eggy smell on a freshly cooked, quickly chilled egg fits a little hydrogen sulfide. A harsh or rotten odor, especially from an egg that sat out, is the spoilage odor USDA tells you to trust. When you are unsure, throw it out. The ring alone, without that odor, is not the unsure case.
Bright yolks: the calculator, then ice water
Stop when the center has reached the doneness you asked for, and get the heat out immediately. The boiling eggs at altitude calculator is the first of those. It takes altitude, egg size, fridge or room temperature, water start, and batch size, and it returns a time. A memorized time can overshoot at your altitude.
For a fully set yolk, follow the hard-boiled method and move the eggs to ice water right away when the timer ends. That is the cold plunge in the 1920 paper, the Exploratorium notes, and the UNL page. It also makes peeling easier. The peeling guide explains what the ice does to the air cell. You do not need a separate trick for the color and another for the shell.
A jammy yolk spends less time at the top of the set range, so a heavy ring is less likely, but carryover still stains an edge and still cooks the center past what you wanted. Ice water right away protects both textures. Deviled eggs and egg salad mash the yolk, where a gray edge looks dull. The ring is safe to mash. It is not a reason to start over or to add anything to the water.
Sources
- C. K. Tinkler and M. C. Soar, Biochemical Journal 14 (1920): 114–119, doi 10.1042/bj0140114.
- University of Nebraska–Lincoln Extension, “How to Avoid a Green Ring on Hard-Boiled Egg Yolks”.
- USDA FSIS, “Shell Eggs from Farm to Table”.
- Exploratorium, “How to Hard Cook an Egg” and “Gassy Eggs”.
- American Egg Board, “Coagulation/Thickening”.