This study aimed to analyze the factors associated with likely TB deaths, likely TB-related deaths and deaths from other causes. Understanding the factors associated with mortality could help the strategy to End TB, especially the goal of reducing TB deaths by 95% between 2015 and 2035. Methods A retrospective, population-based cohort study of the causes of death was performed using a competing risk model in patients receiving treatment for TB. Patients had started TB treatment in Brazil 2008-2013 with any death certificates dated in the same period. We used three categories of deaths, according to ICD-10 codes: i) probable TB deaths; ii) TB-related deaths; iii) deaths from other causes. Results In this cohort, 39,997 individuals (14.1%) died, out of a total of 283,508 individuals. Of these, 8,936 were probable TB deaths (22.4%) and 3,365 TB-related deaths (8.4%), illustrating high mortality rates. 27,696 deaths (69.2%) were from other causes. From our analysis, factors strongly associated with probable TB deaths were male gender (sHR = 1.33, 95% CI: