A motor-driven compressor, comprising: an electric motor including a stator, which includes a stator core and a coil end (29e, 29f) that projects from the stator core, a rotor, and a rotation shaft, which rotates integrally with the rotor; a compression unit driven by rotation of the rotation shaft; a lead wire extended from the coil end (29e, 29f); a connection terminal electrically connected to the lead wire; a cluster block that accommodates the connection terminal; a housing that accommodates the electric motor, the compression unit, and the cluster block; a motor drive circuit that drives the electric motor; a conductive terminal that electrically connects the connection terminal and the motor drive circuit; and a coupling member arranged between the stator and the cluster block, wherein the coupling member couples the cluster block to the stator, wherein one of the cluster block and the coupling member includes an insertion portion, and the other one of the cluster block and the coupling member includes a receiving portion into which the insertion portion is inserted; and the coupling member is configured to change a coupling position of the cluster block relative to the stator so that the connection terminal faces the conductive terminal; characterized in that the cluster block and the coupling member are coupled together by inserting the insertion portion into the receiving portion in the axial direction of the rotation shaft, the coupling member includes an inserting projection piece (62, 82, 83, 84, 85) which extends radially inward from the coupling member towards the rotation shaft; and the cluster block is coupled to the stator by inserting the inserting projection piece (62, 82, 83, 84, 85) into a gap formed by the coil end (29e, 29f). an electric motor including a stator, which includes a stator core and a coil end (29e, 29f) that projects from the stator core, a rotor, and a rotation shaft, which rotates integrally with the rotor; a compression unit driven by rotation of the rotation shaft; a lead wire extended from the coil end (29e, 29f); a connection terminal electrically connected to the lead wire; a cluster block that accommodates the connection terminal; a housing that accommodates the electric motor, the compression unit, and the cluster block; a motor drive circuit that drives the electric motor; a conductive terminal that electrically connects the connection terminal and the motor drive circuit; and a coupling member arranged between the stator and the cluster block, wherein the coupling member couples the cluster block to the stator, wherein one of the cluster block and the coupling member includes an insertion portion, and the other one of the cluster block and the coupling member includes a receiving portion into which the insertion portion is inserted; and the coupling member is configured to change a coupling position of the cluster block relative to the stator so that the connection terminal faces the conductive terminal; characterized in that the cluster block and the coupling member are coupled together by inserting the insertion portion into the receiving portion in the axial direction of the rotation shaft, the coupling member includes an inserting projection piece (62, 82, 83, 84, 85) which extends radially inward from the coupling member towards the rotation shaft; and the cluster block is coupled to the stator by inserting the inserting projection piece (62, 82, 83, 84, 85) into a gap formed by the coil end (29e, 29f).