The invention discloses a multifunctional air compressor which comprises a machine case, an air inlet device, a motor, a pressurization air filter, a compressor, an oil-gas separator, a total heat recovery water heater and a centrifugal gas-liquid separator. The air inlet device, the motor, the pressurization air filter, the compressor, the oil-gas separator, the total heat recovery water heater and the centrifugal gas-liquid separator are arranged in the machine case. Air outside the machine case enters the machine case after dust filtering of a filter bag and noise elimination of a noise elimination pressure relief device, heat in the machine case is collected by a motor cooling heat collection cover and is conveyed into the pressurization air filter through a heat collection and air supply pipe, heat energy of gas and radiation heat energy of equipment are recycled, and cold oil is conveyed to the compressor through an oil return pipe after hot oil in a separator engine oil conveying pipe is cooled by the total heat recovery water heater. According to the multifunctional air compressor, three kinds of heat are recycled, the generated gas rises and is improved by more than 10 percent, gas input is smooth and small in resistance, the whole energy-saving equipment is arranged in the machine case, air for cooling is reduced, cooling electricity consumption is reduced, electricity used by the air compressor is less, and the energy efficiency ratio is high. The good vibration and noise reduction and cooling effects are achieved.