A compressor comprising: a motor which includes a rotor rotatable around an axis and a stator core surrounding the rotor from an outer peripheral side about the axis; a compression mechanism which is driven by the motor to compress a refrigerant; and a housing which covers the motor and the compression mechanism, wherein the inner peripheral surface of the housing has a circular shape when viewed in a direction of the axis and wherein a plurality of abutment portions which are interference-fitted to the inner peripheral surface of the housing and a plurality of non-abutment portions which are respectively provided to be adjacent to the abutment portions and are separated from the inner peripheral surface of the housing are formed on an outer peripheral surface of the stator core, wherein the stator core includes an annular yoke having the abutment portions and the non-abutment portions and a plurality of teeth extending inward in a radial direction of the axis from an inner peripheral surface of the yoke, wherein an outer peripheral portion of the yoke has a regular polygonal shape when viewed in a direction of the axis, wherein each apex angle of the outer peripheral portion of the yoke is chamfered in an arc shape so as to conform to the inner peripheral surface of the housing, thereby forming each of the abutment portions, characterized in that if a total length of the plurality of abutment portions is L and an outer diameter of the stator core when viewed in a direction of the axis is d1, wherein d1 refers to a length of a straight line obtained by connecting an outermost peripheral portion of one abutment portion, the axis and the inner peripheral surface of the housing facing the abutment portion across the axis to each other, a relationship of Expression is satisfied. 0.1 ≤ L / d 1 ≤ 1.00 a motor which includes a rotor rotatable around an axis and a stator core surrounding the rotor from an outer peripheral side about the axis; a compression mechanism which is driven by the motor to compress a refrigerant; and a housing which covers the motor and the compression mechanism, wherein the inner peripheral surface of the housing has a circular shape when viewed in a direction of the axis and wherein a plurality of abutment portions which are interference-fitted to the inner peripheral surface of the housing and a plurality of non-abutment portions which are respectively provided to be adjacent to the abutment portions and are separated from the inner peripheral surface of the housing are formed on an outer peripheral surface of the stator core, wherein the stator core includes an annular yoke having the abutment portions and the non-abutment portions and a plurality of teeth extending inward in a radial direction of the axis from an inner peripheral surface of the yoke, wherein an outer peripheral portion of the yoke has a regular polygonal shape when viewed in a direction of the axis, wherein each apex angle of the outer peripheral portion of the yoke is chamfered in an arc shape so as to conform to the inner peripheral surface of the housing, thereby forming each of the abutment portions, characterized in that if a total length of the plurality of abutment portions is L and an outer diameter of the stator core when viewed in a direction of the axis is d1, wherein d1 refers to a length of a straight line obtained by connecting an outermost peripheral portion of one abutment portion, the axis and the inner peripheral surface of the housing facing the abutment portion across the axis to each other, a relationship of Expression is satisfied. 0.1 ≤ L / d 1 ≤ 1.00