Through a series of genetic association analyses, we identified eight significantly shared genes (MAPK14, POLR1A, IL6R, SULT1A2, TUFM, ERAP1, ALDH5A1, and CLN3) that are associated with both IBD and AS. Here, ERAP1 is linked to inflammatory bowel disease.