Abstract Homogenous dispersion of hexagonal boron nitride (h-BN) nanosheets in solvents or in the polymer matrix is crucial to initiate their many applications. Here, homogeneous dispersion of hexagonal boron nitride (h-BN) in epoxy matrix was achieved with a water-soluble carboxylated aniline trimer derivative (CAT−) as a dispersant, which was attributed to the strong π-π interaction between h-BN and CAT−, as proved by Raman and UV–vis spectra. Transmission electron microscopy (TEM) analysis confirmed a random dispersion of h-BN nanosheets in the waterborne epoxy coatings. The deterioration process of water-borne epoxy coating with and without h-BN nanosheets during the long-term immersion in 3.5 wt% NaCl solution was investigated by electrochemical measurements and water absorption test. Results implied that the introduction of well dispersed h-BN nanosheets into waterborne epoxy system remarkably improved the corrosion protection performance to substrate. Moreover, 1 wt% BN/EP composite coated substrate exhibited higher impedance modulus (1.3 × 106 Ω cm2) and lower water absorption (4%) than those of pure waterborne epoxy coating coated electrode after long-term immersion in 3.5 wt% NaCl solution, demonstrating its superior anticorrosive performance. This enhanced anticorrosive performance was mainly ascribed to the improved water barrier property of epoxy coating via incorporating homogeneously dispersed h-BN nanosheets.