An electrical connector includes a main body portion having a receiving passage adapted to receive a plate-type plug inserted in an insertion direction, and a locking protrusion formed on the main body portion and protruding toward the receiving passage. The locking protrusion has a connection portion adapted to connect a top portion of the locking protrusion with the main body portion downstream in the insertion direction.