The proper thermo-mechanical treatment can improve mechanical properties of extruded Mg alloys through a solute segregation and precipitation along twin boundaries.