The invention relates to a hydraulic driving air compressor. The hydraulic driving air compressor is characterized by comprising a valve shell, a left cylinder body provided with a left air chamber, aright cylinder body provided with a right air chamber, a piston which is provided with an axial channel and in a T shape, a large valve core, a small valve core, a left plunger and a right plunger, wherein the diameter of the large valve core is greater than the diameter of a valve opening; and the left plunger is arranged in the left cylinder body and can slide left to right, the inner end of the left plunger is connected with the left end of the axial channel of the piston and can slide left to right along with the piston, and the inner end of the right plunger is connected with the right end of the axial channel of the piston and can slide left to right along with the piston. The air compressor has high integration degree and compact volume; and because the second outlet end of a firstthrough-flow hole communicates with an oil returning cavity and a left piston cavity, a certain distance is arranged from each of the left and right ends of the piston to the bottom surface of the corresponding cylinder body, and in this way, the fact that reversing of a liquid-controlled reversing valve assembly can be completed before the piston collides with two end covers is ensured, therefore, non-impact vibration and less noise are achieved.