To be on the safer side consume hard-boiled eggs during pregnancy. Boiling them will kill the harmful salmonella bacteria and reduce the risk of salmonella poisoning.