OBJECTIVE: To analyze the spatial distribution of Tuberculosis cases with Mental Disorders, identifying factors that determine its occurrence. METHOD: Ecological study, conducted in the municipalities of São Paulo State. Secondary data were used, with the incidence of Tuberculosis and Mental Disorders as dependent variables in the years 2012 to 2015 and independent variables, socioeconomic, health and income transfer data. The Geographically Weighted Regression was applied in this study. RESULTS: It was observed a distinct distribution between cases of Tuberculosis and Mental Disorders in the municipalities of São Paulo State. Among the explanatory factors, the Primary Care Coverage, population of freedom and income inequality were spatially associated with Mental Illness (R2= 0.12); Alcoholism (R2= 0.12) Illicit Drugs (R2= 0.50) and Smoking (R2= 0.50). CONCLUSION / FINAL CONSIDERATIONS: The study advances in knowledge by evidencing the spatial distribution of cases of Tuberculosis and Mental Disorders, evidencing the determining factors for its occurrence in São Paulo State.