A refrigeration cycle apparatus comprising: a refrigerant circuit in which a compressor, a heat-source-side heat exchanger, a first expansion device, a second expansion device, and a load-side heat exchanger are sequentially connected by refrigerant pipes and in which refrigerant is circulated; a controller configured to control the refrigerant circuit; a bypass pipe extending from a liquid pipe between the first expansion device and the second expansion device toward a suction side of the compressor; a third expansion device provided at the bypass pipe, and configured to decompress the refrigerant that flows through the bypass pipe; and a refrigerant cooler provided at the bypass pipe and downstream of the third expansion device, and configured to cause heat exchange to be performed between the refrigerant decompressed by the third expansion device and heat generated from the controller, characterized in that the refrigeration cycle apparatus further comprises: a control temperature detector configured to detect a temperature of the controller; and an opening-degree detector configured to detect an opening degree of the third expansion device, wherein when the temperature detected by the control temperature detector is higher than or equal to a temperature threshold, and the opening degree of the third expansion device detected by the opening-degree detector is higher than or equal to an opening-degree threshold, the controller decreases an opening degree of the first expansion device. a refrigerant circuit in which a compressor, a heat-source-side heat exchanger, a first expansion device, a second expansion device, and a load-side heat exchanger are sequentially connected by refrigerant pipes and in which refrigerant is circulated; a controller configured to control the refrigerant circuit; a bypass pipe extending from a liquid pipe between the first expansion device and the second expansion device toward a suction side of the compressor; a third expansion device provided at the bypass pipe, and configured to decompress the refrigerant that flows through the bypass pipe; and a refrigerant cooler provided at the bypass pipe and downstream of the third expansion device, and configured to cause heat exchange to be performed between the refrigerant decompressed by the third expansion device and heat generated from the controller, characterized in that the refrigeration cycle apparatus further comprises: a control temperature detector configured to detect a temperature of the controller; and an opening-degree detector configured to detect an opening degree of the third expansion device, wherein when the temperature detected by the control temperature detector is higher than or equal to a temperature threshold, and the opening degree of the third expansion device detected by the opening-degree detector is higher than or equal to an opening-degree threshold, the controller decreases an opening degree of the first expansion device. a control temperature detector configured to detect a temperature of the controller; and an opening-degree detector configured to detect an opening degree of the third expansion device, wherein when the temperature detected by the control temperature detector is higher than or equal to a temperature threshold, and the opening degree of the third expansion device detected by the opening-degree detector is higher than or equal to an opening-degree threshold, the controller decreases an opening degree of the first expansion device.