A refrigeration cycle device that performs a heating operation and a cooling operation selectively, the refrigeration cycle device comprising: a compressor that sucks a refrigerant and compresses the refrigerant; a first heat exchanger, a second heat exchanger, a third heat exchanger, and a fourth heat exchanger each of which exchanges heat with the refrigerant; an ejector that includes a refrigerant inlet port, a refrigerant suction port, and a refrigerant outlet port, and that is configured to decompress the refrigerant that flows into the refrigerant inlet port, pressurize the refrigerant by mixing the refrigerant that has been decompressed, and the refrigerant that is sucked by the refrigerant suction port together, and discharge the refrigerant that has been pressurized, from the refrigerant outlet port; a controller that is connected between the first heat exchanger and the second heat exchanger and configured to control a flow rate of the refrigerant; characterized in that the refrigeration cycle device comprises a switching device configured to perform, in a heating operation, switching of a flow path of the refrigerant in such a manner that the refrigerant that is compressed by the compressor flows into the refrigerant inlet port of the ejector via the third heat exchanger and the refrigerant that is compressed by the compressor is sucked by the refrigerant suction port of the ejector via the first heat exchanger, the controller, and the second heat exchanger in this order, and the refrigerant that is discharged from the refrigerant outlet port of the ejector is sucked by the compressor via the fourth heat exchanger and the switching device being configured to perform, in a cooling operation, switching of a flow path of the refrigerant in such a manner that the refrigerant that is compressed by the compressor flows into the refrigerant inlet port of the ejector via the fourth heat exchanger and the refrigerant that is compressed by the compressor is sucked by the refrigerant suction port of the ejector via the second heat exchanger, the controller, and the first heat exchanger in this order, and the refrigerant that is discharged from the refrigerant outlet port of the ejector is sucked by the compressor via the third heat exchanger. a compressor that sucks a refrigerant and compresses the refrigerant; a first heat exchanger, a second heat exchanger, a third heat exchanger, and a fourth heat exchanger each of which exchanges heat with the refrigerant; an ejector that includes a refrigerant inlet port, a refrigerant suction port, and a refrigerant outlet port, and that is configured to decompress the refrigerant that flows into the refrigerant inlet port, pressurize the refrigerant by mixing the refrigerant that has been decompressed, and the refrigerant that is sucked by the refrigerant suction port together, and discharge the refrigerant that has been pressurized, from the refrigerant outlet port; decompress the refrigerant that flows into the refrigerant inlet port, pressurize the refrigerant by mixing the refrigerant that has been decompressed, and the refrigerant that is sucked by the refrigerant suction port together, and discharge the refrigerant that has been pressurized, from the refrigerant outlet port; a controller that is connected between the first heat exchanger and the second heat exchanger and configured to control a flow rate of the refrigerant; characterized in that the refrigeration cycle device comprises a switching device configured to perform, in a heating operation, switching of a flow path of the refrigerant in such a manner that the refrigerant that is compressed by the compressor flows into the refrigerant inlet port of the ejector via the third heat exchanger and the refrigerant that is compressed by the compressor is sucked by the refrigerant suction port of the ejector via the first heat exchanger, the controller, and the second heat exchanger in this order, and the refrigerant that is discharged from the refrigerant outlet port of the ejector is sucked by the compressor via the fourth heat exchanger and the refrigerant that is compressed by the compressor flows into the refrigerant inlet port of the ejector via the third heat exchanger and the refrigerant that is compressed by the compressor is sucked by the refrigerant suction port of the ejector via the first heat exchanger, the controller, and the second heat exchanger in this order, and the refrigerant that is discharged from the refrigerant outlet port of the ejector is sucked by the compressor via the fourth heat exchanger and the switching device being configured to perform, in a cooling operation, switching of a flow path of the refrigerant in such a manner that the refrigerant that is compressed by the compressor flows into the refrigerant inlet port of the ejector via the fourth heat exchanger and the refrigerant that is compressed by the compressor is sucked by the refrigerant suction port of the ejector via the second heat exchanger, the controller, and the first heat exchanger in this order, and the refrigerant that is discharged from the refrigerant outlet port of the ejector is sucked by the compressor via the third heat exchanger.