Fibroblast growth factor 21 (FGF21), phosphatidylcholine (PC), and triacylglycerol (TG) serve as mediators in these relationships.<h4>Conclusions</h4>Our research offers novel insights and sources for investigating the gut-retina axis in the genetic relationship between IBD and DR. Here, FGF21 is linked to inflammatory bowel disease.