Kdm2a deficiency in macrophages enhances thermogenesis to protect mice against HFD-induced obesity by enhancing H3K36me2 at the Pparg locus. Here, KDM2A is linked to obesity due to melanocortin 4 receptor deficiency.