The MEMS optical switch is to engrave a number of tiny mirrors on the silicon crystal. Through the action of electrostatic force or electromagnetic force, the micro-mirror array is rotated, thereby changing the propagation direction of the input light to realize the function of on-off of the optical path. The MEMS optical switch switches the light wave routing through external control information and the corresponding high and low levels to control whether the internal micro mirror is lifted or not.