An optical fiber scanner including: an elongated optical fiber that guides light; a vibration transferring member that has a through-hole through which the optical fiber is made to pass; piezoelectric elements bonded to the outer surfaces of the vibration transferring member and that perform stretching vibrations in the longitudinal direction of the optical fiber when alternating voltages at a predetermined frequency are applied thereto, thus causing the optical fiber to generate bending vibrations in directions intersecting the longitudinal direction; and a fixing part that fixes the vibration transferring member. The vibration transferring member is provided with: holding surfaces formed of flat surfaces to which the piezoelectric elements are bonded; and contact surfaces formed of flat surfaces parallel to the holding surfaces, that are provided at least partially on the inner surfaces of the through-hole, and with which the outer surface of the optical fiber is brought into contact.