A magnetic sensor comprising: a non-bias structured element section that has a laminated structure in which, from a bottom, a fixed magnetic layer, a non-magnetic material layer, a free magnetic layer, and a protection layer are laminated in order or in which, from the bottom, the free magnetic layer, the non-magnetic material layer, the fixed magnetic layer, and the protection layer are laminated in order, and that is formed in such a way as to be extended in an X1-X2 direction; characterized by a plurality of soft magnetic bodies (12,14) that are arranged on the element section in a contactless manner, wherein a sensitivity axis direction of the element section is a Y1-Y2 direction which is perpendicular to the X1-X2 direction, wherein each of the soft magnetic bodies (12,14) is extended in the Y1-Y2 direction, and includes a first section (12e,14e) which faces the element section in a thickness direction in a contactless manner, a second section which is extended from a Y2 side end portion of the first section (12e,14e) to the X1 direction and is arranged on the Y2 side of the element section in a plan view, and a third section which is extended from a Y1 side end portion of the first section (12e, 14e) to the X2 direction and is arranged on the Y1 side of the element section in a plan view, wherein, the plurality of soft magnetic bodies comprises a first soft magnetic body and a second soft magnetic body which are adjacent in the X1-X2 direction, a part of the third section of the first soft magnetic body which is arranged on the X1 side faces a part of the second section of the second soft magnetic body which is arranged on the X2 side via a gap in the Y1-Y2 direction, wherein a joint section (12g1) of the third section of the first soft magnetic body, which does not face the second section of the second soft magnetic body, and a joint section (12f1) of the second section of the second soft magnetic body, which does not face the third section of the first soft magnetic body, respectively face the element section in the Y1-Y2 direction in a plan view, and wherein, on the element section which faces the joint sections (12g1, 12f1), an electrode layer into which current flows is arranged. a non-bias structured element section that has a laminated structure in which, from a bottom, a fixed magnetic layer, a non-magnetic material layer, a free magnetic layer, and a protection layer are laminated in order or in which, from the bottom, the free magnetic layer, the non-magnetic material layer, the fixed magnetic layer, and the protection layer are laminated in order, and that is formed in such a way as to be extended in an X1-X2 direction; characterized by a plurality of soft magnetic bodies (12,14) that are arranged on the element section in a contactless manner, wherein a sensitivity axis direction of the element section is a Y1-Y2 direction which is perpendicular to the X1-X2 direction, wherein each of the soft magnetic bodies (12,14) is extended in the Y1-Y2 direction, and includes a first section (12e,14e) which faces the element section in a thickness direction in a contactless manner, a second section which is extended from a Y2 side end portion of the first section (12e,14e) to the X1 direction and is arranged on the Y2 side of the element section in a plan view, and a third section which is extended from a Y1 side end portion of the first section (12e, 14e) to the X2 direction and is arranged on the Y1 side of the element section in a plan view, wherein, the plurality of soft magnetic bodies comprises a first soft magnetic body and a second soft magnetic body which are adjacent in the X1-X2 direction, a part of the third section of the first soft magnetic body which is arranged on the X1 side faces a part of the second section of the second soft magnetic body which is arranged on the X2 side via a gap in the Y1-Y2 direction, wherein a joint section (12g1) of the third section of the first soft magnetic body, which does not face the second section of the second soft magnetic body, and a joint section (12f1) of the second section of the second soft magnetic body, which does not face the third section of the first soft magnetic body, respectively face the element section in the Y1-Y2 direction in a plan view, and wherein, on the element section which faces the joint sections (12g1, 12f1), an electrode layer into which current flows is arranged.