A solar cell comprising: a semiconductor substrate of a first conductivity type having a light-receiving surface and a rear surface; a first semiconductor layer having the first conductivity type; a second semiconductor layer having a second conductivity type;) a first electrode electrically connected to the first semiconductor layer; a second electrode electrically connected to the second Semiconductor layer; and an insulating layer having insulation properties, wherein the first semiconductor layer and the second semiconductor layer are formed on the rear surface, and the first semiconductor layer and the second semiconductor layer contact each other on the rear surface, at its interface, such that the insulating layer is formed on the interface between the first semiconductor layer and the second semiconductor layer arid on both of the first semiconductor layer and the second semiconductor layer, when an end portion of the first semiconductor layer is defined as a first-semiconductor-layer end portion, an end portion of the second semiconductor layer which contacts the end portion of the first semiconductor layer is defined as a second-semiconductor-layer end portion, one end portion of the insulating layer which is formed on the first semiconductor layer and which is on the first electrode side is defined as a first insulating-layer end portion, and another end portion of the insulating layer on the second electrode side is defined as a second insulating-layer end portion, in an arrangement direction in which the first semiconductor layer and the second semiconductor layer are alternately arranged, characterised in that a distance from an end point of the second-semiconductor-layer end portion in contact with the rear surface to the second insulating-layer end portion in the arrangement direction is shorter than a distance from the end point to the first insulating-layer end portion in the arrangement direction. a semiconductor substrate of a first conductivity type having a light-receiving surface and a rear surface; a first semiconductor layer having the first conductivity type; a second semiconductor layer having a second conductivity type;) a first electrode electrically connected to the first semiconductor layer; a second electrode electrically connected to the second Semiconductor layer; and an insulating layer having insulation properties, wherein the first semiconductor layer and the second semiconductor layer are formed on the rear surface, and the first semiconductor layer and the second semiconductor layer contact each other on the rear surface, at its interface, such that the insulating layer is formed on the interface between the first semiconductor layer and the second semiconductor layer arid on both of the first semiconductor layer and the second semiconductor layer, when an end portion of the first semiconductor layer is defined as a first-semiconductor-layer end portion, an end portion of the second semiconductor layer which contacts the end portion of the first semiconductor layer is defined as a second-semiconductor-layer end portion, one end portion of the insulating layer which is formed on the first semiconductor layer and which is on the first electrode side is defined as a first insulating-layer end portion, and another end portion of the insulating layer on the second electrode side is defined as a second insulating-layer end portion, in an arrangement direction in which the first semiconductor layer and the second semiconductor layer are alternately arranged, characterised in that a distance from an end point of the second-semiconductor-layer end portion in contact with the rear surface to the second insulating-layer end portion in the arrangement direction is shorter than a distance from the end point to the first insulating-layer end portion in the arrangement direction.