The invention discloses a die-
casting machine which comprises a rack, a first sliding block , a guide rail, foots, an electric cabinet, a first
extrusion device, a first die body, a cohesion device, asecond
extrusion device, a hopper, a feeding hole, a liquid inlet
pipe, a washing device, a third
extrusion device, a second die body, a second sliding block and a heating wire, wherein the foot arefixedly arranged on the lower surface of the bottom plate of the rack and is in contact with the ground; the washing device is arranged on the bottom plate of the rack; and the liquid inlet
pipe is fixed on the side face of the rack and is connected with the washing device. The die-
casting machine can heat
alloy liquid in a pipeline in real time to keep the
alloy liquid to be at the temperature most proper for
casting and to prevent the problems about misrun and cold shut of a casting due to too low temperature of the
alloy liquid. In addition, after casting, the washing device can wash the hopper and the pipeline to prevent the situation that impurities in the hopper are mixed with the alloy liquid to affect the casting quality when casting is carried out once more.