The invention discloses a hydraulic system for a hydraulic hammer. The hydraulic system comprises a power source, an oil tank, a lifting oil cylinder, an impact hammer core, a second electromagnetic reversing valve, a third electromagnetic reversing valve, a second plug-in valve, a third plug-in valve, a one-way plug-in valve, a second energy accumulator, a third energy accumulator, a fourth energy accumulator, a second check valve, a third check valve, a fourth check valve, a high-pressure pipeline, a low-pressure pipeline, a travel switch and a control unit, wherein the lifting oil cylinderis positioned in the central pit of a valve block through the inner cylinder barrel and the outer cylinder barrel of the lifting oil cylinder and is fastened with a cylindrical boss; the bottom of theinner cylinder barrel is provided with a plurality of oil holes for communicating a lower hydraulic cavity communicates with an annular oil channel; an upper hydraulic cavity and the lower hydrauliccavity communicate through switching on the one-way plug-in valve; and the second plug-in valve, the third plug-in valve and the one-way plug-in valve are independently installed on installation positions between a first oil channel and a third oil channel, between a fourth oil channel and a sixth oil channel as well as between a second oil channel and a fifth oil channel on the valve block. The hydraulic system has the characteristics of large blow energy, small hydraulic oil reversing pressure fluctuation, a low hydraulic element damage rate, small hydraulic pipeline vibration, high piling efficiency and the like, and is suitable for the high-speed flowing and the timely reversing of hydraulic oil.