The results showed that ADA and CD40L were positively associated with the risk of MG and IL-1α, GDNF, OPG and TNF-β were negatively associated with the risk of MG. Here, CD40LG is linked to myasthenia gravis.