The inhibitive effect of sodium silicate (Na2SiO3), sodium dodecyl benzene sulfonate (SDBS), and a combination of the two on AZ31 magnesium alloy (UNS M11311) in 1% sodium chloride (NaCl) solution were investigated using electrochemical techniques, weight loss, and surface analysis. The results show that these single inhibitors exhibit only limited protective effects on the corrosion of this magnesium alloy; however, the inhibitive efficiency can be improved to 95.3% by combining Na2SiO3 and SDBS in specific proportions.