Macrophage-specific knockout of CD39 in our mouse model significantly reversed resistance to PD1 therapy, suggesting that targeting CD39 on macrophages may remodel the immune microenvironment and allow HCC patients to re-gain benefit from anti-PD1 therapy. Here, ENTPD1 is linked to hepatocellular carcinoma.