ABSTRACT: This report describes the biodiversity and ecology of microbial mats developed in thermal gradients (20 to 65°C) in the surroundings of three drillings (Chiraleu [CH], Ciocaia [CI], and Mihai Bravu [MB]) tapping a hyperthermal aquifer in Romania. Using a metabarcoding approach, 16S rRNA genes were sequenced from both DNA and RNA transcripts (cDNA) and compared. The relationships between the microbial diversity and the physicochemical factors were explored. Additionally, the cDNA data were used for in silico functionality predictions, bringing new insights into the functional potential and dynamics of these communities. The results showed that each hot spring determined the formation of distinct microbial communities. In the CH mats (40 to 53°C), the abundance of Cyanobacteria decreased with temperature, opposite to those of Chloroflexi and ProteobacteriaEctothiorhodospira, Oscillatoria, and methanogenic archaea dominated the CI communities (20 to 65°C), while the MB microbial mats (53 to 65°C) were mainly composed of Chloroflexi, Hydrogenophilus, Thermi, and Aquificae Alpha-diversity was negatively correlated with the increase in water temperature, while beta-diversity was shaped in each hot spring by the unique combination of physicochemical parameters, regardless of the type of nucleic acid analyzed (DNA versus cDNA). The rank correlation analysis revealed a unique model that associated environmental data with community composition, consisting in the combined effect of Na+, K+, HCO3-, and PO43- concentrations, together with temperature and electrical conductivity. These factors seem to determine the grouping of samples according to location, rather than with the similarities in thermal regimes, showing that other parameters beside temperature are significant drivers of biodiversity.IMPORTANCE Hot spring microbial mats represent a remarkable manifestation of life on Earth and have been intensively studied for decades. Moreover, as hot spring areas are isolated and have a limited exchange of organisms, nutrients, and energy with the surrounding environments, hot spring microbial communities can be used in model studies to elucidate the colonizing potential within extreme settings. Thus, they are of great importance in evolutionary biology, microbial ecology, and exobiology. In spite of all the efforts that have been made, the current understanding of the influence of temperature and water chemistry on the microbial community composition, diversity, and abundance in microbial mats is limited. In this study, the composition and diversity of microbial communities developed in thermal gradients in the vicinity of three hot springs from Romania were investigated, each having particular physicochemical characteristics. Our results expose new factors that could determine the formation of these ecosystems, expanding the current knowledge in this regard.