An optical deflector, a method of producing the optical deflector, an optical scanning device, and an image forming apparatus are disclosed that are able to save resources, provide high reliability at low cost, and enable stacked and relatively-offset polygon mirrors to be arranged p