Cook the eggs for 5 to 7 minutes: For 1 to 2 eggs, cook 5 minutes for a very runny yolk or up to 7 minutes for a barely-set yolk. For 3 or 4 eggs, add a few extra seconds to your timing. (For more than 4 eggs, cook in batches.) Remove the eggs with a slotted spoon.