In conclusion, variations in ERAP1 and ERAP2 genes were identified to be associated with TB in the Han Chinese population. Here, ERAP2 is linked to tuberculosis.