Currently, insecticides that target nicotinic acetylcholine receptors (nAChR) are widely used. Studies on the sublethal effects of insecticides have found that they can affect the amount of virus in insects. The mechanism by which insecticides affect insect virus load remain unclear. Here, we show that nAChR targeting insecticide can affect viral replication through the immune deficiency (IMD) pathway. We demonstrate that a low dose of spinosad (6.8 ng/mL), acting as an antagonist to Drosophila melanogaster nicotinic acetylcholine receptor α6 (Dα6), significantly elevates Drosophila melanogaster sigmavirus (DMelSV) virus titers in adults of Drosophila melanogaster. Conversely, a high dose of spinosad (50 ng/mL), acting as an agonist to Dα6, substantially decreases viral load. This bidirectional regulation of virus levels is absent in Dα6-knockout flies, signifying the specificity of spinosad’s action through Dα6. Furthermore, the knockdown of Dα6 results in decreased expression of genes in the IMD pathway, including dredd, imd, relish, and downstream antimicrobial peptide genes AttA and AttB, indicating a reduced innate immune response. Subsequent investigations reveal no significant difference in viral titers between relish mutant flies and Dα6-relish double mutants, suggesting that the IMD pathway’s role in antiviral defense is dependent on Dα6. Collectively, our findings shed light on the intricate interplay between nAChR signaling and the IMD pathway in mediating antiviral immunity, highlighting the potential for nAChR-targeting compounds to inadvertently influence viral dynamics in insect hosts. This knowledge may inform the development of integrated pest management strategies that consider the broader ecological impact of insecticide use.