The invention relates to an optical racemization and slit scanning integrated device based on a solar telescope grating spectrometer. The optical racemization and slit scanning integrated device comprises a solar telescope (1), a K1 plane mirror (2), a K2 plane mirror (3), a K3 plane mirror (4), an electrical control translation stage (5), an electrical control rotating platform (6), a grating spectrometer slit (7), a grating spectrometer (8), a photoelectric detector (9), a controller (10) and a data processing and control computer (11). At present, most of solar telescopes use horizontal type rack structures, image field rotation problems are easily caused in the object tracking process by means of the structures, so that on one hand, a special image field racemization device is required to be equipped, and on the other hand, a special slit scanning device is required to be equipped to obtain three-dimensional information of a solar activity region. The optical racemization and slit scanning integrated device is simple in structure, small in occupied space, few in optical mirror planes and high in innovativeness and practicality.