To provide an optical scanner that suppresses displacement of each luminous flux passing through each of a plurality of lens parts constituting a lens, from the optical axis due to a variation in the ambient temperature as much as possible with a simple configuration.
The optical scanner includes: a deflection member 5 which deflects a laser beam; an optical lens 6 which is formed by integrating a first lens part 6a which passes the laser beam scanned by the deflection member 5 and a second lens part 6b which passes the laser beam having passed through the first lens part 6a; and lens supporting parts S1, S2 which support the optical lens 6. Viewing from the direction perpendicular to the optical axes of the first lens part 6a and the second lens part 6b, the lens supporting parts S1, S2 are provided in a region between the optical axes of the first lens part 6a and the second lens part 6b or substantially on the optical axes.