An optical cross-connect switch comprises a pin grid actuator having a plurality of actuating devices such as solenoids and used in dot matrix printers, a plurality of pins each of which having at least one surface processed as a mirror and actuated by each of actuating devices, and a pin guide which arrange the pins in a different arrangement from that of the actuating devices of the pin grid actuator. The pins move linearly to selectively position the mirror surface of a selected pin to reflect the incident optical beam. Two or more pin guide may be used to guide pins to be arranged in a desired format.