Kitchen Science, Honestly

Why Boiled Egg Yolk Turns Green, and Perfect Anda Timing

Six minutes, eight, eleven. A boiled anda gets a grey-green ring round the yolk when it cooks too long or cools too slowly, and that ring is harmless iron sulphide, not a sign of a bad egg. Get the timing right, plunge the eggs into cold water and the yolk stays bright yellow. Below are exact times for soft, jammy and hard eggs, peeling tricks, and the fully-cooked rule for pregnancy and small children.

In brief

  • Green ring: iron from the yolk meets sulphur gas from the white. Safe to eat.
  • Cause: boiling too long, and leaving eggs to cool in hot water.
  • Fix: time it, then cold water for 5 minutes straight away.
  • Hard-boiled: 10 to 11 minutes for a large egg added to boiling water.
  • Pregnancy, babies, elderly: white and yolk fully firm.

Prefer to listen? This post as a 2 min video · Watch the video

Why the boiled egg yolk turns green

Egg white contains sulphur, as part of its protein. Egg yolk contains iron.

When an egg heats up, a little of the sulphur in the white is released as hydrogen sulphide, the gas behind that “eggy” smell, and because the centre of the egg is cooler than the outside, the gas drifts inward toward the yolk, where it meets iron at the yolk’s surface and forms ferrous sulphide (iron sulphide), a grey-green compound. The longer and hotter you cook, the more gas is made, and the thicker the ring gets. Slow cooling in the hot pot keeps the reaction going for longer.

That’s all.

It’s safe. You’d need far more than one ring’s worth of iron sulphide to matter, and the iron itself comes from the egg. The only real cost is taste and texture: an overcooked yolk is dry and crumbly, and the white turns rubbery.

Old eggs peel more easily than fresh ones, which is why a farm-fresh desi egg can be a nightmare to peel.

Perfect anda timing: soft, jammy and hard

These times are for large eggs (about 55 to 60 g) taken straight from the fridge and lowered gently into water that is already at a full boil. Desi eggs? Smaller. Take a minute off.

MinutesYolkWhite
6RunnyJust set
7 to 8Jammy, soft centreFirm
9Just set, moistFirm
10 to 11Fully firm, bright yellowFirm
14 and overDry, green ring likelyRubbery
  1. Boil the water first. Fill a pan with enough water to cover the eggs by 2 to 3 cm and bring it to a rolling boil.
  2. Lower the eggs in with a spoon. Turn the heat to a steady simmer so they don’t rattle and crack. A pinch of salt helps white seal up if one does crack.
  3. Start the timer the moment the eggs go in. Phone timer. Not a guess.
  4. Cool in cold water at once. Lift the eggs into a bowl of cold water, with ice if you have it, for 5 minutes. This stops the cooking and stops the green ring forming.
  5. Peel from the fat end. Tap the wide end (where the air pocket is), then roll the egg gently on the counter to crack it all over. Peel under a thin stream of running water, getting under the thin skin beneath the shell.

Prefer the cold-water start? Put eggs in cold water, bring to a boil, then cover, turn off the heat and leave for 10 to 12 minutes for hard eggs. It’s gentler, but less precise, because every pan and stove heats differently.

Tiffin eggs for the week

Boil 6 eggs for 10 minutes, cool them in cold water, and keep them unpeeled in a covered box in the fridge. Use within 5 to 7 days. Peel on the day, and they stay moist. Eggs for older kids’ lunches go into a cold box, never a hot bag all morning.

Why some eggs won’t peel

Very fresh eggs have a slightly more acidic white that clings stubbornly to the thin skin under the shell, but as an egg ages for a few days in the fridge the white slowly becomes less acidic, the air pocket at the wide end grows, and that skin lets go of the white far more easily when you peel. So eggs bought 5 to 7 days earlier usually peel best. Starting eggs in boiling water, instead of cold, also helps the white shrink away from the shell cleanly.

Wondering whether an old egg is still good? The float test, candling and cracked-egg rules are in how to test egg freshness.

Pregnancy, babies and older people: cook it through

