Rice (Oryza sativa L.) production frequently faces threats from biotic and abiotic stressors, with rice ragged stunt virus (RRSV) as a substantial biotic factor. The relationship between inorganic phosphorus (Pi) content and susceptibility to RRSV is crucial yet poorly understood. This study investigates how phosphorus metabolism influences rice resistance to RRSV, focusing on genetic manipulations that modulate this relationship. The RRSV infection increased phosphate (Pi) content in the aerial parts of rice plants by enhancing Pi uptake and transport. Furthermore, the upregulation of microRNA399d (miR399d) and the suppression of its target gene OsPHOSPHATE2 (OsPHO2) enhanced Pi accumulation, increasing rice susceptibility to RRSV infection. Additionally, elevated Pi levels, which are associated with altered ROS dynamics, reduced ROS activity and potentially dampened the plant's innate immune response to viral infection. The miR399d-PHO2 module was identified as pivotal in mediating phosphate uptake and influencing susceptibility to RRSV through modulations in the phosphorus and ROS pathways. This study shed light on the regulatory mechanisms of phosphorus nutrition in rice, revealing a critical interaction between phosphorus metabolism, ROS dynamics, and viral defense. The findings suggest potential strategies for manipulating Pi levels to enhance plant resistance against viruses, opening avenues for agricultural improvements and disease management in rice.