Fine control of macrophage activation is needed to prevent inflammatory disease, particularly at barrier sites such as the lungs. However, the dominant mechanisms that regulate the activation of pulmonary macrophages during inflammation are poorly understood. We found that alveolar macrophages (AlvMs) were much less able to respond to the canonical type 2 cytokine IL-4, which underpins allergic disease and parasitic worm infections, than macrophages from lung tissue or the peritoneal cavity. We found that the hyporesponsiveness of AlvMs to IL-4 depended upon the lung environment but was independent of the host microbiota or the lung extracellular matrix components surfactant protein D (SP-D) and mucin 5b (Muc5b). AlvMs showed severely dysregulated metabolism relative to that of cavity macrophages. After removal from the lungs, AlvMs regained responsiveness to IL-4 in a glycolysis-dependent manner. Thus, impaired glycolysis in the pulmonary niche regulates AlvM responsiveness during type 2 inflammation.