An electric connector configured to be attached to a connection object, the electric connector being configured to be mated to a mating connector attached to an electric wire to thereby electrically connect the electric wire to the connection object, the electric connector comprising: a contact; and a housing attached to the contact, wherein the contact includes a first contact portion having a flat plate shape and a second contact portion having a flat plate shape, the first contact portion being configured to be fixed to the connection object, the second contact portion being configured to be in contact with the mating connector, the housing includes: a housing body into which the second contact portion is inserted, and a contact lock attached to the housing body, the contact lock includes a first lock surface facing in the mating direction and a second lock surface facing in a removal direction, the removal direction being opposite to a mating direction in which the mating connector is mated to the electric connector, the housing body includes a housing lock surface facing in the removal direction, the contact includes a contact lock surface facing in the mating direction, and when the contact lock is inserted into the housing body in a direction substantially orthogonal to the removal direction to be attached to the housing body, the first lock surface faces the housing lock surface, in such a manner that the first lock surface is capable of being in contact with the housing lock surface and the second lock surface faces the contact lock surface, in such a manner that the second lock surface is capable of being in contact with the contact lock surface, characterized in that, the contact lock includes a contact holding portion, the contact holding portion includes a contact through-hole within which the first contact portion of the contact is adapted to be inserted. a contact; and a housing attached to the contact, wherein the contact includes a first contact portion having a flat plate shape and a second contact portion having a flat plate shape, the first contact portion being configured to be fixed to the connection object, the second contact portion being configured to be in contact with the mating connector, the housing includes: a housing body into which the second contact portion is inserted, and a contact lock attached to the housing body, the contact lock includes a first lock surface facing in the mating direction and a second lock surface facing in a removal direction, the removal direction being opposite to a mating direction in which the mating connector is mated to the electric connector, the housing body includes a housing lock surface facing in the removal direction, the contact includes a contact lock surface facing in the mating direction, and when the contact lock is inserted into the housing body in a direction substantially orthogonal to the removal direction to be attached to the housing body, the first lock surface faces the housing lock surface, in such a manner that the first lock surface is capable of being in contact with the housing lock surface and the second lock surface faces the contact lock surface, in such a manner that the second lock surface is capable of being in contact with the contact lock surface, characterized in that, the contact lock includes a contact holding portion, the contact holding portion includes a contact through-hole within which the first contact portion of the contact is adapted to be inserted.