BACKGROUND & AIMS: Gaps remain in understanding the epidemiology of eosinophilic esophagitis (EoE). Our aim was to identify and validate a national cohort of individuals with EoE using Veterans Health Administration (VHA) data. METHODS: We used 2 validation strategies to develop algorithms that identified adults with EoE between 1999 and 2020. The first validation strategy applied International Classification of Diseases (ICD) code algorithms to a base cohort of individuals who underwent esophagogastroduodenoscopy with esophageal biopsy specimens. The second applied ICD code algorithms to a base cohort of all individuals in the VHA. For each ICD algorithm applied, a random sample of candidate EoE cases and non-EoE controls were selected and the charts were reviewed manually by a blinded reviewer. Each algorithm was modified iteratively until the prespecified diagnostic accuracy end point (95% confidence lower bound for a positive predictive value [PPV], >88%) was achieved. We compiled individuals from each strategys maximum performance algorithm to construct the Veterans Affairs Eosinophilic Esophagitis Cohort. RESULTS: The maximum performance algorithm from the first validation strategy included 2 or more ICD code encounters for EoE separated by more than 30 days and achieved a 93.3% PPV (lower bound, 88.1%) for identifying true EoE cases. The maximum performance algorithm from the second validation strategy included 4 or more ICD code encounters for EoE in which 2 codes were separated by at least 30 days, and similarly achieved a 93.3% PPV (lower bound, 88.1%). Combining both strategies yielded 6637 individuals, which comprised the Veterans Affairs Eosinophilic Esophagitis Cohort. CONCLUSIONS: We developed and validated 2 highly accurate coding algorithms for EoE and established a nationwide VHA cohort of adults with EoE for future studies.