A connector comprising: a terminal group (120, 140, 150, 160) including at least one or more terminal pairs of two terminals; and an insulator holding the terminal group (120, 140, 150, 160), wherein each terminal of the terminal pair included in the terminal group (120, 140, 150, 160) includes at a tip end side portion of the connector, a contact portion to be connected in contact with a terminal of a partner connector, and at a back end side portion of the connector, a terminal mounting portion (122, 142, 152, 162) to be mounted on a substrate, the contact portions are arranged adjacent to each other in a direction perpendicular to the substrate, and the terminal mounting portions (122, 142, 152, 162) are arranged adjacent to each other in a direction horizontal to the substrate, characterized in that the connector comprises an outer conductor shell housing the insulator, each terminal of the terminal pair includes, in an order from the contact portion to the terminal mounting portion (122, 142, 152, 162), at least a first bent portion at which the terminal pair extending in a connector fitting direction is bent in a direction of the substrate, a second bent portion at which the terminal pair bent toward the substrate is bent in parallel with the substrate, and a third bent portion on a mounting portion side with respect to the second bent portion, wherein at the third bent portion, each terminal of the terminal pair extending outward of the connector in a direction perpendicular to the connector fitting direction after the first bent portion and the second bent portion is bent backward along the connector fitting direction. a terminal group (120, 140, 150, 160) including at least one or more terminal pairs of two terminals; and an insulator holding the terminal group (120, 140, 150, 160), wherein each terminal of the terminal pair included in the terminal group (120, 140, 150, 160) includes at a tip end side portion of the connector, a contact portion to be connected in contact with a terminal of a partner connector, and at a back end side portion of the connector, a terminal mounting portion (122, 142, 152, 162) to be mounted on a substrate, at a tip end side portion of the connector, a contact portion to be connected in contact with a terminal of a partner connector, and at a back end side portion of the connector, a terminal mounting portion (122, 142, 152, 162) to be mounted on a substrate, the contact portions are arranged adjacent to each other in a direction perpendicular to the substrate, and the terminal mounting portions (122, 142, 152, 162) are arranged adjacent to each other in a direction horizontal to the substrate, characterized in that the connector comprises an outer conductor shell housing the insulator, each terminal of the terminal pair includes, in an order from the contact portion to the terminal mounting portion (122, 142, 152, 162), at least a first bent portion at which the terminal pair extending in a connector fitting direction is bent in a direction of the substrate, a second bent portion at which the terminal pair bent toward the substrate is bent in parallel with the substrate, and a third bent portion on a mounting portion side with respect to the second bent portion, wherein at the third bent portion, each terminal of the terminal pair extending outward of the connector in a direction perpendicular to the connector fitting direction after the first bent portion and the second bent portion is bent backward along the connector fitting direction.