The cell-specific expression of CD39 in macrophages and CD73 in hepatocellular carcinoma cells synergistically enhances the ATP-adenosine pathway, leading to the generation of immunosuppressive adenosine that impairs CD8+ T cell function and promotes resistance to anti-PD-1 therapy. Here, ENTPD1 is linked to hepatocellular carcinoma.