In summary, this study reveals that increased GUSB downregulates PD-L1 expression by promoting miR-513a-5p, leading to primary resistance to anti-PD1 treatment in HCC, and amoxapine enhances the sensitivity of anti-PD1 therapy by inhibiting GUSB, providing a new strategy and method for improving the efficacy of anti-PD1 therapy and bringing new prospects for therapy of HCC. The gene discussed is PDCD1; the disease is hepatocellular carcinoma.