Myasthenia gravis (MG) is an autoimmune disorder characterised by autoantibodies that target components of the neuromuscular junction, primarily the acetylcholine receptor (AChR), resulting in muscle weakness. The thymus plays a significant role in MG pathogenesis, particularly in patients under the age of 50, who display pathological alterations and possess elements conducive to autoimmune reactions. Although viral infections are suspected drivers of thymic pathogenesis, the exact aetiology of MG remains elusive. This study investigates the potential link between MG and DNA viruses within the thymus. Using targeted next-generation sequencing and quantitative PCR, we analysed the presence of human parvovirus B19 (B19V) and nine human herpesviruses (HSV-1, HSV-2, VZV, EBV, CMV, HHV-6A, HHV-6B, HHV-7, and HHV-8) in fresh tissue samples from 19 non-thymomatous MG patients, 16 thymomas (3 with and 14 without MG), 41 normal thymus tissues, and 20 tonsils from healthy individuals. HHV-6B was the most common virus, found in over 50% of all tissue groups. B19V DNA was detected in 40% of adult control thymic tissue, 72% of MG thymus, 7.7% of non-MG thymoma, and 50% of tonsil samples. HHV-7 was present in 15-30% of thymus tissues and 95% of tonsils, while EBV was detected in less than 25% of all thymus samples but 85% of tonsils. In B19V seropositive individuals, B19V DNA was detected in 100% of thymic tissue from both MG patients and healthy individuals, except in thymomatous tissues, where it was found in only one of thirteen seropositive individuals. Immunohistochemistry for B19V protein expression did not show evident B19V VP1/VP2 protein expression, indicating dormant viral persistence. Laser capture microdissection (LCM) and RNAscope in situ hybridisation pinpointed B19V DNA localisation to the thymus medulla. This study is the first to demonstrate the persistence of various DNA viruses in the human thymus. However, neither B19V nor the nine human herpesviruses showed specific enrichment in MG thymic tissue compared to controls, suggesting that these viral infections are unlikely to be sole environmental triggers for MG.