An electrical connector comprising: a housing configured to be mated with a mating object; a shell made of metal and enclosing the housing; and a seal member configured to be penetrated by an electric-wire extending rearwardly from the housing, the seal member integrally comprising: an electric-wire seal portion configured to come into contact with an outer peripheral portion of the electric-wire; and a housing seal portion located radially outside an outer end portion of a base portion of the seal member formed with the electric-wire seal portion, and pressed against the housing; characterised in that: (i) the seal member also integrally comprises a shell seal portion pressed against at least a bottom portion of the shell such that the seal member is pressed between the housing and the bottom portion of the shell, (ii) the shell bottom portion is formed with a peripheral groove for accommodating a part of the seal member and extending along an entire periphery of and in the vicinity of a radial outer surface of the shell bottom portion; (iii) a plug portion of the shell encircled by the peripheral groove is positioned within a recessed portion of the seal member; and (iv) the plug portion is configured to be penetrated by the electric wire. a housing configured to be mated with a mating object; a shell made of metal and enclosing the housing; and a seal member configured to be penetrated by an electric-wire extending rearwardly from the housing, the seal member integrally comprising: an electric-wire seal portion configured to come into contact with an outer peripheral portion of the electric-wire; and a housing seal portion located radially outside an outer end portion of a base portion of the seal member formed with the electric-wire seal portion, and pressed against the housing; an electric-wire seal portion configured to come into contact with an outer peripheral portion of the electric-wire; and a housing seal portion located radially outside an outer end portion of a base portion of the seal member formed with the electric-wire seal portion, and pressed against the housing; characterised in that: (i) the seal member also integrally comprises a shell seal portion pressed against at least a bottom portion of the shell such that the seal member is pressed between the housing and the bottom portion of the shell, (ii) the shell bottom portion is formed with a peripheral groove for accommodating a part of the seal member and extending along an entire periphery of and in the vicinity of a radial outer surface of the shell bottom portion; (iii) a plug portion of the shell encircled by the peripheral groove is positioned within a recessed portion of the seal member; and (iv) the plug portion is configured to be penetrated by the electric wire. (i) the seal member also integrally comprises a shell seal portion pressed against at least a bottom portion of the shell such that the seal member is pressed between the housing and the bottom portion of the shell, (ii) the shell bottom portion is formed with a peripheral groove for accommodating a part of the seal member and extending along an entire periphery of and in the vicinity of a radial outer surface of the shell bottom portion; (iii) a plug portion of the shell encircled by the peripheral groove is positioned within a recessed portion of the seal member; and (iv) the plug portion is configured to be penetrated by the electric wire.