A hydraulic down-the-hole drill integrating impacting and rotating is composed of a concentric three-cavity tube, a flow divider, a swing mechanism, an impacting mechanism and a machine tail, wherein the shell end portions of the concentric three-cavity tube, the flow divider, the swing mechanism, the impacting mechanism and the machine tail are integrated. According to the hydraulic down-the-hole drilling machine integrating impacting and rotating, high pressure oil (or emulsified liquid) is transported by the three-cavity tube to serve as power drive so as to generate impacting and swinging, oil returning and powder discharging are boosted through compressed air, the overall drilling machine is submerged in a drilling hole, a drilling rod does not rotate, load is not increased because of lengthening of the drilling rod, and more ultra-deep drilling and underwater exploration drilling can be achieved. Because hydraulic pressure (10-20 MPa) is ten to twenty times higher than air pressure (1.2 MPa), through adopting the hydraulic pressure, ballistic work is high, torque is high, the drilling efficiency is high, and energy consumption is reduced by two thirds.