An electrical connector includes a body having a tongue, a row of first terminals insert-molded in the body, a depressed slot, and a positioning slot. The tongue includes a first surface having multiple receiving slots. Each first terminal has a contact portion accommodated in the receiving slot and exposed from the first surface. The first terminals include a pair of differential signal terminals and multiple non-high-speed terminals. The depressed slot is depressed from the first surface, located between contact portions of two differential signal terminals, and in communication with two adjacent receiving slots. The positioning slot is depressed from the first surface, located between contact portions of two adjacent non-high-speed terminals, or of adjacent non-high-speed terminal and differential signal terminal, and in communication with two adjacent receiving slots. The length of the positioning slot is less than the length of the depressed slot.