A rotary compressor comprising: a horizontal housing that stores lubricating oil; an electric motor that is housed in the housing; a compression mechanism that is housed in the housing; a rotating shaft that extends in a longitudinal direction of the housing and connects the electric motor to the compression mechanism; a frame that supports the compression mechanism in the housing, divides inside of the housing into an electric-motor chamber for housing the electric motor and a compression-mechanism chamber for housing the compression mechanism, and includes at least one compressed-refrigerant passage for leading compressed refrigerant from the electric-motor chamber to the compression-mechanism chamber and a lubricating-oil passage for flowing lubricating oil between the electric-motor chamber and the compression-mechanism chamber; and a plurality of fixing members that fix the compression mechanism to the frame, wherein the compression mechanism includes a cylinder provided with a cylinder chamber, and a main bearing that is fixed to a face of the cylinder on a side closer to the electric motor to seal the cylinder chamber and rotatably supports the rotating shaft, wherein a face of the cylinder on a side close to the electric motor is fixed to a cylinder contact-surface of the frame, wherein the face of the cylinder on the side close to the electric motor includes a bearing contact-surface in contact with the main bearing, and a frame contact-surface that is disposed radially outside of the cylinder than the bearing contact-surface to contact the frame, wherein the bearing contact-surface is closer to the electric motor than the frame contact-surface, wherein surface roughness of the frame contact-surface is rougher than surface roughness of the bearing contact-surface, and wherein the cylinder contact-surface in contact with the frame contact-surface is a continuous flat plane above a fixing member disposed at a lowermost position among the plurality of fixing members. a horizontal housing that stores lubricating oil; an electric motor that is housed in the housing; a compression mechanism that is housed in the housing; a rotating shaft that extends in a longitudinal direction of the housing and connects the electric motor to the compression mechanism; a frame that supports the compression mechanism in the housing, divides inside of the housing into an electric-motor chamber for housing the electric motor and a compression-mechanism chamber for housing the compression mechanism, and includes at least one compressed-refrigerant passage for leading compressed refrigerant from the electric-motor chamber to the compression-mechanism chamber and a lubricating-oil passage for flowing lubricating oil between the electric-motor chamber and the compression-mechanism chamber; and a plurality of fixing members that fix the compression mechanism to the frame, wherein the compression mechanism includes a cylinder provided with a cylinder chamber, and a main bearing that is fixed to a face of the cylinder on a side closer to the electric motor to seal the cylinder chamber and rotatably supports the rotating shaft, wherein a face of the cylinder on a side close to the electric motor is fixed to a cylinder contact-surface of the frame, wherein the face of the cylinder on the side close to the electric motor includes a bearing contact-surface in contact with the main bearing, and a frame contact-surface that is disposed radially outside of the cylinder than the bearing contact-surface to contact the frame, wherein the bearing contact-surface is closer to the electric motor than the frame contact-surface, wherein surface roughness of the frame contact-surface is rougher than surface roughness of the bearing contact-surface, and wherein the cylinder contact-surface in contact with the frame contact-surface is a continuous flat plane above a fixing member disposed at a lowermost position among the plurality of fixing members.