Melatonin, an endogenous hormone, modulates Th17 cells via the reactive-oxygen species/TXNIP/HIF-1α axis to alleviate autoimmune uveitis. Here, TXNIP is linked to autoimmune uveitis.