With the acceleration of industrialization, environmental issues have received great attention from governments and societies around the world. Utilizing solid wastes containing valuable heavy metals and exploring their role and application in materials is one of the focal issues of environmental protection in recent years. In this paper, in order to explore the effect of Mn content on the crystallization of CaO-MgO-Al2O3-SiO2 glass–ceramics, glass–ceramics with different content of MnO2 were prepared by sintering method and the effect of MnO2 doping on the crystalline properties, glass stability and heavy metal fixation properties of the stainless steel slag glass–ceramics was investigated by differential scanning calorimetry (DSC), Raman spectroscopy, X-ray diffraction (XRD) and scanning electron microscope (SEM). The analysis using crystallization kinetics showed that surface crystallization dominated the whole crystallization process in the range of 0% to 10% MnO2 content. The peak glass crystallization and depolymerisation temperatures of the glass–ceramics increased gradually with increasing MnO2 content, and the main crystallization mode of the samples was one-dimensional crystallization. The main crystalline phase of the resulting glass–ceramics was transformed from diopside to spinel, with a crystallization temperature of 860℃. Heavy metals solidified in the spinel phase. This study shows that heavy metals can be effectively immobilized in glass–ceramics. In summary, the use of solid waste to prepare final products with good environmental performance provides a feasible way to utilize solid waste resources.