In particular, higher albumin level, metformin, insulin, and sulfonylureas were the independently protective factors, but older age and CCI score≥3 were the independent risk factors for all-cause death in patients with pulmonary TB and type 2 diabetes comorbidity. This evidence concerns the gene INS and pulmonary tuberculosis.