An optical deflector includes a support, a frame-like outer movable plate positioned
inside the support, two outer torsion bars connecting the support and outer movable
plate, an inner movable plate positioned inside the outer movable plate, two inner
torsion bars connecting the outer movable plate and inner movable plate, an outer
driving coil on the outer movable plate, an outer movable plate driving magnetic
field generator, an inner driving coil on the inner movable plate, an inner movable
plate driving magnetic field generator, an outer driving coil wiring electrically
connected to the outer driving coil, and an inner driving coil wiring electrically
connected to the inner driving coil. The inner driving coil wiring extends on the
outer movable plate so as to avoid a magnetic field generated by the outer movable
plate driving magnetic field generator.