The phase equilibria of aqueous quaternary system Na + , K + , Mg 2+ //SO 4 2− −H 2 O at T = 298.2 and 323.2 K were studied by the isothermal dissolution method. The density, refractive index, and composition of the equilibrium solution were determined, on the basis of which the phase diagrams and density/refractive index vs composition diagrams were drawn. There were four quaternary invariant points and six crystallization regions corresponding to single salts K 2 SO 4 , Na 2 SO 4 •10H 2 O, and MgSO 4 •7H 2 O and double salts Na 2 SO 4 •3K 2 SO 4 , Na 2 SO 4 •MgSO 4 •4H 2 O, and K 2 SO 4 •MgSO 4 • 6H 2 O in the quaternary system Na + , K + , Mg 2+ //SO 4 2− −H 2 O at 298.2 K. When the temperature of the system was increased to 323.2 K, the crystalline form of some salts changed Na 2 SO 4 •10H 2 O, MgSO 4 •7H 2 O, and K 2 SO 4 • MgSO 4 •6H 2 O transformed into Na 2 SO 4 , MgSO 4 •6H 2 O, and K 2 SO 4 •MgSO 4 • 4H 2 O, respectively. At 298.2 and 323.2 K, the crystallization region area of the potassium salt composed of Na 2 SO 4 •3K 2 SO 4 , K 2 SO 4 , and K 2 SO 4 •MgSO 4 •nH 2 O was more than 72% of the whole crystallization region area, which indicated that potassium was most easily crystallized from the system, at which the crystallization region of Na 2 SO 4 •3K 2 SO 4 was the largest; potassium may be more easily precipitated from this system in the form of Na 2 SO 4 •3K 2 SO 4 . With the increase in temperature from 298.2 to 323.2 K, the crystallization region of Na 2 SO 4 •MgSO 4 •4H 2 O significantly increased, while the crystallization regions of Na 2 SO 4 •nH 2 O and MgSO 4 •nH 2 O significantly reduced. The sodium and magnesium in the system can be removed according to the change in the crystallization regions of sodium and magnesium with temperature, which provides favorable conditions for the preparation of K 2 SO 4 .