Cement is widely used in marine concrete, and its resistance to chloride ion corrosion has been widely considered. In this paper, based on a laboratory test, the influence of different hydrostatic pressures, coarse aggregate contents and w/c ratios on the chloride resistance performance is analyzed. Based on COMSOL finite element software, a two-dimensional cementitious materials model is established, and the simulation results are compared with the experimental results. The results show that the penetration depth of chloride ions in cement increases with the increase of the w/c ratio. Under the hydrostatic pressure of 0 MPa, when the w/c ratio is 0.35, the penetration depth of chloride ions is 7.4 mm, and the simulation result is 8.0 mm. When the w/c ratio is 0.45, the penetration depth of chloride ions is 9.3 mm, and the simulation result is 9.9 mm. When the w/c ratio is 0.55, the penetration depth of chloride ions is 12.9 mm, and the simulation result is 12.1 mm. Under different hydrostatic pressures, the penetration depth of chloride ions obviously changes, and with the increase in hydrostatic pressure, the penetration depth of chloride ions deepens. Under the w/c ratio of 0.35, when the hydrostatic pressure is 0.5 MPa, the penetration depth of chloride ions is 11.3 mm, and the simulation result is 12.1 mm. When the hydrostatic pressure is 1.0 MPa, the penetration depth of chloride ions is 16.2 mm, and the simulation result is 17.5 mm.