The corrosion behavior of marine engineering steels in marine environment is an extremely complex process, which poses great challenge to accurately evaluate the corrosion resistance of various stees in different marine environment. Owing to the wide application of machine learning (ML) approaches and the accumulation of corrosion data of different steels in natural marine environment, herein, we reported eXtreme Gradient Boosting (XGBoost) ML models for predicting the corrosion rate in submerged, tidal and splash zones. By taking material composition, environmental factors and exposure time as inputs, the developed prediction models can well predict the corrosion rate with the accuracy of 93%, 96% and 93% for submerged, tidal and splash zones, respectively. In addition, we identified the key factors affecting the corrosion resistance of steels in different marine zones, and analyzed the relationship between these factors and corrosion rate by applying SHapley Additive exPlanations (SHAP) method. This work demonstrates that ML model combined with SHAP method are efficient in evaluating corrosion behavior of various steels in different marine environment.