The earthworm gut virome influences the structure and function of the gut microbiome, which in turn influences worm health and ecological functions. However, despite its ecological and soil quality implications, it remains elusive how earthworm intestinal phages respond to different environmental stress, such as soil pollution. Here we used metagenomics and metatranscriptomics to investigate interactions between the worm intestinal phages and their bacteria under different benzo[a]pyrene (BaP) concentrations. Low-level BaP (0.1 mg kg−1) stress stimulated microbial metabolism (1.74-fold to control), and enhanced the antiphage defense system (n= 75) against infection (8 phage-host pairs). Low-level BaP exposure resulted in the highest proportion of lysogenic phages (88%), and prophages expressed auxiliary metabolic genes (AMGs) associated with nutrient transformation (e.g., amino acid metabolism). In contrast, high-level BaP exposure (200 mg kg−1) disrupted microbial metabolism and suppressed the antiphage systems (n= 29), leading to the increase in phage-bacterium association (37 phage-host pairs) and conversion of lysogenic to lytic phages (lysogenic ratio declined to 43%). Despite fluctuating phage-bacterium interactions, phage-encoded AMGs related to microbial antioxidant and pollutant degradation were enriched, apparently to alleviate pollution stress. Overall, these findings expand our knowledge of complex phage-bacterium interactions in pollution-stressed worm guts, and deepen our understanding of the ecological and evolutionary roles of phages.