In the field of space optical, the application of advanced optical instruments for related target detection and identification has become an advanced technology in modern optics. In order to complete the task of search in wide field of view and detailed investigation in small field of view, it is inevitable to use the structure of the zoom system to achieve a better observation for important targets. The innovation of this paper lies in using the zoom optical system in space detection, which achieve firstly military needs of searched target in the large field of view and recognized target in the small field of view. At the same time, this paper also completes firstly the design of variable focus optical detection system in the range of hemisphere space, the zoom optical system is working in the range of visible and infrared wavelengths, the perspective angle reaches 360 ° and the zoom ratio of the visible system is up to 15. The visible system has a zoom range of 60～900 mm, a detection band of 0.48～0.70μm, and a F-number of 2.0 to 5.0. The infrared system has a zoom range of 150 ~ 900mm, a detection band of 8～12μm, and a F-number of 1.2 to 3.0. The MTF of the visible zoom system is above 0.4 at spatial frequency of 45 lp / mm, and the infrared zoom system is above 0.4 at spatial frequency of 11 lp / mm. The design results show that the system has a good image quality.