On the basis of the comprehensive utilization of the Na–Mg salt deposit, a new process to produce NaCl and ammonium carnallite (MgCl 2 ·NH 4 Cl·6H 2 O) by using NH 4 Cl and the solution left after the preparation of potassium salt as raw materials was proposed. For this, the phase equilibrium of the quaternary system NaCl–MgCl 2 –NH 4 Cl–H 2 O at 25 and 0 °C was studied. The solubilities of the quaternary system NaCl–MgCl 2 –NH 4 Cl–H 2 O were measured by an isothermal method, and the corresponding phase diagrams were drawn out. From the phase diagrams: there are four solid phase crystalline zones, which correspond to NaCl, MgCl 2 ·6H 2 O, NH 4 Cl, and MgCl 2 ·NH 4 Cl·6H 2 O respectively. NaCl and MgCl 2 ·NH 4 Cl·6H 2 O have larger crystalline zones at 25 °C than at 0 °C, and NH 4 Cl has a smaller crystalline zone at 25 °C than at 0 °C. It indicates that NaCl and MgCl 2 ·NH 4 Cl·6H 2 O are easy to crystallize out. On the basis of the analysis and calculation of the phase diagrams, the appropriate conditions for the process were identified. In the process, the NaCl could be prepared at 25 °C, and the ammonium carnallite could crystallize out at 0 °C when NH 4 Cl was added into the remaining solution. The solubilities of the studied system were calculated based on the extended Pitzer model, and the results showed that the calculated values were closed to the experimental results.