An optical semiconductor element includes: a surface-emitting type
semiconductor laser that emits laser light; and an electrostatic
breakdown protection element that is provided on an optical path of the
laser light emitted from the surface-emitting type semiconductor laser,
absorbs a portion of the laser light, and protects the surface-emitting
type semiconductor laser from electrostatic destruction.