Collectively, we propose ruxolitinib could attenuate endotoxin-induced uveitis and rescue visual functions in rats by inhibiting the JAK2-STAT3 pathway. Here, STAT3 is linked to uveitis.