Background: Converging evidence suggests that immune-mediated dysfunction plays an important role in the pathogenesis of frontotemporal dementia (FTD). Although genetic studies have shown that immune-associated loci are associated with increased FTD risk, a systematic investigation of genetic overlap between immune-mediated diseases and the spectrum of FTD-related disorders has not been performed. Methods and findings: Using large genome-wide association studies (GWAS) (total n = 192,886 cases and controls) and recently developed tools to quantify genetic overlap/pleiotropy, we systematically identified single nucleotide polymorphisms (SNPs) jointly associated with 'FTD-related disorders' namely FTD, corticobasal degeneration (CBD), progressive supranuclear palsy (PSP), and amyotrophic lateral sclerosis (ALS) - and one or more immune-mediated diseases including Crohn's disease (CD), ulcerative colitis (UC), rheumatoid arthritis (RA), type 1 diabetes (T1D), celiac disease (CeD), and psoriasis (PSOR). We found up to 270-fold genetic enrichment between FTD and RA and comparable enrichment between FTD and UC, T1D, and CeD. In contrast, we found only modest genetic enrichment between any of the immune-mediated diseases and CBD, PSP or ALS. At a conjunction false discovery rate (FDR) < 0.05, we identified numerous FTD-immune pleiotropic SNPs within the human leukocyte antigen (HLA) region on chromosome 6. By leveraging the immune diseases, we also found novel FTD susceptibility loci within LRRK2 (Leucine Rich Repeat Kinase 2), TBKBP1 (TANK-binding kinase 1 Binding Protein 1), and PGBD5 (PiggyBac Transposable Element Derived 5). Functionally, we found that expression of FTD-immune pleiotropic genes (particularly within the HLA region) is altered in postmortem brain tissue from patients with frontotemporal dementia and is enriched in microglia compared to other central nervous system (CNS) cell types. Conclusions: We show considerable immune-mediated genetic enrichment specifically in FTD, particularly within the HLA region. Our genetic results suggest that for a subset of patients, immune dysfunction may contribute to risk for FTD. These findings have potential implications for clinical trials targeting immune dysfunction in patients with FTD.