An air conditioner comprising: a refrigerating cycle which comprises a compressor, a four-way valve, an indoor heat exchanger, a pressure reducer, and an outdoor heat exchanger and in which during heating operation a refrigerant flows in an order of the compressor, the four-way valve, the indoor heat exchanger, the pressure reducer, the outdoor heat exchanger, the four-way valve, and the compressor; an indoor temperature detection means for detecting an indoor temperature; and a target temperature setting means configured to set a target temperature, wherein a specified compressor-stop condition is previously set, the specified compressor-stop condition is satisfied when a state, which the indoor temperature is higher than the target temperature by a specified temperature difference, has lasted for a specified duration time, and the compressor is stopped when, after the indoor temperature has exceeded the target temperature, the specified compressor-stop condition is satisfied, the air conditioner further comprising: a bypass circuit for connecting one point between the indoor heat exchanger and the pressure reducer and another point between the four-way valve and an inlet port of the compressor; and a bypass-use two-way valve provided in the bypass circuit, wherein after the indoor temperature has exceeded the target temperature and before the specified compressor-stop condition is satisfied, the bypass-use two-way valve is configured to be opened; wherein after the indoor temperature has exceeded the target temperature and when a specified valve-opening time has elapsed since an opening of the bypass-use two-way valve, the bypass-use two-way valve is configured to be closed; characterized in that the air conditioner is configured to open and to close the bypass-use two-way valve repeatedly to a plurality of times, after the indoor temperature has exceeded the target temperature, a refrigerating cycle which comprises a compressor, a four-way valve, an indoor heat exchanger, a pressure reducer, and an outdoor heat exchanger and in which during heating operation a refrigerant flows in an order of the compressor, the four-way valve, the indoor heat exchanger, the pressure reducer, the outdoor heat exchanger, the four-way valve, and the compressor; an indoor temperature detection means for detecting an indoor temperature; and a target temperature setting means configured to set a target temperature, wherein a specified compressor-stop condition is previously set, the specified compressor-stop condition is satisfied when a state, which the indoor temperature is higher than the target temperature by a specified temperature difference, has lasted for a specified duration time, and the compressor is stopped when, after the indoor temperature has exceeded the target temperature, the specified compressor-stop condition is satisfied, the air conditioner further comprising: a bypass circuit for connecting one point between the indoor heat exchanger and the pressure reducer and another point between the four-way valve and an inlet port of the compressor; and a bypass-use two-way valve provided in the bypass circuit, wherein a bypass circuit for connecting one point between the indoor heat exchanger and the pressure reducer and another point between the four-way valve and an inlet port of the compressor; and a bypass-use two-way valve provided in the bypass circuit, wherein after the indoor temperature has exceeded the target temperature and before the specified compressor-stop condition is satisfied, the bypass-use two-way valve is configured to be opened; wherein after the indoor temperature has exceeded the target temperature and when a specified valve-opening time has elapsed since an opening of the bypass-use two-way valve, the bypass-use two-way valve is configured to be closed; characterized in that the air conditioner is configured to open and to close the bypass-use two-way valve repeatedly to a plurality of times, after the indoor temperature has exceeded the target temperature,