A wire harness including a wire harness main body that includes an electric wire and an exterior tube that encloses an outer circumferential surface of the electric wire; a path restricting member that is attached to an outer circumferential surface of the exterior tube and restricts a path of the wire harness main body; and an attaching member that is attached to an outer circumferential surface of a connecting portion of the path restricting member.