The design of optical systems not only considers the imaging performance but also the manufacturing difficulty and feasibility of the system. In practice, errors in the manufacturing process of glass materials and deviations in glass material parameters introduced in complex environments can both lead to degradation in the imaging quality of optical systems. Optical systems that are sensitive to glass material errors face increased manufacturing difficulty and reduced stability. This paper, based on geometrical optics theory, establishes an evaluation function for refractive index error sensitivity and analyzes its relationship with optical parameters and glass materials. It proposes a design method to reduce the refractive index sensitivity of optical systems. Through simulation verification and analysis using examples, the validity of the desensitization design method is confirmed.