Artificially structured coatings are widely employed to minimize materials deterioration and corrosion, the annual direct cost of which is over 3% of the gross domestic product (GDP) for industrial countries. Manufacturing higher performance anticorrosive coatings is one of the most efficient approaches to reduce this loss. However, three-dimensional (3D) structure of coatings, which determines their performance, has not been investigated in detail. Here we present a quantitative nano-scale analysis of the 3D spatial structure of an anticorrosive aluminium epoxy barrier marine coating obtained by serial block-face scanning electron microscopy (SBFSEM) and ptychographic X-ray computed tomography (PXCT). We then use finite element simulations to demonstrate how percolation through this actual 3D structure impedes ion diffusion in the composite materials. We found the aluminium flakes align within 15° of the coating surface in the material, causing the perpendicular diffusion resistance of the coating to be substantially higher than the pure epoxy.