Viral diseases pose a significant threat to livestock husbandry and plant cultivation. CRISPR/Cas9-mediated targeted editing of viral genes offers a promising approach to antiviral therapy. The silkworm, Bombyx mori, is an economically important insect susceptible to infection by B. mori nucleopolyhedrovirus (BmNPV), and viral outbreaks cause severe economic losses to the sericulture industry. Here, we identified BmNPV orf76 as a viral late gene that is highly similar to Autographa californica multiple nucleopolyhedrovirus Ac93. The deletion of orf76 abolished BmNPV proliferation and hindered the production of infectious budded viruses. We generated a transgenic line, Cas9(+)/sgorf76(+), that did not affect the growth or development of the silkworm and demonstrated that the transgenic line Cas9(+)/sgorf76(+) efficiently cleaved orf76 at the sgorf76 site, resulting in large deletions at 120 h post-infection, with no observed off-target effects. Survival analyses revealed that the transgenic line Cas9(+)/sgorf76(+) exhibited significantly higher survival rates than the control lines Cas9(−)/sgorf76(−), regardless of the BmNPV inoculation dose. Additionally, the number of BmNPV DNA copies and the expression levels of viral genes were markedly inhibited in the transgenic line Cas9(+)/sgorf76(+) compared with the control line Cas9(−)/sgorf76(−). The results provide a promising target for Cas9-mediated antiviral therapy against BmNPV, and the findings provide new insights for baculovirus gene function studies and lepidopteran pest control.