AbstractA biodegradable metallic ureteral stent with suitable mechanical properties and antibacterial activity remains a challenge. Here we reveal the scientific significance of a biodegradable Mg-Sr-Ag alloy with a favorable combination of balanced mechanical properties, adjustable indwelling time in urinary tract and evident antibacterial activity via in vivo experiments in a swine model. Attributed to the rheo-solidification process, equiaxial microstructure and significantly refined grains (average grain size: 27.1 μm) were achieved. Mg17Sr2 and Mg4Ag were found as the primary precipitates in the matrix, due to which the alloy obtained ca. 111% increase in ultimate tensile strength in comparison to pure magnesium. Both the in vitro and in vivo results demonstrated the satisfactory biocompatibility of the alloy. Histological evaluation and bioindicators analysis suggested that there was no tissue damage, inflammation and lesions in the urinary system caused by the degradation process. The stent also improved the post-operative bladder functions viewed from the urodynamic results. Our findings highlight the potential of this alloy as antibacterial biodegradable urinary implant material.