An optical scanner apparatus that oscillates a mirror to scan incident light, includes an optical scanner unit that includes a sensor that detects an oscillation angle of the mirror, and an interconnect connected to the sensor; and a shading unit that shades the sensor and the interconnect from stray light of the incident light and ambient light.