Sintered magnets of Sm2Fe17Ny nitrides, with a density of 6.0-7.4 g/cm3, have been prepared by using an explosion technique. Both crystalline structure and the magnetic properties of Sm2Fe17Ny nitrides were retained in the process. The sintered magnet had a remanence B(r)=0.83 T, an intrinsic coercivity mu(0i)H(c)=0.57 T and an energy product (BH)max=88 kJ/m3. The temperature dependence of coercivity and remanence were also measured. The temperature coefficients alpha of remanence and beta of coercivity are -0.076%/degrees-C and -0.51%/degrees-C, respectively.