A hermetic compressor accommodating a compression mechanism unit comprising: a cylinder forming a cylinder chamber; a rotating shaft including an eccentric part arranged in the cylinder chamber; and a first bearing defining an end surface on one end side in an axial center direction of the rotating shaft in the cylinder chamber and a second bearing defining an end surface on another end side, the first bearing and the second bearing rotatably supporting the rotating shaft, the hermetic compressor comprising a sealed container where a lubricating oil for lubricating a sliding portion of the compression mechanism unit is stored, the rotating shaft having a main shaft portion supported by the first bearing on the one end side with respect to the eccentric part in the axial center direction, and a sub-shaft part supported by the second bearing on the other end side in the axial center direction, the sub-shaft part including on an outer peripheral surface an oil passage groove of the lubricating oil, which spirally continues to the one end side in the axial center direction along the rotation direction of the rotating shaft, with the one end side in the axial center direction rather than an end part of the other end side in the axial center direction used as a base end, the second bearing including a flange part and a cylindrical part protruding from the flange part, characterized in that a groove (63, 64) circumferentially continuous being provided at each of an end surface of the one end side of the flange part in the axial center direction and an end surface of the other end side of the cylindrical part in the axial center direction, as viewed from the radial direction of the rotating shaft, an inner wall part of the groove disposed on the end surface of the other end side in the axial center direction of the cylindrical part lapping over the base end of the oil passage groove, and a thickness in the radial direction of the inner wall part being smaller than thickness in the radial direction of portions other than the inner wall part of the cylindrical part and smaller than thickness in the radial direction of a portion of the one end side in the axial center direction in the first bearing supporting the main shaft portion. a cylinder forming a cylinder chamber; a rotating shaft including an eccentric part arranged in the cylinder chamber; and a first bearing defining an end surface on one end side in an axial center direction of the rotating shaft in the cylinder chamber and a second bearing defining an end surface on another end side, the first bearing and the second bearing rotatably supporting the rotating shaft, the hermetic compressor comprising a sealed container where a lubricating oil for lubricating a sliding portion of the compression mechanism unit is stored, the rotating shaft having a main shaft portion supported by the first bearing on the one end side with respect to the eccentric part in the axial center direction, and a sub-shaft part supported by the second bearing on the other end side in the axial center direction, the sub-shaft part including on an outer peripheral surface an oil passage groove of the lubricating oil, which spirally continues to the one end side in the axial center direction along the rotation direction of the rotating shaft, with the one end side in the axial center direction rather than an end part of the other end side in the axial center direction used as a base end, the second bearing including a flange part and a cylindrical part protruding from the flange part, characterized in that a groove (63, 64) circumferentially continuous being provided at each of an end surface of the one end side of the flange part in the axial center direction and an end surface of the other end side of the cylindrical part in the axial center direction, as viewed from the radial direction of the rotating shaft, an inner wall part of the groove disposed on the end surface of the other end side in the axial center direction of the cylindrical part lapping over the base end of the oil passage groove, and a thickness in the radial direction of the inner wall part being smaller than thickness in the radial direction of portions other than the inner wall part of the cylindrical part and smaller than thickness in the radial direction of a portion of the one end side in the axial center direction in the first bearing supporting the main shaft portion.