The intake of citrus fruits and green vegetables was inversely associated with obesity risk in participants carrying the BDNF rs6265 variant. Here, BDNF is linked to obesity due to melanocortin 4 receptor deficiency.