In summary, we successfully identified seven key genes, namely, CCRL2, GPT, LGALS12, PC, SLC27A2, SLC4A4, and TTC36, which are involved in obesity occurrence and development likely through the immune microenvironment. This evidence concerns the gene SLC27A2 and obesity due to melanocortin 4 receptor deficiency.