Italian National Research Council scientists have developed a technique called periodic cooking to boil the perfect egg. The technique takes 32 minutes. The method alternates the egg between boiling water at 100 degrees Celsius and lukewarm water at 30 degrees Celsius. The process involves transferring the egg between the two temperatures every two minutes for 32 minutes.