Hypersaline environments are extreme habitats with a limited prokaryotic diversity, mainly restricted to halophilic or halotolerant archaeal and bacterial taxa adapted to highly saline conditions. This study attempts to analyze the taxonomic and functional diversity of the prokaryotes that inhabit a solar saltern located at the Atlantic Coast, in Isla Cristina (Huelva, Southwest Spain), and the influence of salinity on the diversity and metabolic potential of these prokaryotic communities, as well as the interactions and cooperation among the individuals within that community. Brine samples were obtained from different saltern ponds, with a salinity range between 19.5 % and 39 % (w/v). Total prokaryotic DNA was sequenced using the Illumina shotgun metagenomic strategy and the raw sequence data were analyzed using supercomputing services following the MetaWRAP and SqueezeMeta protocols. The most abundant phyla at moderate salinities (19.5–22 % [w/v]) were Methanobacteriota (formerly “Euryarchaeota”), Pseudomonadota and Bacteroidota, followed by Balneolota and Actinomycetota and Uroviricota in smaller proportions, while at high salinities (36–39 % [w/v]) the most abundant phylum was Methanobacteriota, followed by Bacteroidota. The most abundant genera at intermediate salinities were Halorubrum and the bacterial genus Spiribacter, while the haloarchaeal genera Halorubrum, Halonotius, and Haloquadratum were the main representatives at high salinities. A total of 65 MAGs were reconstructed from the metagenomic datasets and different functions and pathways were identified in them, allowing to find key taxa in the prokaryotic community able to synthesize and supply essential compounds, such as biotin, and precursors of other bioactive molecules, like β-carotene, and bacterioruberin, to other dwellers in this habitat, lacking the required enzymatic machinery to produce them. This work shed light on the ecology of aquatic hypersaline environments, such as the Atlantic Coast salterns, and on the dynamics and factors affecting the microbial populations under such extreme conditions.