Method for operating a heat pump of a heating system of a vehicle for heating air for and/or in a vehicle interior, wherein the heat pump comprises a refrigerant circuit with at least - a compressor, - a first heating heat exchanger on the high-pressure side for transferring heat from the refrigerant to a first heat-storing medium, - a second heating heat exchanger on the high-pressure side for transferring heat from the refrigerant either directly to the air to be heated, or indirectly via a second medium to air to be heated, - an expansion member, and - an evaporator, wherein the first heating heat exchanger is arranged upstream of the second heating heat exchanger in the refrigerant circuit so that the temperature of the refrigerant in the first heating heat exchanger is higher than that in the second heating heat exchanger, and the refrigerant is operated super-critically on the high-pressure side in the refrigerant circuit and the high-pressure can be regulated in the refrigerant circuit, characterized by the steps: (a) detecting (130, 240) a value (Opt-HD), optimized for the heat pump in terms of efficiency, for the high pressure in the refrigerant circuit, (b) increasing (150, 270) the high pressure in the refrigerant circuit above the value (Opt-HD) optimized in terms of efficiency, of the high pressure, and (c) reaching (160, 280) an increased high pressure at which the power distribution of the transfer of thermal power in the first heating heat exchanger in relation to the transfer of thermal power in the second heating heat exchanger corresponds to a target power distribution. - a compressor, - a first heating heat exchanger on the high-pressure side for transferring heat from the refrigerant to a first heat-storing medium, - a second heating heat exchanger on the high-pressure side for transferring heat from the refrigerant either directly to the air to be heated, or indirectly via a second medium to air to be heated, - an expansion member, and - an evaporator, wherein the first heating heat exchanger is arranged upstream of the second heating heat exchanger in the refrigerant circuit so that the temperature of the refrigerant in the first heating heat exchanger is higher than that in the second heating heat exchanger, and the refrigerant is operated super-critically on the high-pressure side in the refrigerant circuit and the high-pressure can be regulated in the refrigerant circuit, characterized by the steps: (a) detecting (130, 240) a value (Opt-HD), optimized for the heat pump in terms of efficiency, for the high pressure in the refrigerant circuit, (b) increasing (150, 270) the high pressure in the refrigerant circuit above the value (Opt-HD) optimized in terms of efficiency, of the high pressure, and (c) reaching (160, 280) an increased high pressure at which the power distribution of the transfer of thermal power in the first heating heat exchanger in relation to the transfer of thermal power in the second heating heat exchanger corresponds to a target power distribution. (a) detecting (130, 240) a value (Opt-HD), optimized for the heat pump in terms of efficiency, for the high pressure in the refrigerant circuit, (b) increasing (150, 270) the high pressure in the refrigerant circuit above the value (Opt-HD) optimized in terms of efficiency, of the high pressure, and (c) reaching (160, 280) an increased high pressure at which the power distribution of the transfer of thermal power in the first heating heat exchanger in relation to the transfer of thermal power in the second heating heat exchanger corresponds to a target power distribution.