Three methods successfully yield perfect hard-boiled eggs: boiling, steaming, and pressure cooking. They all have one similar thing in common: The eggs are immediately exposed to a hot environment. Do not start in cold water; the egg white protein will stick to the shell, making it hard to peel. Quickly cooking the egg proteins causes them to bond and shrink, minimizing frustrating peeling attempts.