The objective of this study is to utilize bibliometric and visual analysis techniques to identify hotspots and frontiers of research in myasthenia gravis (MG) and provide valuable references for future research. The Web of Science Core Collection (WoSCC) database was used to retrieve literature data related to MG research, which was then analyzed using VOSviewer 1.6.18, CiteSpace 6.1.R3, and the Online Platform for Bibliometric Analysis. The analysis revealed 6734 publications distributed across 1612 journals and contributed by as many as 24,024 authors affiliated with 4708 institutions across 107 countries/regions. The number of annual publications and citations for MG research has steadily increased over the past 2 decades, with the last 2 years alone witnessing a remarkable increase in annual publications and citations to over 600 and 17,000, respectively. In terms of productivity, the United States emerged as the top producing country, while the University of Oxford ranked first in terms of research institutions. Vincent A was identified as the top contributor in terms of publications and citations.Muscle & NerveandNeurologyranked first in publications and citations respectively, with clinical neurology and neurosciences among the main subject categories explored. The study also identified pathogenesis, eculizumab, thymic epithelial cells, immune checkpoint inhibitors, thymectomy, MuSK antibodies, risk, diagnosis, and management as the current hot research topics in MG, while burst keywords like quality of life, immune-related adverse events (irAEs), rituximab, safety, nivolumab, cancer, and classification indicated the frontiers of MG research. This study effectively identifies the hotspots and frontiers of MG research, and offers valuable references for researchers interested in this area.