The Epstein-Barr virus (EBV) is epidemiologically associated with development of autoimmune diseases, including systemic lupus erythematosus, Sjögren syndrome, rheumatoid arthritis and multiple sclerosis. Although there is well-established evidence for this association, the underlying mechanistic basis remains incompletely defined. In this Review, we discuss the role of EBV infection as a potentiator of autoimmune rheumatic diseases. We review the EBV life cycle, viral transcription programmes, serological profiles and lytic reactivation. We discuss the epidemiological and mechanistic associations of EBV with systemic lupus erythematosus, Sjögren syndrome, rheumatoid arthritis and multiple sclerosis. We describe the potential mechanisms by which EBV might promote autoimmunity, including EBV nuclear antigen 1-mediated molecular mimicry of human autoantigens; EBV-mediated B cell reprogramming, including EBV nuclear antigen 2-mediated dysregulation of autoimmune susceptibility genes; EBV and host genetic factors, including the potential for autoimmunity-promoting strains of EBV; EBV immune evasion and insufficient host responses to control infection; lytic reactivation; and other mechanisms. Finally, we discuss the therapeutic implications and potential therapeutic approaches to targeting EBV for the treatment of autoimmune disease.