Developing efficient seawater-electrolysis system for mass production of hydrogen is highly desirable due to the abundance of seawater. However, continuous electrolysis with seawater feeding boosts the concentration of sodium chloride in the electrolyzer, leading to severe electrode corrosion and chlorine evolution. Herein, the common-ion effect was utilized into the electrolyzer to depress the solubility of NaCl. Specifically, utilization of 6 M NaOH halved the solubility of NaCl in the electrolyte, affording efficient, durable, and sustained seawater electrolysis in NaCl-saturated electrolytes with triple production of H2, O2, and crystalline NaCl. Ternary NiCoFe phosphide was employed as a bifunctional anode and cathode in simulative and Ca/Mg-free seawater-electrolysis systems, which could stably work under 500 mA/cm2 for over 100 h. We attribute the high stability to the increased Na+ concentration, which reduces the concentration of dissolved Cl- in the electrolyte according to the common-ion effect, resulting in crystallization of NaCl, eliminated anode corrosion, and chlorine oxidation during continuous supplementation of Ca/Mg-free seawater to the electrolysis system.