Objective Studies have shown that systemic lupus erythematosus(SLE)and Myasthenia gravis(MG)may have concurrent onset clinically.This study aims to explore the potential causal relationship between SLE and MG using a bidirectional Mendelian randomization study to provide a basis for clinical prevention and treatment.Methods Genetic data closely related to SLE and MG were extracted from the summary database of genome-wide association studies(GWAS)as instrumental variables,and the extracted data were all from European samples.MR analysis was conducted using IVW,MR-Egger regression,and WME.The causal relationship between SLE and MG was evaluated by the OR value and 95%CI.The MR-Egger intercept method was used to detect horizontal pleiotropy,and the leave-one-out meth-od was used for sensitivity analysis.Results SLE was associated with an increased risk of MG(OR=1.698,95%CI:1.329-2.171,P<0.001);similarly,MG was associated with an increased risk of SLE(OR=1.527,95%CI:1.248-1.869,P<0.001).There was no heterogeneity in the two-way results and no horizontal pleiotropy.The sensitivity analy-sis results of the leave-one-out method were stable.Conclusion There is a bidirectional causal relationship between SLE and MG.SLE patients will increase the risk of MG onset,and MG will also increase the risk of SLE onset.