In order to enhance the corrosion resistance of concrete to chloride salt, 5% NaCl solution was used to corrode ordinary concrete (OC) and rubber concrete (RC) with 5%, 10%, and 15% rubber content, respectively. By testing the compressive strength, mass, chloride ion concentration at different depths and relative dynamic elastic modulus, the erosion mechanism was analyzed by means of SEM scanning and EDS patterns, and the mechanical properties and deterioration degree of ordinary concrete (OC) and rubber concrete (RC) under the corrosion environment of chloride salt were studied. The results show that: the quality of rubber mixed into concrete increases first and then decreases, and rubber can increase the compressive strength of concrete, improve its internal structure. At the same time, the mechanical properties of concrete in the corrosion environment of chloride salt are improved to a certain extent, and the deterioration degree is reduced. Considering the comprehensive performance of OC and RC in the dry–wet alternation mechanism under chloride salt corrosion, the best content of rubber is 10%.