A soft boiled egg is boiled for a shorter amount of time, typically 4-6 minutes , so that the yolk remains runny while the white is only partially set. A hard boiled egg is boiled for a longer amount of time, typically 10-12 minutes, so that both the yolk and white are fully cooked and solid.