The present invention prevents damage to a housing in a caulked portion, even if an excessive thrust load occurs in a compression mechanism. A scroll compressor (1) which comprises: the housing (3); the compression mechanism which is accommodated inside the housing (3); and a bearing housing (19) which comprises a support section (19d) that receives a thrust load (Fs) occurring due to the action of the compression mechanism, and further comprises a bearing section (19b) that rotatably supports a main shaft (9) which transmits the driving force of a drive source to the compression mechanism. The bearing housing (19) is fixed to the housing (3) by a caulked section (30) at which a plastically deformed portion of the housing (3) is press-fitted into a recess (19a) provided in the bearing housing (19). A deformation-releasing groove (19f) is provided to a surface of the bearing housing (19), said surface opposing the compression mechanism and corresponding to the caulked section (30).