AbstractIn order to understand the influence of seawater corrosion on the mechanical behaviors of cement mortar, uniaxial compression tests were performed on the cement mortar specimens after corrosion in diverse directions. In this study, solutions of NaCl and Na2SO4 were prepared and used to simulate seawater. In addition, the differences of mechanical behaviors of cement mortar specimens after being immersed in solutions in uni‐, bi‐, and triaxial‐directions were also compared. Test results show that the compressive strength of cement mortar after immersed in sodium chloride solution is higher than that in sodium sulfate solution. The peak strain of cement mortar specimen after immersed in sodium chloride solution is lower than that in sodium sulfate solution after unidirection corrosion. Moreover, the compressive strength and peak strain of cement mortar specimen when the loading direction is parallel to the corrosion direction are both higher than those when the loading direction is perpendicular to the corrosion direction.