A system for reconstructing a trajectory of an optical fiber is described. The system comprises an optical fiber to be inserted into an object, wherein the optical fiber has a length and at least one bending sensor unit arranged along its length. The system also comprises a measurement device configured to measure insertion length increments of the optical fiber and an interrogation device configured to detect optical feedback signals from the at least one bending sensor unit. The system further comprises a processor device configured to reconstruct the trajectory of the optical fiber along its inserted length using data pairs which are based on measured insertion length increments and detected optical feedback signals assigned thereto. Furthermore, a method for reconstructing the trajectory of the optical fiber and a computer program product for executing the method are described.