An optical device includes a rigid pipe provided to cover the outer
peripheries of a fixing joint portion and an optical fiber. The tip
portion of the rigid pipe has a gap for providing flexibility between the
optical fiber and the tip portion. Therefore, the rigid pipe suppresses
bending of the optical fiber to avoid concentration of stress in the
fixing joint portion for fixing the optical fiber to an optical unit
section, thereby avoiding breakage of the optical fiber in the fixing
joint portion.