Coastal aquifers have been extensively studied from the hydrodynamic and geochemical points of view, but there is still a significant gap in the knowledge of their microbial diversity. The bacterial communities of four coastal aquifers at different depths and salinities were studied in order to infer the anthropogenic and physico-chemical influences on groundwater microbiota. At the physico-chemical level, samples from different aquifers, but with similar salinities, are more similar than those taken within the same aquifer. The microbial community at the phylum level shows the dominance of Proteobacteria, Firmicutes, and Actinobacteria. Samples from the same aquifer, although having very different salinities, are more similar than samples with similar physico-chemical characteristics. Therefore, the taxa present in these media are resilient to environmental variations. The aquifer preserving the most pristine conditions harbors the lowest values of biodiversity, compared to those affected by anthropic activities. The incorporation of pollutants into the aquifer favors the development of a so-called “rare biosphere”, consisting of a high number of taxa which represent a low percentage (<1%) of the total microbial community. The analysis of microbial biodiversity in a coastal aquifer could be used as an indicator of the degree of anthropic alteration.