Comparative genomics shows that sodium channel and pump proteins evolved just before multicellular animals arose, implying that control of electrolyte balancing was a crucial event in life's history. Karen Hopkin reports