In a case where frost is deposited a heat-source-side heat exchanger during a heating operation mode, an air-conditioning apparatus 100 executes either a "heat recovery defrosting operation mode" using a heat capacity held in a heat medium or a "bypass defrosting operation mode" not using the heat capacity held in the heat medium.