ABSTRACT Soil viruses control the dynamics and metabolism of their hosts, strongly modifying carbon and nutrient cycling as well as soil biochemistry. Warming specifically affects viruses and their hosts, but the consequences of climate warming on the virus–host interactions, and for soil functions, remain unknown. We investigated the viral communities and the virus–host interactions under warming in situ based on a forest soil column translocation experiment. The abundance of the Petitvirales (DNA viruses) decreased by 25%, but that of the Durnavirales and Martellivirales (RNA viruses) strongly increased. The DNA viral lysogenic signals and RNA viral lytic proteins increased in soil, indicating the opposite lifestyles of DNA and RNA viruses. Correspondingly, the DNA abundance of viral hosts increased, whereas RNA viral hosts remained stable. The high DNA viruses/host ratios reflect very intensive interactions between the virus and host, leading to the drop in the host functions (such as carbon metabolism processes and nitrogen and phosphorus cycles) up to 43%. In contrast, the functions of the hosts for RNA viruses increased by up to 48%. The fundamental difference in behaviour of DNA and RNA viruses is that the former use mainly lysogenic, whereas the latter lytic, lifestyles and thus control the responses of host communities to warming. Conclusively, the opposite response of DNA and RNA viruses to warming in abundance, lifestyle, and interactions with hosts leads to divergent changes in nutrient fluxes in soil. These new perspectives on viral regulations of microbial communities and their function under soil warming reveal the undeniable role of viruses in microbial ecology.