Targeted deletion of Mecp2 (an essential mutated gene in Rett syndrome) in macrophages using the Cre-Lox system resulted in spontaneous obesity in normal diet-fed mice, which was accelerated with high-fat diet feeding. Here, MECP2 is linked to obesity due to melanocortin 4 receptor deficiency.