An air conditioner provided with a compressor failure predicting and detecting means, comprising: a heat exchanger; a compressor driven by a motor; piping connecting the heat exchanger and the compressor with each other; and a control unit configured to control the compressor and having the compressor failure predicting and detecting means, wherein the compressor failure predicting and detecting means of the control unit includes: a current detecting part configured to detect a driving current for driving the compressor, wherein the driving current is an output current of the motor; a pulsation detecting part configured to detect pulsation in a driving current detected by the current detecting part; an anomaly determining part configured to predict or detect the compressor failure based on a magnitude and a duration of pulsation in the driving current detected by the pulsation detecting part; and a phase detecting part configured to obtain a mechanical angle phase of the motor from the output current of the motor detected by the current detecting part, wherein the pulsation detecting part is configured to detect the pulsation in the driving current based on information derived from the driving current and calculated by the current detecting part, and a mechanical angle phase obtained by the phase detecting part. a heat exchanger; a compressor driven by a motor; piping connecting the heat exchanger and the compressor with each other; and a control unit configured to control the compressor and having the compressor failure predicting and detecting means, wherein the compressor failure predicting and detecting means of the control unit includes: a current detecting part configured to detect a driving current for driving the compressor, wherein the driving current is an output current of the motor; a pulsation detecting part configured to detect pulsation in a driving current detected by the current detecting part; an anomaly determining part configured to predict or detect the compressor failure based on a magnitude and a duration of pulsation in the driving current detected by the pulsation detecting part; and a phase detecting part configured to obtain a mechanical angle phase of the motor from the output current of the motor detected by the current detecting part, wherein the pulsation detecting part is configured to detect the pulsation in the driving current based on information derived from the driving current and calculated by the current detecting part, and a mechanical angle phase obtained by the phase detecting part. a current detecting part configured to detect a driving current for driving the compressor, wherein the driving current is an output current of the motor; a pulsation detecting part configured to detect pulsation in a driving current detected by the current detecting part; an anomaly determining part configured to predict or detect the compressor failure based on a magnitude and a duration of pulsation in the driving current detected by the pulsation detecting part; and a phase detecting part configured to obtain a mechanical angle phase of the motor from the output current of the motor detected by the current detecting part, wherein the pulsation detecting part is configured to detect the pulsation in the driving current based on information derived from the driving current and calculated by the current detecting part, and a mechanical angle phase obtained by the phase detecting part.