Here, we find that lactate generated by both tumor and immune cells in the microenvironment increases the expression of CD47 and activation of STAT3 in association with reduced microglial/macrophage phagocytosis of tumor cells. This evidence concerns the gene CD47 and neoplasm.