An optical switch (10) includes a housing (3), an input port (4),
an output port (5), a switching element (6), a holder (7),
and a driver (63). The holder holds the input and output ports in alignment
with one another and is assembled with the switching element. The switching element
includes an optical component assembly (61) and a rotating mechanism (60).
The optical component assembly is fixed on the rotating mechanism and is brought
to move between a top stopper (85) (an upward position), wherein the optical
component assembly is out of optical paths running between the input port and the
output port, and a bottom stopper (86) (a downward position), wherein the
optical component assembly is in the optical paths. The optical component assembly
includes a prism (612), which redirects optical paths passing through it,
thereby effecting switching between the input and output ports.