An optical fiber is made of silica-based glass, and includes a core and a cladding. The optical fiber has a mode field diameter of 5.4 micrometers or larger at a wavelength of 1300 nanometers, transmits light with a wavelength of 1250 nanometers in a single mode, and has a bending loss of 1 dB/turn or smaller at a wavelength of 1300 nanometers when the optical fiber is bent with a curvature radius of 1 millimeter.