Macrophages enforce antitumor immunity by engulfing and killing tumor cells. Although these functions are determined by a balance of stimulatory and inhibitory signals, the role of macrophage metabolism is unknown. Here, we study the capacity of macrophages to circumvent inhibitory activity mediated by CD47 on cancer cells. We show that stimulation with a CpG oligodeoxynucleotide, a Toll-like receptor 9 agonist, evokes changes in the central carbon metabolism of macrophages that enable antitumor activity, including engulfment of CD47+ cancer cells. CpG activation engenders a metabolic state that requires fatty acid oxidation and shunting of tricarboxylic acid cycle intermediates for de novo lipid biosynthesis. This integration of metabolic inputs is underpinned by carnitine palmitoyltransferase 1A and adenosine tri-phosphate citrate lyase, which, together, impart macrophages with antitumor potential capable of overcoming inhibitory CD47 on cancer cells. Our findings identify central carbon metabolism to be a novel determinant and potential therapeutic target for stimulating antitumor activity by macrophages.