NUDT15 codon 139 genotyping effectively reduces thiopurine-induced AEs and improves treatment retention rates in IBD patients after genotype-based dose adjustments. Here, NUDT15 is linked to inflammatory bowel disease.