Waterborne epoxy coating is an environmentally friendly anticorrosion coating that are gradually attracting people's attention. However, the anticorrosion performance of waterborne epoxy coatings is unsatisfactory. It is found that the incorporation of some nanomaterials can remarkably improve the anticorrosion properties of waterborne epoxy coatings. This study reports an environmental-friendly waterborne epoxy (EP) coating with enhanced corrosion protection performance by embedding prepared octadecylamine-attapulgite-graphene (ODA-ATP-G) nanocomposite. By the analysis of electrochemical impedance spectroscopy (EIS), it is found that ODA-ATP-G nanocomposites can significantly improve the corrosion resistance of waterborne epoxy coating and provide long-time corrosion protection for the steel substrate. Through the analysis of UV–Visible Near Infrared Spectrophotometer, SEM, EDS and Raman, it is demonstrated that the reinforcement effect of ODA-ATP-G nanocomposites should be attributed to the barrier effect of ODA-ATP-G nanocomposite, the formation of hydrophobic protective film on the steel surface with the adsorption and deposition of ODA.