The results of network molecular pharmacology indicated that IL‐6 and TNF‐α were key targets for ECT in regulating obesity. Here, TNF is linked to obesity due to melanocortin 4 receptor deficiency.