A compressor comprising: a compression mechanism which compresses a refrigerant with rotation of a shaft rotatably supported by a first bearing and a second bearing; and a muffler (30, 40) which is provided around the shaft opposite to the compression mechanism and receives the refrigerant discharged from the compression mechanism, the muffler defining a discharge chamber with a fixed part of the first bearing wherein a muffler outlet for discharging the refrigerant inside the muffler (30, 40) opens annularly along an outer periphery of the shaft, a constriction (36, 56), at which a passage (37, 57) of the refrigerant flowing toward the muffler outlet is narrowed in the length direction of the shaft, is formed around the shaft inside the muffler (30, 40), and an encircling part (32, 42, 52, 53), which is provided in a main body (31, 41) of the muffler (30, 40) and encircles the outer periphery of the shaft inside the muffler (30, 40), is bent downward from an inner peripheral edge part of the main body of the muffler (30, 40), and the encircling part (32, 42, 52, 53) is further bent upward in the vicinity of an upper surface of the fixed part, and is continuous with a circular cylindrical flow straightening part lying on an upper side of the main body (31, 41) of the muffler (30, 40), said cylindrical flow straightening part forming an outlet of the muffler (30, 40), and a passage (37, 57) is formed along the shaft between the encircling part (32, 42, 52, 53) and the shaft, and the constriction (36, 56) communicates with the muffler outlet through the passage (37, 57), and characterized in that the encircling part (32, 42, 52, 53) protrudes to the inside of the muffler (30, 40). a compression mechanism which compresses a refrigerant with rotation of a shaft rotatably supported by a first bearing and a second bearing; and a muffler (30, 40) which is provided around the shaft opposite to the compression mechanism and receives the refrigerant discharged from the compression mechanism, the muffler defining a discharge chamber with a fixed part of the first bearing wherein a muffler outlet for discharging the refrigerant inside the muffler (30, 40) opens annularly along an outer periphery of the shaft, a constriction (36, 56), at which a passage (37, 57) of the refrigerant flowing toward the muffler outlet is narrowed in the length direction of the shaft, is formed around the shaft inside the muffler (30, 40), and an encircling part (32, 42, 52, 53), which is provided in a main body (31, 41) of the muffler (30, 40) and encircles the outer periphery of the shaft inside the muffler (30, 40), is bent downward from an inner peripheral edge part of the main body of the muffler (30, 40), and the encircling part (32, 42, 52, 53) is further bent upward in the vicinity of an upper surface of the fixed part, and is continuous with a circular cylindrical flow straightening part lying on an upper side of the main body (31, 41) of the muffler (30, 40), said cylindrical flow straightening part forming an outlet of the muffler (30, 40), and a passage (37, 57) is formed along the shaft between the encircling part (32, 42, 52, 53) and the shaft, and the constriction (36, 56) communicates with the muffler outlet through the passage (37, 57), and characterized in that the encircling part (32, 42, 52, 53) protrudes to the inside of the muffler (30, 40).