The invention discloses an electric control hydraulic air distribution system for an engine. The electric control hydraulic air distribution system comprises a cylinder body of a hydraulic air distribution mechanism, a piston execution mechanism, a hydraulic cylinder body oil inlet pipeline, a hydraulic cylinder body oil return pipeline, an ECU and an electromagnetic valve execution mechanism. The hydraulic air distribution mechanism comprises the hydraulic cylinder body and a piston. The piston is arranged inside the hydraulic cylinder body and can vertically move due to the combined action of the hydraulic pressure and a valve spring. One end of the hydraulic cylinder body oil inlet pipeline is communicated with the hydraulic cylinder body, and the other end of the hydraulic cylinder body oil inlet pipeline is communicated with an engine oil bottom shell. The end, close to the hydraulic cylinder body, of the hydraulic cylinder body oil inlet pipeline and the end, close to the hydraulic cylinder body, of the hydraulic cylinder body oil return pipeline are provided with an oil inlet hole and an oil return hole respectively. The ECU is in signal connection with the electromagnetic valve execution mechanism. The ECU controls the electromagnetic valve execution mechanism to open or close the oil inlet hole and the oil return hole by continuously receiving engine working status signals sent by a crankcase signal panel sensor, and therefore the hydraulic pressure inside the hydraulic cylinder body is controlled, and then opening, closing and the lift of an air valve are controlled. According to the electric control hydraulic air distribution system for the engine, the electric control fully variable function of the air valve of the engine can be achieved, and valve timing, the phase of the air valve and the lift of the air valve can be continuously adjusted.