Our findings demonstrate that metabolic changes in Mtb-infected T2DM mice enhance TNFR1-mediated necroptosis of AMs, which leads to excess inflammation and lung pathology. Here, TNFRSF1A is linked to type 2 diabetes mellitus.