A compressor for a refrigerating cycle apparatus (1a, 1b, 1c, 1d, 1e) comprising: a rotation shaft; a first bearing that supports the rotation shaft at least in a radial direction of the rotation shaft; a casing that forms a suction space into which a working fluid flows; an impeller that is fixed to the rotation shaft in the casing and that compresses the working fluid flowed into the suction space to discharge the working fluid outside the casing by rotation of the rotation shaft; a first space that is formed around the rotation shaft at a position between the impeller and the first bearing in an axial direction of the rotation shaft, that is in communication with a space formed between a bearing surface of the first bearing and an outer surface of the rotation shaft, and that stores a lubricating liquid; a second space that is formed on an opposite side of the first bearing from the impeller in the axial direction of the rotation shaft, that is in communication with the space formed between the bearing surface of the first bearing and the outer surface of the rotation shaft, and that stores the lubricating liquid; a storage tank that stores the lubricating liquid, the lubricating liquid being the working fluid; a first output passage that allows communication between an inner space of the storage tank and the first space and through which the lubricating liquid flows from the first space to the storage tank; and a supply passage that allows communication between the inner space of the storage tank and the second space and through which the lubricating liquid flows from the storage tank to the second space; characterized by a pump that is disposed on the supply passage and that pumps the lubricating liquid to the second space; a main passage that is in communication with the second space, that extends in the rotation shaft in the axial direction of the rotation shaft from one end of the rotation shaft, and through which the lubricating liquid stored in the second space flows in the axial direction of the rotation shaft; and a sub-passage that is formed in the rotation shaft, that allows communication between the space formed between the bearing surface of the first bearing and the outer surface of the rotation shaft and the main passage, and through which the lubricating liquid flows from the main passage to the space formed between the bearing surface of the first bearing and the outer surface of the rotation shaft. a rotation shaft; a first bearing that supports the rotation shaft at least in a radial direction of the rotation shaft; a casing that forms a suction space into which a working fluid flows; an impeller that is fixed to the rotation shaft in the casing and that compresses the working fluid flowed into the suction space to discharge the working fluid outside the casing by rotation of the rotation shaft; a first space that is formed around the rotation shaft at a position between the impeller and the first bearing in an axial direction of the rotation shaft, that is in communication with a space formed between a bearing surface of the first bearing and an outer surface of the rotation shaft, and that stores a lubricating liquid; a second space that is formed on an opposite side of the first bearing from the impeller in the axial direction of the rotation shaft, that is in communication with the space formed between the bearing surface of the first bearing and the outer surface of the rotation shaft, and that stores the lubricating liquid; a storage tank that stores the lubricating liquid, the lubricating liquid being the working fluid; a first output passage that allows communication between an inner space of the storage tank and the first space and through which the lubricating liquid flows from the first space to the storage tank; and a supply passage that allows communication between the inner space of the storage tank and the second space and through which the lubricating liquid flows from the storage tank to the second space; characterized by a pump that is disposed on the supply passage and that pumps the lubricating liquid to the second space; a main passage that is in communication with the second space, that extends in the rotation shaft in the axial direction of the rotation shaft from one end of the rotation shaft, and through which the lubricating liquid stored in the second space flows in the axial direction of the rotation shaft; and a sub-passage that is formed in the rotation shaft, that allows communication between the space formed between the bearing surface of the first bearing and the outer surface of the rotation shaft and the main passage, and through which the lubricating liquid flows from the main passage to the space formed between the bearing surface of the first bearing and the outer surface of the rotation shaft.