A refrigeration cycle apparatus comprising: a refrigeration cycle in which a compressor, an oil separator, a condenser, a first pressure reducing device, and an evaporator are connected by a pipe, and through which refrigerant circulates; a first oil flow passage and a second oil flow passage through which refrigerating machine oil separated in the oil separator flows to the compressor; an oil flow rate control unit (6, 61, 62) configured to control a flow rate of refrigerating machine oil flowing through the first oil flow passage and a flow rate of refrigerating machine oil flowing through the second oil flow passage; an inverter including an inverter heat radiating portion and configured to drive the compressor, the inverter heat radiating portion being a portion where heat is radiated, wherein the compressor is integrated with the inverter; an inverter temperature detection device configured to measure a temperature of the inverter heat radiating portion; and a controller, the first oil flow passage being formed to pass through a position where heat of refrigerating machine oil flowing through the first oil flow passage is not transferred to the inverter heat radiating portion, the second oil flow passage being formed to pass through a position where heat of refrigerating machine oil flowing through the second oil flow passage is transferred to the inverter heat radiating portion, wherein the refrigeration cycle apparatus further comprises a cooling refrigerant flow passage branching off from a flow passage between the condenser and the first pressure reducing device and merging with a flow passage between the evaporator and the compressor; and a second pressure reducing device provided in the cooling refrigerant flow passage; wherein the cooling refrigerant flow passage is formed to pass through a position where heat of refrigerant flowing through the cooling refrigerant flow passage is transferred to the inverter heat radiating portion, and the controller is configured to control the second pressure reducing device and the oil flow rate control unit (6, 61, 62) on a basis of a detection value measured by the inverter temperature detection device. a refrigeration cycle in which a compressor, an oil separator, a condenser, a first pressure reducing device, and an evaporator are connected by a pipe, and through which refrigerant circulates; a first oil flow passage and a second oil flow passage through which refrigerating machine oil separated in the oil separator flows to the compressor; an oil flow rate control unit (6, 61, 62) configured to control a flow rate of refrigerating machine oil flowing through the first oil flow passage and a flow rate of refrigerating machine oil flowing through the second oil flow passage; an inverter including an inverter heat radiating portion and configured to drive the compressor, the inverter heat radiating portion being a portion where heat is radiated, wherein the compressor is integrated with the inverter; an inverter temperature detection device configured to measure a temperature of the inverter heat radiating portion; and a controller, the first oil flow passage being formed to pass through a position where heat of refrigerating machine oil flowing through the first oil flow passage is not transferred to the inverter heat radiating portion, the second oil flow passage being formed to pass through a position where heat of refrigerating machine oil flowing through the second oil flow passage is transferred to the inverter heat radiating portion, wherein the refrigeration cycle apparatus further comprises a cooling refrigerant flow passage branching off from a flow passage between the condenser and the first pressure reducing device and merging with a flow passage between the evaporator and the compressor; and a second pressure reducing device provided in the cooling refrigerant flow passage; wherein the cooling refrigerant flow passage is formed to pass through a position where heat of refrigerant flowing through the cooling refrigerant flow passage is transferred to the inverter heat radiating portion, and the controller is configured to control the second pressure reducing device and the oil flow rate control unit (6, 61, 62) on a basis of a detection value measured by the inverter temperature detection device.