We discovered that cell-specific CD39 expression in macrophages and CD73 expression in HCC cells synergistically activated the eATP–adenosine pathway and produced more adenosine, thereby impairing CD8+ T cell function and driving anti-PD1 resistance. The gene discussed is NT5E; the disease is hepatocellular carcinoma.