The new composite transparent spinel silicate glass–ceramics containing Ni2+-doped ZnGa2O4 and solid solution MgxZn1−xGa2O4 nanocrystals were fabricated by in situ controlled crystallization method. After heat treatment, the crystal phase content of ZnGa2O4 increase with increasing heat treatment temperature, and the Mg2+ ions could enter the crystal lattice of ZnGa2O4 to replace the Zn2+ ions and form a new solid solution MgxZn1−xGa2O4. The coordination environment of Ni2+ was changed from tetrahedral in glasses to octahedral sites in glass...