A connector for a photovoltaic cell, comprising a conductive portion and an insulating portion, wherein the conductive portion is wrapped with the insulating portion; the conductive portion is composed of a conductor and a cable line which are riveted with each other; the insulating portion comprises a shell body and a nut which are connected by threads; the shell body has an inner cavity; the insulating portion further comprises a basket-shaped fastener which sleeves the cable line to fasten the cable line; a main body of the conductor is cylindrical with an axis, and a rigid retaining ring is arranged on the outer circumferential surface of the conductor; the insulating portion further comprises a front sleeve which is divided into a head part, a main body and a tail part, wherein the outer diameter of the tail part is larger than that of the main body to form a first outer step surface ; the inner cavity of the shell body is divided into a front part, a middle part and a rear part, wherein the inner diameter of the rear part is larger than that of the middle part to form a first inner step surface ; the inner diameter of the middle part is larger than that of the front part to form a second inner step surface ; the first outer step surface props against the first inner step surface, thereby blocking the front sleeve from moving forward; the inner diameter of the head part of the front sleeve is larger than the outer diameter of the conductor and less than the outer diameter of the retaining ring; the conductor passes through the head part of the front sleeve and enters the front part of the inner cavity of the shell body; and the retaining ring of the conductor is blocked by the head part of the front sleeve, characterized in that, a first certain gap is reserved between the head part of the front sleeve and the second inner step surface of the inner cavity of the shell body. a main body of the conductor is cylindrical with an axis, and a rigid retaining ring is arranged on the outer circumferential surface of the conductor; the insulating portion further comprises a front sleeve which is divided into a head part, a main body and a tail part, wherein the outer diameter of the tail part is larger than that of the main body to form a first outer step surface ; the inner cavity of the shell body is divided into a front part, a middle part and a rear part, wherein the inner diameter of the rear part is larger than that of the middle part to form a first inner step surface ; the inner diameter of the middle part is larger than that of the front part to form a second inner step surface ; the first outer step surface props against the first inner step surface, thereby blocking the front sleeve from moving forward; the inner diameter of the head part of the front sleeve is larger than the outer diameter of the conductor and less than the outer diameter of the retaining ring; the conductor passes through the head part of the front sleeve and enters the front part of the inner cavity of the shell body; and the retaining ring of the conductor is blocked by the head part of the front sleeve, characterized in that, a first certain gap is reserved between the head part of the front sleeve and the second inner step surface of the inner cavity of the shell body. <EOS>