In this study, the effect of fluid flow rate, surface roughness and strain level on the corrosion behavior of magnesium alloy AZ31 was characterized in a custom test bench. Specimens were prepared by mechanical polishing and subject to flow in a simulated body fluid at 37°C for 24 hrs. Compared to a specimen pre-strain of 0%, mass loss was shown to increase by approximately 6% with a specimen pre-strain of 10%. Similarly, mass loss increased by approximately 13% when the fluid flow rate was increased from 250ml/min to 500ml/min. Surface roughness had a significant influence on corrosion behavior. Compared to a specimen polished with a 1 μm diamond paste, the mass loss for a specimen polished with #600 sandpaper was 28% greater.