In recent years, different responses of archaea and bacteria to environmental changes have attracted increasing scientific interest. In the mid-latitude region, Fen River receives water transferred from the Yellow River, electrical conductivity (EC), concentrations of Cl− and Na+ in water, total phosphorus (TP), and Olsen phosphorus (OP) in sediments were significantly affected by water transfer. Meanwhile, temperature and oxidation-reduction potential (ORP) of water showed significant seasonal variations. Based on 16S rRNA high-throughput sequencing technology, the composition of bacteria and archaea in sediments was determined in winter and summer, respectively. Results showed that the dominance of bacterial core flora decreased and that of archaeal core flora increased after water diversion. The abundance and diversity of bacterial communities in river sediments were more sensitive to anthropogenic and naturally induced environmental changes than that of archaeal communities. Bacterial communities showed greater resistance than archaeal communities under long-term external disturbances, such as seasonal changes, because of rich species composition and complex community structure. Archaea were more stable than bacteria, especially under short-term drastic environmental disturbances, such as water transfer, due to their insensitivity to environmental changes. These results have important implications for understanding the responses of bacterial and archaeal communities to environmental changes in river ecosystems affected by water diversion.