A method of manufacturing an optical fiber for measuring a three-dimensional curved shape, wherein the optical fiber comprises an optical fiber core transmitting an optical signal, an inner cladding covering the optical fiber core, and an outer cladding covering the inner cladding, and wherein the optical fiber core has a refractive index n1, the inner cladding has a refractive index n2, and the outer cladding has a refractive index n3, and wherein the refractive index n1, the refractive index n2, and the refractive index n3 are set in a relationship of n1≥n3>n2, the method comprising:
- preparing the outer cladding;
- forming an insertion hole in the outer cladding into which the inner cladding is to be inserted;
- preparing the optical fiber core;
- coating the optical fiber core in a C-shape using a rod-in-tube process of partially coating the optical fiber core with a material for constituting the inner cladding;
- filling a cut-open portion in the C-shape of the inner cladding with a material having the same refractive index as that of the optical fiber core or the outer cladding;
- and
- inserting the optical fiber core coated with the inner cladding into the insertion hole of the outer cladding.