Patent attributes
An object is to provide a motor-driven compressor capable of reducing cost required when a failure occurs in part of components configuring an inverter device. A power substrate assembly 50 is removably fixed to a housing body 10 in an inverter accommodation chamber 13, and a control substrate assembly 70 and a filter circuit assembly 90 are removably fixed to a cover 30. Therefore, when the cover 30 is removed from the housing body 10, the power substrate assembly 50, the control substrate assembly 70, and the filter circuit assembly 90 can be independently removed from the housing body 10 or the cover 30, and new power substrate assembly 50, control substrate assembly 70, and filter circuit assembly 90 can be independently mounted on the housing body 10 or the cover 30.