In this work, a cast magnesium alloy AZ91D was friction stir processed. Detailed microstructural studies and Gleeble hot ductility tests were conducted on the as-cast and the FSPed samples to comparatively assess their heat-affected zone liquation cracking behavior. The results show that the use of FSP as a pretreatment to fusion welding can strikingly improve the heat-affected zone liquation cracking resistance of alloy AZ91D by reducing the amount and size of the low-melting eutectic β (Mg17Al12) as well as by refining the matrix grain size. © 2017, The Minerals, Metals & Materials Society and ASM International.