Under obese conditions, lower CNNM4 expression accounted for the decreased Mg secretion which impaired M2 macrophage polarization‐induced thermogenesis and deteriorated the progress of obesity. The gene discussed is CNNM4; the disease is obesity due to melanocortin 4 receptor deficiency.