Hexagonal boron nitride nanosheets were well dispersed by using water-soluble carboxylated aniline trimer as dispersant. The best corrosion performance of waterborne epoxy coatings was achieved with the addition of 1 wt% h-BN. The decrease of the pores and defects of coating matrix inhibits the diffusion and water absorption of corrosive medium in the coating.