A research program was simulated to study the effects of pouring temperature, squeeze pressure and die temperature on the tensile, elongation and hardness properties of AZ91D magnesium alloys using anycasting software. The curves with different processing parameters on mechanical properties have been painted. The results indicated that mechanical properties increased firstly, then decreased when the pouring temperature increased to 670°C, and gradually increased with the increasing of squeeze pressure. The affect laws of mould temperature are similar as ones of pouring temperature. Eventually found that the squeeze casting got better mechanical properties(σb= 225MPa, δ= 3.6%, Vickers hardness=62) on the pouring temperature 670°C, mold temperature 180°C, holding pressure 120Mpa, pressure duration 25s.