The invention discloses an integrated screw type medium-pressure air compressor comprising a first-stage screw compression main unit, a first-stage freeze dryer, a second-stage screw compression main unit and a second-stage freeze dryer which are successively in serial connection. Air is compressed in the first-stage screw compression main unit, enters the first-stage freeze dryer for removing moisture in the compressed air, then is compressed again in the second-stage screw compression main unit, is subjected to drying treatment in the second-stage freeze drier and discharged, and therefore, the service life of the compressor is prolonged, the compressor can be continuously operated in a long term, and the air pressure is up to medium pressure after two-stage compression. Both the first-stage screw compression main unit and the second-stage screw compression unit of the compressor are integrated through sharing a gear case, and thus the transmission efficiency is improved, the number of parts is reduced, the structure is compact, reasonable and reliable, and the installation and the maintenance are facilitated. Both the first-stage freeze dryer and the second-stage freeze dryer are integrated by sharing a cooler and a support, and thus the number of parts is reduced, the structure is compact, reasonable and reliable, and the installation and the maintenance are facilitated.