Our work indicates that PVHBDNF neurons depend on RAI1 to maintain normal neuronal activity and regulate body weight homeostasis, and dysfunction of BDNF downstream signalling contributes to obesity associated with SMS mice. Here, BDNF is linked to obesity due to melanocortin 4 receptor deficiency.