The paracellular passage of ions and small molecules across epithelia is controlled by tight junctions, complex meshworks of claudin polymers that form tight seals between neighboring cells. How the nanoscale architecture of tight junction meshworks enables paracellular passage of specific ions or small molecules without compromising barrier function is unknown. Here we combine super-resolution stimulated emission depletion microscopy in live and fixed cells and tissues, multivariate classification of super-resolution images and fluorescence resonance energy transfer to reveal the nanoscale organization of tight junctions formed by mammalian claudins. We show that only a subset of claudins can assemble into characteristic homotypic meshworks, whereas tight junctions formed by multiple claudins display nanoscale organization principles of intermixing, integration, induction, segregation, and exclusion of strand assemblies. Interestingly, channel-forming claudins are spatially segregated from barrier-forming claudins via determinants mainly encoded in their extracellular domains also known to harbor mutations leading to human diseases. Electrophysiological analysis of claudins in epithelial cells suggests that nanoscale segregation of distinct channel-forming claudins enables barrier function combined with specific paracellular ion flux across tight junctions.