In freshwaters, microbial communities are of outstanding importance both from ecological and public health perspectives, however, they are threatened by the impact of global warming. To reveal how different prokaryotic communities in a large temperate river respond to environment conditions related to climate change, the present study provides the first detailed insight into the composition and spatial and year-round temporal variations of planktonic and epilithic prokaryotic community. Microbial diversity was studied using high-throughput next generation amplicon sequencing. Sampling was carried out monthly in the midstream and the littoral zone of the Danube, upstream and downstream from a large urban area. Result demonstrated that river habitats predominantly determine the taxonomic composition of the microbiota; diverse and well-differentiated microbial communities developed in water and epilithon, with higher variance in the latter. The composition of bacterioplankton clearly followed the prolongation of the summer resulting from climate change, while the epilithon community was less responsive. Rising water temperatures was associated with increased abundances of many taxa (such as phylum Actinobacteria, class Gammaproteobacteria and orders Synechococcales, Alteromonadales, Chitinophagales, Pseudomonadales, Rhizobiales and Xanthomonadales), and the composition of the microbiota also reflected changes of several further environmental factors (such as turbidity, TOC, electric conductivity, pH and the concentration of phosphate, sulphate, nitrate, total nitrogen and the dissolved oxygen). The results indicate that shift in microbial community responding to changing environment may be of crucial importance in the decomposition of organic compounds (including pollutants and xenobiotics), the transformation and accumulation of heavy metals and the occurrence of pathogens or antimicrobial resistant organisms.