A connector connecting a conductor portion of an electric wire to a conductive portion exposed on a surface of a substrate , the connector comprising: a first insulator disposed on the surface of the substrate and having a recess portion ; a second insulator disposed to be able to be fitted to the first insulator and having a protrusion portion corresponding to the recess portion; and a contact having conductivity and retained by both the first insulator and the second insulator, the contact including: a mounting potion situated at one end of the contact and mounted on the substrate; a first retained portion situated to be adjacent to the mounting portion and retained by the first insulator; a second retained portion situated at the other end of the contact and retained by the second insulator; a joint portion joining together the first retained portion and the second retained portion and being deformable; and a connection portion electrically connected to the conductive portion of the substrate, wherein the first retained portion includes a recessed bent portion that is accommodated in the recess portion and extends along an inner surface of the recess portion, the first insulator and the second insulator are fitted to each other such that the conductor portion of the electric wire is sandwiched between the recessed bent portion of the contact and the protrusion portion of the second insulator, and the conductor portion of the electric wire makes contact with the recessed bent portion between the recess portion and the protrusion portion, whereby the conductor portion of the electric wire is electrically connected to the conductive portion of the substrate via the contact. a first insulator disposed on the surface of the substrate and having a recess portion ; a second insulator disposed to be able to be fitted to the first insulator and having a protrusion portion corresponding to the recess portion; and a contact having conductivity and retained by both the first insulator and the second insulator, the contact including: a mounting potion situated at one end of the contact and mounted on the substrate; a first retained portion situated to be adjacent to the mounting portion and retained by the first insulator; a second retained portion situated at the other end of the contact and retained by the second insulator; a joint portion joining together the first retained portion and the second retained portion and being deformable; and a connection portion electrically connected to the conductive portion of the substrate, a mounting potion situated at one end of the contact and mounted on the substrate; a first retained portion situated to be adjacent to the mounting portion and retained by the first insulator; a second retained portion situated at the other end of the contact and retained by the second insulator; a joint portion joining together the first retained portion and the second retained portion and being deformable; and a connection portion electrically connected to the conductive portion of the substrate, wherein the first retained portion includes a recessed bent portion that is accommodated in the recess portion and extends along an inner surface of the recess portion, the first insulator and the second insulator are fitted to each other such that the conductor portion of the electric wire is sandwiched between the recessed bent portion of the contact and the protrusion portion of the second insulator, and the conductor portion of the electric wire makes contact with the recessed bent portion between the recess portion and the protrusion portion, whereby the conductor portion of the electric wire is electrically connected to the conductive portion of the substrate via the contact. <EOS>