A motor-driven compressor (101; 201; 301) to be mounted to an attachment section of a vehicle, comprising: a housing including inside thereof a compression mechanism that is driven by electric power, compresses a fluid suctioned from outside, and then discharges the compressed fluid; and a mounting portion (11; 211; 311) for mounting the housing to the attachment section, wherein the mounting portion (11; 211; 311) includes: a tubular body; a damping member (13; 213a, 213b) provided integrally with the tubular body and formed from a resin; a fixing member (14, 15; 314) provided integrally with the damping member (13; 213a, 213b) and mounting the integrated tubular body and damping member to the housing; and a fastening member inserted into the tubular body for mounting the tubular body to the attachment section, and wherein the damping member (13; 213a, 213b) is provided to be interposed between the tubular body and the fixing member (14, 15; 314), and the fixing member (14, 15; 314) is provided to be interposed between the housing and the damping member (13; 213a, 213b), characterized in that the housing has a recess (2d, 2e; 22d) in an outer surface, the fixing member (14, 15; 314) has a support portion (14a, 15a; 314a) where the damping member (13; 213a, 213b) is provided and a protruding portion (14b, 15b; 314b) that protrudes from the support portion and can fit into the recess, and the fixing member is mounted to the housing by press fitting of the protruding portion into the recess. a housing including inside thereof a compression mechanism that is driven by electric power, compresses a fluid suctioned from outside, and then discharges the compressed fluid; and a mounting portion (11; 211; 311) for mounting the housing to the attachment section, wherein the mounting portion (11; 211; 311) includes: a tubular body; a damping member (13; 213a, 213b) provided integrally with the tubular body and formed from a resin; a fixing member (14, 15; 314) provided integrally with the damping member (13; 213a, 213b) and mounting the integrated tubular body and damping member to the housing; and a fastening member inserted into the tubular body for mounting the tubular body to the attachment section, and wherein the damping member (13; 213a, 213b) is provided to be interposed between the tubular body and the fixing member (14, 15; 314), and the fixing member (14, 15; 314) is provided to be interposed between the housing and the damping member (13; 213a, 213b), characterized in that the housing has a recess (2d, 2e; 22d) in an outer surface, the fixing member (14, 15; 314) has a support portion (14a, 15a; 314a) where the damping member (13; 213a, 213b) is provided and a protruding portion (14b, 15b; 314b) that protrudes from the support portion and can fit into the recess, and the fixing member is mounted to the housing by press fitting of the protruding portion into the recess. a tubular body; a damping member (13; 213a, 213b) provided integrally with the tubular body and formed from a resin; a fixing member (14, 15; 314) provided integrally with the damping member (13; 213a, 213b) and mounting the integrated tubular body and damping member to the housing; and a fastening member inserted into the tubular body for mounting the tubular body to the attachment section, and wherein the damping member (13; 213a, 213b) is provided to be interposed between the tubular body and the fixing member (14, 15; 314), and the fixing member (14, 15; 314) is provided to be interposed between the housing and the damping member (13; 213a, 213b), characterized in that the housing has a recess (2d, 2e; 22d) in an outer surface, the fixing member (14, 15; 314) has a support portion (14a, 15a; 314a) where the damping member (13; 213a, 213b) is provided and a protruding portion (14b, 15b; 314b) that protrudes from the support portion and can fit into the recess, and the fixing member is mounted to the housing by press fitting of the protruding portion into the recess.