Our study shows for the first time that SNP and CNV in IL23R were associated with susceptibility, drug resistance and cavity formation of pulmonary TB. The gene discussed is IL23R; the disease is pulmonary tuberculosis.