The present invention relates to an optical fiber sensor for shape sensing, comprising an optical fiber having embedded therein a number of at least four fiber cores (1 to 6) arranged at a distance from a longitudinal center axis (0) of the optical fiber, the number of fiber cores (1 to 6) including a first subset of at least two fiber cores (1, 3, 5) and a second subset of at least two fiber cores (2, 4, 6), the fiber cores (2, 4, 6) of the second subset being arranged to provide a redundancy in a shape sensing measurement of the fiber sensor (12'). The fiber cores (1, 3, 5) of the first subset are distributed in azimuthal direction around the center axis (0) with respect to one another, and each fiber core (2) of the second subset is arranged in non-equidistantly fashion in azimuthal direction around the center axis (0) with respect to two neighboring fiber cores (1, 3) of the first subset.