A method of processing an optical fiber of the invention includes: a determination step of determining at least an ambient temperature of conditions of a diffusion treatment that causing an optical fiber to be subjected to an non-oxygen bridging atmosphere; an exposure step of exposing the optical fiber to a gas including an oxygen bridging element that is capable of processing the Non-Bridging Oxygen Hole Centers by being bonded to a non-bridging oxygen in the optical fiber, and causing the oxygen bridging element to infiltrate into the optical fiber; and a diffusion step of subsequently causing the optical fiber to be subjected to the non-oxygen bridging atmosphere in the exposure ambient temperature which is determined by the determination step and at which the optical fiber is subjected to the non-oxygen bridging atmosphere, and thereby diffusing the oxygen bridging element into the optical fiber.