A rotary compressor comprising: a sealed container; a rotary compression mechanism configured to compress and discharge a refrigerant that is supplied; an upper bearing and a lower bearing provided sandwiching the rotary compression mechanism; a main shaft rotatably supported by both the upper bearing and the lower bearing and extending through the rotary compression mechanism; an electric motor configured to rotationally drive the main shaft about a central axis of the main shaft; and a muffler into which the refrigerant discharged from the rotary compressor mechanism is to flow via a discharge port provided in the upper bearing, the rotary compression mechanism, the upper bearing and the lower bearing, the main shaft, the electric motor, and the muffler being housed in the sealed container, wherein the muffler includes a first muffler provided on an inner side, and a second muffler provided on an outer side of the first muffler and covering the first muffler, characterized in that an acoustic eigenvalue of a frequency F that is pre-specified is to be excited in the first muffler, and the second muffler is configured to absorb a sound wave of the frequency F transmitted through the first muffler, the first muffler includes a plurality of first discharge openings (56A1, 56A2) configured to discharge the refrigerant, which has flowed into the first muffler, to an interior of the second muffler, the second muffler includes a plurality of second discharge openings (56B1, 56B2, 56B3) configured to discharge the refrigerant, which has passed through the plurality of first discharge openings (56A1, 56A2) and has flowed into the second muffler, to an interior of the sealed container, and an interval between adjacent discharge openings including the plurality of second discharge openings (56B1, 56B2, 56B3) and the plurality of first discharge openings (56A1, 56A2) is determined with half an interval between the plurality of first discharge openings (56A1, 56A2) along a circumferential direction as a base, the positions of the plurality of first discharge openings (56A1, 56A2) being specified such that an acoustic eigenvalue of a frequency F at which a sound wants to be silenced in the first muffler is the most excited, wherein the first muffler includes two first discharge openings (56A1, 56A2) of the plurality of first discharge openings (56A1, 56A2), and the second muffler has three or more second discharge openings (56B1, 56B2, 56B3) of the plurality of second discharge openings (56B1, 56B2, 56B3). a sealed container; a rotary compression mechanism configured to compress and discharge a refrigerant that is supplied; an upper bearing and a lower bearing provided sandwiching the rotary compression mechanism; a main shaft rotatably supported by both the upper bearing and the lower bearing and extending through the rotary compression mechanism; an electric motor configured to rotationally drive the main shaft about a central axis of the main shaft; and a muffler into which the refrigerant discharged from the rotary compressor mechanism is to flow via a discharge port provided in the upper bearing, the rotary compression mechanism, the upper bearing and the lower bearing, the main shaft, the electric motor, and the muffler being housed in the sealed container, wherein the muffler includes a first muffler provided on an inner side, and a second muffler provided on an outer side of the first muffler and covering the first muffler, characterized in that an acoustic eigenvalue of a frequency F that is pre-specified is to be excited in the first muffler, and the second muffler is configured to absorb a sound wave of the frequency F transmitted through the first muffler, the first muffler includes a plurality of first discharge openings (56A1, 56A2) configured to discharge the refrigerant, which has flowed into the first muffler, to an interior of the second muffler, the second muffler includes a plurality of second discharge openings (56B1, 56B2, 56B3) configured to discharge the refrigerant, which has passed through the plurality of first discharge openings (56A1, 56A2) and has flowed into the second muffler, to an interior of the sealed container, and an interval between adjacent discharge openings including the plurality of second discharge openings (56B1, 56B2, 56B3) and the plurality of first discharge openings (56A1, 56A2) is determined with half an interval between the plurality of first discharge openings (56A1, 56A2) along a circumferential direction as a base, the positions of the plurality of first discharge openings (56A1, 56A2) being specified such that an acoustic eigenvalue of a frequency F at which a sound wants to be silenced in the first muffler is the most excited, wherein the first muffler includes two first discharge openings (56A1, 56A2) of the plurality of first discharge openings (56A1, 56A2), and the second muffler has three or more second discharge openings (56B1, 56B2, 56B3) of the plurality of second discharge openings (56B1, 56B2, 56B3).