A motor-driven compressor comprising: a compression unit configured to compress refrigerant; an electric motor configured to drive the compression unit; a rotation shaft configured to transmit a driving force of the electric motor to the compression unit; a housing that accommodates the compression unit, the electric motor and the rotation shaft and includes an outer surface; a cover coupled to the outer surface of the housing, wherein the cover includes a main body and a connector coupler connectable to a connector of an external power supply, and the cover and the outer surface of the housing define an accommodating chamber; a motor driving circuit accommodated in the accommodating chamber, wherein the motor driving circuit is configured to drive the electric motor and includes a circuit board; and a metal terminal held in the connector coupler, wherein the metal terminal includes a first end portion, which is electrically connected to the external power supply, and a second end portion, which is electrically connected to the circuit board, the motor-driven compressor being characterized in that the cover includes a metal shield and a resin portion (31a, 32a) that is formed integrally with the metal shield, the metal shield includes a first shield portion, which is formed of metal to block electromagnetic noise and which forms at least part of the connector coupler, and a second shield portion, which is formed of metal to block electromagnetic noise and which forms at least part of the main body, the first and second shield portions (41, 42) are coupled to each other, the second shield portion includes an insertion hole into which one of the first and second end portions (33a, 33b) of the metal terminal is insertable, the first shield portion includes a first cylinder, which extends in an axial direction of the rotation shaft and is configured to accommodate the first end portion of the metal terminal, and a flange, which extends outward in a radial direction of the rotation shaft from an end of the first cylinder opposite to the end connectable to the connector of the external power supply, the second shield portion includes a second cylinder, which extends in the axial direction of the rotation shaft, and an end portion, which extends inward in the radial direction of the rotation shaft from an end of the second cylinder that is located closer to the connector coupler, the insertion hole is formed in the end portion, and the flange of the first shield portion overlaps with one of an inner surface or an outer surface of the end portion of the second shield portion, and the flange is in contact with and coupled to the one of the inner surface or the outer surface of the end portion. a compression unit configured to compress refrigerant; an electric motor configured to drive the compression unit; a rotation shaft configured to transmit a driving force of the electric motor to the compression unit; a housing that accommodates the compression unit, the electric motor and the rotation shaft and includes an outer surface; a cover coupled to the outer surface of the housing, wherein the cover includes a main body and a connector coupler connectable to a connector of an external power supply, and the cover and the outer surface of the housing define an accommodating chamber; a motor driving circuit accommodated in the accommodating chamber, wherein the motor driving circuit is configured to drive the electric motor and includes a circuit board; and a metal terminal held in the connector coupler, wherein the metal terminal includes a first end portion, which is electrically connected to the external power supply, and a second end portion, which is electrically connected to the circuit board, the motor-driven compressor being characterized in that the cover includes a metal shield and a resin portion (31a, 32a) that is formed integrally with the metal shield, the metal shield includes a first shield portion, which is formed of metal to block electromagnetic noise and which forms at least part of the connector coupler, and a second shield portion, which is formed of metal to block electromagnetic noise and which forms at least part of the main body, the first and second shield portions (41, 42) are coupled to each other, the second shield portion includes an insertion hole into which one of the first and second end portions (33a, 33b) of the metal terminal is insertable, the first shield portion includes a first cylinder, which extends in an axial direction of the rotation shaft and is configured to accommodate the first end portion of the metal terminal, and a flange, which extends outward in a radial direction of the rotation shaft from an end of the first cylinder opposite to the end connectable to the connector of the external power supply, the second shield portion includes a second cylinder, which extends in the axial direction of the rotation shaft, and an end portion, which extends inward in the radial direction of the rotation shaft from an end of the second cylinder that is located closer to the connector coupler, the insertion hole is formed in the end portion, and the flange of the first shield portion overlaps with one of an inner surface or an outer surface of the end portion of the second shield portion, and the flange is in contact with and coupled to the one of the inner surface or the outer surface of the end portion.