An electrical connector includes a terminal module, a shielding shell surrounding the terminal module to form a mating cavity opening forwardly and a waterproof member disposed at a rear side of the mating cavity. The terminal module has an insulative housing and a plurality of conductive terminals retained in the insulative housing. The insulative housing has a base portion and a mating portion extending forwardly from the base portion. The shielding shell has a metallic shell and a waterproof shell formed integrally with the metallic shell by insert molding. The mating portion extends into the mating cavity. The waterproof shell defines an opening to which the waterproof member is exposed.