There is provided an electrical connector in which the retaining force of retaining a front cover is improved. Electrical connectors 1, and 1′ each have a housing 10 having contact accommodating cavities 13; a front cover 20 that is attached to the front side of the housing 10 and that has mating connector inserting openings 24 at positions that correspond to the contact accommodating cavities 13; and a retainer 30 that is attached form the lower side of the housing 10 and that locks contacts accommodated in the contact accommodating cavities 13. Retaining means 27, 28, 32, and 33 is arranged at the front cover 20 and the retainer 30 to cause the retainer 30 to retain the front cover 20.