Isoniazid-resistant, rifampicin-susceptible tuberculosis (Hr-TB) globally exhibits a high prevalence and serves as a potential precursor to multidrug-resistant tuberculosis (MDR-TB). Recognizing the spatial distribution of Hr-TB and identifying associated factors can provide strategic entry points for interventions aimed at early detection of Hr-TB and prevention of its progression to MDR-TB. This study aims to analyze spatial patterns and identify socioeconomic, demographic, and healthcare factors associated with Hr-TB in Shanghai at the county level. We conducted a retrospective study utilizing data from TB patients with available Drug Susceptible Test (DST) results in Shanghai from 2010 to 2016. Spatial autocorrelation was explored using Global Moran's I and Getis-Ord statistics. A Bayesian hierarchical model with spatial effects was developed using the INLA package in R software to identify potential factors associated with Hr-TB at the county level. A total of 8,865 TB patients with DST were included in this analysis. Among 758 Hr-TB patients, 622 (82.06%) were new cases without any previous treatment history. The drug-resistant rate of Hr-TB among new TB cases in Shanghai stood at 7.20% (622/8014), while for previously treated cases, the rate was 15.98% (136/851). Hotspot areas of Hr-TB were predominantly situated in southwestern Shanghai. Factors positively associated with Hr-TB included the percentage of older adult individuals (RR = 3.93, 95% Crl:1.93-8.03), the percentage of internal migrants (RR = 1.35, 95% Crl:1.15-1.35), and the number of healthcare institutions per 100 population (RR = 1.17, 95% Crl:1.02-1.34). We observed a spatial heterogeneity of Hr-TB in Shanghai, with hotspots in the Songjiang and Minhang districts. Based on the results of the models, the internal migrant population and older adult individuals in Shanghai may be contributing factors to the emergence of areas with high Hr-TB notification rates. Given these insights, we advocate for targeted interventions, especially in identified high-risk hotspots and high-risk areas.