High-fat diet (HFD) feeding induces rapid reprogramming of systemic metabolism. Here, we demonstrate that HFD feeding of mice downregulates glucose transporter (GLUT)-1 expression in blood-brain barrier (BBB) vascular endothelial cells (BECs) and reduces brain glucose uptake. Upon prolonged HFD feeding, GLUT1 expression is restored, which is paralleled by increased expression of vascular endothelial growth factor (VEGF) in macrophages at the BBB. In turn, inducible reduction of GLUT1 expression specifically in BECs reduces brain glucose uptake and increases VEGF serum concentrations in lean mice. Conversely, myeloid-cell-specific deletion of VEGF in VEGF(Δmyel) mice impairs BBB-GLUT1 expression, brain glucose uptake, and memory formation in obese, but not in lean mice. Moreover, obese VEGF(Δmyel) mice exhibit exaggerated progression of cognitive decline and neuroinflammation on an Alzheimer’s disease background. These experiments reveal that transient, HFD-elicited reduction of brain glucose uptake initiates a compensatory increase of VEGF production and assign obesity-associated macrophage activation a homeostatic role to restore cerebral glucose metabolism, preserve cognitive function, and limit neurodegeneration in obesity.