An electrical connector including at least one female part and at least one male part including a body engaging in a housing of the female part, and locking means preventing any extraction of the male part from the female part, the locking means comprising at least one removable locking part, arranged at the interface between the male part and the female part, and the male and female parts include mutual cooperation retaining means (34, 24), characterised in that the locking part can be positioned on the male part before the start of the total insertion of the male part in the female part, the male part being inserted in the female part until the mutual cooperation of the retaining means (34, 24), the mutual disengagement of said retaining means (34, 24) being made possible only after removal of the locking part, the female part and the male part cooperating in order to be assembled by pushing, and to be assembled by pushing-pulling and in that the mutual cooperation retaining means (34, 24) include: on the one hand at least one elastic ring housed in a recess of the inner wall of the housing of the female part and projecting relative to said inner wall, said ring being retractable in the thickness of said inner wall and having an internal generatrix whose section narrows from the side close to the inlet of the housing towards the opposite bottom, the inner surface of said ring being conical and capable of adopting two positions, namely a first rest position wherein it projects in the inner housing of the female part, and a second retracted position wherein the ring occupies the entire recess of the inner wall of the female part when inserting the male part in the female part; and on the other hand, a peripheral groove arranged on the body of the male part and intended to cooperate with the ring when inserting the male part in the female part, the peripheral groove of the male part including a ring disposed around said groove without projecting radially from the external surface of the body, said ring being free in translation over the width of the groove, and in that the female part includes electrical contacts arranged in the interior housing against the inner wall of the housing and intended to be in close contact with the body of the male part on the side of its free end once engaged and retained. on the one hand at least one elastic ring housed in a recess of the inner wall of the housing of the female part and projecting relative to said inner wall, said ring being retractable in the thickness of said inner wall and having an internal generatrix whose section narrows from the side close to the inlet of the housing towards the opposite bottom, the inner surface of said ring being conical and capable of adopting two positions, namely a first rest position wherein it projects in the inner housing of the female part, and a second retracted position wherein the ring occupies the entire recess of the inner wall of the female part when inserting the male part in the female part; and on the other hand, a peripheral groove arranged on the body of the male part and intended to cooperate with the ring when inserting the male part in the female part, the peripheral groove of the male part including a ring disposed around said groove without projecting radially from the external surface of the body, said ring being free in translation over the width of the groove, and in that the female part includes electrical contacts arranged in the interior housing against the inner wall of the housing and intended to be in close contact with the body of the male part on the side of its free end once engaged and retained.