A high-frequency power amplifier with a temperature compensation function for power amplifying a high-frequency signal, includes: a power amplifying transistor having an emitter grounded; a high power output bias circuit that supplies a high power output current corresponding to a high power output of the high-frequency power amplifier to the power amplifying transistor; and a low power output bias circuit that supplies a low power output current corresponding to a low power output of the high-frequency power amplifier to the power amplifying transistor.