An imaging module comprising: an electrical cable; a solid-state image sensing device comprising an imaging unit orthogonal to a direction of an axis of a front end of the electrical cable; and a flexible wiring substrate comprising: a device-mounted portion onto which the solid-state image sensing device is mounted; first and second rear portions (34, 35), the first rear portion having a first opposed face, the second rear portion having a second opposed face opposed to the first opposed face, the first rear portion including a first extended portion, the second rear portion including a second extended portion, the first extended portion and the second extended portion bending at both sides of the device-mounted portion and extend from the device-mounted portion so as to come close to each other with increasing distance from the device-mounted portion, characterized by the first rear portion including a first connection end portion extending from the first extended portion along the direction of the axis of the front end of the electrical cable on an opposite side of the device-mounted portion, the second rear portion including a second connection end portion extending from the second extended portion along the direction of the axis of the front end of the electrical cable on an opposite side of the device-mounted portion; an extended tail portion at which the first opposed face and the second opposed face are in contact with each other and the first connection end portion of the first rear portion and the second connection end portion of the second rear portion align in a longitudinal direction thereof; and terminals (34c, 34d, 35c, 35d) which are provided on the first connection end portion and the second connection end portion and are connected to the electrical cable, wherein the flexible wiring substrate electrically connects the solid-state image sensing device to the electrical cable. an electrical cable; a solid-state image sensing device comprising an imaging unit orthogonal to a direction of an axis of a front end of the electrical cable; and a flexible wiring substrate comprising: a device-mounted portion onto which the solid-state image sensing device is mounted; first and second rear portions (34, 35), the first rear portion having a first opposed face, the second rear portion having a second opposed face opposed to the first opposed face, the first rear portion including a first extended portion, the second rear portion including a second extended portion, the first extended portion and the second extended portion bending at both sides of the device-mounted portion and extend from the device-mounted portion so as to come close to each other with increasing distance from the device-mounted portion, characterized by the first rear portion including a first connection end portion extending from the first extended portion along the direction of the axis of the front end of the electrical cable on an opposite side of the device-mounted portion, the second rear portion including a second connection end portion extending from the second extended portion along the direction of the axis of the front end of the electrical cable on an opposite side of the device-mounted portion; an extended tail portion at which the first opposed face and the second opposed face are in contact with each other and the first connection end portion of the first rear portion and the second connection end portion of the second rear portion align in a longitudinal direction thereof; and terminals (34c, 34d, 35c, 35d) which are provided on the first connection end portion and the second connection end portion and are connected to the electrical cable, wherein the flexible wiring substrate electrically connects the solid-state image sensing device to the electrical cable. a device-mounted portion onto which the solid-state image sensing device is mounted; first and second rear portions (34, 35), the first rear portion having a first opposed face, the second rear portion having a second opposed face opposed to the first opposed face, the first rear portion including a first extended portion, the second rear portion including a second extended portion, the first extended portion and the second extended portion bending at both sides of the device-mounted portion and extend from the device-mounted portion so as to come close to each other with increasing distance from the device-mounted portion, characterized by the first rear portion including a first connection end portion extending from the first extended portion along the direction of the axis of the front end of the electrical cable on an opposite side of the device-mounted portion, the second rear portion including a second connection end portion extending from the second extended portion along the direction of the axis of the front end of the electrical cable on an opposite side of the device-mounted portion; an extended tail portion at which the first opposed face and the second opposed face are in contact with each other and the first connection end portion of the first rear portion and the second connection end portion of the second rear portion align in a longitudinal direction thereof; and terminals (34c, 34d, 35c, 35d) which are provided on the first connection end portion and the second connection end portion and are connected to the electrical cable, wherein the flexible wiring substrate electrically connects the solid-state image sensing device to the electrical cable.