Runny yolks are lovely. Mostly. They also carry a small risk of Salmonella, a germ that can live on or in eggs, and some people are more vulnerable to it.

  • Pregnancy: eat eggs with both white and yolk fully firm, 10 minutes and more in the table above, and avoid raw egg in homemade mayonnaise, mousse or eggnog.
  • Babies from 6 months: egg is a good early food, but only hard-boiled and mashed, or fully cooked in a soft omelette. No runny yolk.
  • Toddlers and young children: fully cooked eggs, cut into small pieces, not a whole peeled egg to bite.
  • Older adults and anyone with a weak immune system: fully cooked eggs too.

Raw egg shakes for gym goers carry the same risk; see egg and milk together and raw egg safety.

Myth: a green yolk means the egg was bad or old

A fresh egg boiled for 20 minutes will have a thick green ring, while a two-week-old egg boiled for 9 minutes and cooled fast in a bowl of cold water will have none at all, which shows the colour is about heat and time rather than age. The ring tells you about the pan, not the egg. What does signal a bad egg is a sulphur or rotten smell the moment you crack or peel it, a slimy or discoloured white, or a cracked shell that sat unrefrigerated.

Who should be careful

Don’t microwave a whole egg in its shell, even peeled and whole: steam builds up and it can burst, sometimes after it comes out, and burn a face or hands. If hot water or a burst egg scalds skin, cool it under cool running water for about 20 minutes. Discard cracked or dirty eggs, and keep boiled eggs in the fridge within 2 hours of cooking. Babies trying egg for the first time should have a small amount of well-cooked egg; hives, swelling of the face or lips, vomiting or breathing trouble afterwards needs urgent medical help. Anyone told to limit dietary cholesterol by their doctor should follow that advice on how many eggs a week.

Boiled egg timing and green yolk questions

Why does boiled egg yolk turn green?

Overcooking releases sulphur gas from the white, which meets iron in the yolk and forms grey-green iron sulphide. Slow cooling in hot water makes it worse.

Is a green egg yolk safe to eat?

Yes. The ring is harmless and the egg is fine. It just tastes a bit stronger and the yolk is drier.

How long to boil an egg for a hard yolk?

10 to 11 minutes for a large fridge-cold egg lowered into boiling water, then 5 minutes in cold water. Desi eggs need about a minute less.

How long to boil an egg for a soft yolk?

About 6 minutes for a runny yolk and 7 to 8 minutes for a jammy one, using large fridge-cold eggs added to boiling water.

How do you stop the green ring on boiled eggs?

Don’t overcook them, and move them into cold water straight after boiling. Cooling fast stops the reaction.

Can pregnant women eat soft boiled eggs?

It is safest to eat eggs with both white and yolk fully firm in pregnancy, because runny yolks carry a small Salmonella risk.

When can babies eat boiled eggs?

From about 6 months, as well-cooked egg, mashed or in small soft pieces. Never runny yolk, and never a whole egg to bite.

Why are fresh eggs hard to peel?

The white of a very fresh egg sticks to the inner shell skin. Eggs a week old peel more easily, and starting them in boiling water helps.

How long do boiled eggs last in the fridge?

Unpeeled, about 5 to 7 days in a covered box. Peeled eggs are best eaten within 2 days. Refrigerate within 2 hours of boiling.

Does adding salt or vinegar to the water help?

A little. Salt or vinegar helps the white set fast if a shell cracks, so less leaks out. Neither makes peeling reliably easier.

Can you boil eggs in a pressure cooker?

Yes, on a stand with a little water, but times vary widely between cookers. Test one egg first and still cool them in cold water straight away.

Why does a boiled egg smell of sulphur?

Heat releases hydrogen sulphide from the white. A mild smell is normal, and stronger in overcooked eggs. A rotten smell on cracking means the egg is bad.

More everyday cooking chemistry, without scare stories, lives in Kitchen Science, Honestly.

Nothing on The Care Online is medical advice. Traditional practices are described as tradition, not as fact. Patch-test anything new, and take a persistent or serious concern to a qualified professional. See how posts are written on our methodology page.