The objectives of this study were to analyse spatiotemporal patterns of reported typhoid cases between 2005 and 2009 and to model the spatial relationship of demographic and socioeconomic factors associated with the occurrence of typhoid in Dhaka. The lowest level census units were used as the scale of analysis. Data in relation to typhoid was collected from 11 major hospitals by scanning individual medical reports, while demographic and socioeconomic variables were encoded in GIS from the population censuses of 2001 and 2011. Global (Moran’s I) and local models (G i *) were used to test how census districts were dispersed or clustered over space. The spatial relationships were modelled through ordinary least square (OLS) and geographically weighted regression (GWR) techniques. Spatial pattern analysis as measured by Moran’s I demonstrated that the distribution of the affected communities with typhoid was spatially autocorrelated across the study period, 2005–2009. Hotspot analysis using local G i * indicated large variation in the locations and sizes of clusters. The demographic model outperformed the socioeconomic and demographic + socioeconomic models in predicting the occurrence of typhoid in the study area. The results of this study are of great aid to identify spatial risk factors, essential to develop the control and prevention measures to specific areas.