MWIR imaging spectrometer is promising in detecting spectral signature of high temperature object such as jet steam, guided missile and explosive gas. This paper introduces an optical design of a MWIR imaging spectrometer with a cold slit sharply reducing the stray radiation from exterior environment and interior structure. The spectrometer is composed of a slit, a spherical prism as disperser, two concentric spheres and a correction lens. It has a real entrance pupil to match the objective and for setting the infrared cold shield near the slit and a real exit pupil to match the cold shield of the focal plane array (FPA). There are two cooled parts, one includes the aperture stop and slit, and the other is the exit pupil and the FPA with two specially positioned cooled shields. A detailed stray radiation analysis is represented which demonstrates the outstanding effect of this system in background radiation restraint.