For a soft-boiled egg with a fully set white and a runny yolk, cook it in gently boiling water for about 6 minutes. That timing works for a large egg straight from the refrigerator. Smaller eggs need less time. Larger eggs need a little more. The yolk firms up quickly after that — by around 8 minutes it is basically hard-boiled.
That is the short answer. The longer answer involves starting temperature, egg size, altitude, and how you define “soft.” Get those right and you can hit the same result every time.
How Long To Boil Eggs For Soft Boiled Eggs at a Glance
Timing depends on the texture you want. The window between a liquid yolk and a firm one is narrow.
- 5 minutes: White just set, yolk fully liquid
- 6 minutes: White set, yolk runny but slightly thickened at the edges
- 7 minutes: White firm, yolk creamy and jammy
- 8 minutes: Yolk beginning to firm through
- 10 minutes or more: Hard-boiled territory
These times assume a large egg (about 50 grams without the shell, per USDA sizing) starting cold from the fridge and going into water at a rolling boil. Egg size matters. A medium egg may need roughly 30 seconds less. An extra-large egg may need about 30 seconds more. Those are reasonable adjustments, not precise guarantees, because stovetop heat varies.
Altitude changes things too. Water boils at a lower temperature as elevation rises. At around 3,000 feet, water boils near 206°F instead of 212°F at sea level. That means cooking takes longer. Some cooks add about a minute at moderate altitude, though the exact adjustment depends on your elevation.
Should You Start Eggs in Cold Water or Boiling Water?
Both methods work, but they behave differently. Starting eggs in boiling water gives you more predictable timing because the clock starts at a known temperature.
The cold-water method — placing eggs in a pot, covering with cold water, then heating to a boil — is more forgiving but less precise. The time to reach boiling varies with your stove, the pot, and how much water you use. That variability makes it harder to nail a runny yolk.
The boiling-water start is straightforward. Bring water to a rolling boil first. Lower the eggs in gently with a spoon. Start your timer immediately. Keep the water at a gentle boil, not a violent one, which can crack shells as eggs bounce against the pot.
One detail people miss: the shell is not a perfect seal. It is porous, and the egg contains a small air cell. As the egg heats, that air expands and can push out through the shell. That is why very fresh eggs can be harder to peel — the inner membrane clings tightly to the white. For soft-boiled eggs you are not peeling much, so freshness matters less than it does for hard-boiled.
Why the Ice Bath Matters
When your timer goes off, move the eggs straight into ice water. This does two things. It stops the cooking instantly, so the yolk does not keep firming from residual heat. It also cools the shell enough to handle.
Skip this step and your 6-minute egg can behave like a 7-minute egg by the time you crack it open. Carryover cooking is real with eggs because they are small and hold heat in their dense white.
Give them about a minute in the ice bath. Longer is fine if you are not eating right away. You can hold soft-boiled eggs in cold water for a short while, but they are best eaten warm.
What Affects Boiling Time Besides the Clock?
Several variables shift your results even when you follow the same recipe.
- Starting temperature: A fridge-cold egg takes longer than a room-temperature one. The difference is small but noticeable at the soft-boiled stage.
- Egg size: Larger eggs have more mass to heat through.
- Pot and water volume: More water holds heat steadier when you add cold eggs. A small pot cools down fast and takes longer to recover.
- Altitude: Lower boiling point means slower cooking.
- Yolk position: Not a timing issue, but it affects how the egg looks when cut. Older eggs tend to have yolks that sit more centered.
If you want consistency, control the variables you can. Use the same pot, the same amount of water, and eggs from the fridge every time. Then adjust your timer by 30 seconds up or down until you get the texture you want.
Is a Runny Yolk Safe to Eat?
This is where honesty matters more than reassurance. Eggs can carry Salmonella bacteria, and the bacteria are more often found in the yolk than the white. Cooking to a temperature that sets the white but leaves the yolk liquid does not necessarily reach the temperature that kills Salmonella throughout.
USDA food safety guidance recommends cooking eggs until both yolk and white are firm, which means a fully cooked yolk. That guidance exists specifically to reduce the risk of foodborne illness. A soft-boiled egg with a runny yolk does not meet that standard.
So the safe answer is: a runny yolk carries some risk. How much risk depends on the egg and how it was handled. In the United States, eggs are typically washed and refrigerated, which removes the protective bloom on the shell. That is why US eggs are refrigerated and why the USDA takes a cautious position.
People with a higher risk of serious illness from foodborne infection should avoid runny yolks. That includes pregnant women, young children, older adults, and anyone with a weakened immune system. For these groups, the risk from Salmonella can be more serious than it is for a healthy adult.
If you want a soft-boiled egg with lower risk, you can use pasteurized in-shell eggs where available. These have been heat-treated to reduce bacteria while keeping the egg raw enough to cook normally. They are not available everywhere.
No clinical guidelines set a “safe” soft-boiled time. The relationship between time, temperature, and bacterial kill is well studied, but translating it into a home-kitchen timer is not something regulators have done. The honest position is that a runny yolk is a choice with a small but real risk, and the official guidance points toward fully cooked yolks.
How to Peel or Open a Soft-Boiled Egg
You do not peel a proper soft-boiled egg the way you peel a hard-boiled one. The white is too soft and the yolk too liquid.
The classic approach is to slice off the top with a knife and eat it from the shell with a small spoon. Some people tap around the middle and scoop out both halves. Either way, a gentle tap and a shallow cut work better than trying to strip the shell.
If you want a peelable soft-boiled egg, aim for the 7-minute mark where the white is firm. Even then, peeling is fussy because the white is delicate. Cold water and a slow, careful hand help.
For a jammy yolk that slices cleanly — good for ramen or salads — the 7-minute egg is your target. It holds its shape better than a 6-minute egg while keeping the yolk soft.
Common Mistakes That Ruin Soft-Boiled Eggs
Most soft-boiled eggs fail for one of a few predictable reasons.
- Not starting the timer at the right moment: The clock starts when the egg hits boiling water, not when you turn on the stove.
- Skipping the ice bath: Residual heat overcooks the yolk within a minute or two.
- Using a violent boil: Bouncing eggs crack, and cracked eggs leak white into the water.
- Guessing on egg size: A jumbo egg needs more time than a medium one, and the difference is enough to matter.
- Reusing the same water for a second batch: The water is already hot, so timing shifts.
Fix these and your results get far more repeatable.
Frequently Asked Questions
How long do you boil eggs for soft boiled?
About 6 minutes in gently boiling water for a large, fridge-cold egg. That gives you a set white and a runny yolk.
Is 5 minutes enough for a soft boiled egg?
Five minutes gives a fully liquid yolk with a just-set white, which some people prefer. It is on the soft end, so the white may still be slightly loose.
Can you eat soft boiled eggs when pregnant?
Guidance for pregnancy generally advises against runny yolks because of the risk of Salmonella infection. Pasteurized eggs, where available, are an option worth discussing with your doctor.
Why do my soft boiled eggs turn out hard?
Usually because the egg stayed in hot water after the timer ended, or the water was too hot for too long. An ice bath right when the timer goes off stops the cooking.

