摘要:Human Immunodeficiency Virus (HIV) infection still represents an important public health problem, because it involves clinical, epidemiological, social, economic and political issues. We analyzed the temporal and spatial pattern of the HIV incidence in an area of social inequality in northeast Brazil and its association with socioeconomic indicators. An ecological study was carried out with a focus on all HIV cases reported in Alagoas State, Northeast Brazil from 2007 to 2016 using its 102 municipalities as the units of our analysis. Data from the Brazilian information systems were used. Georeferenced data were analyzed using TerraView 4.2.2 software, QGis 2.18.2 and GeoDa 1.14.0. Time trend analyses were performed by the Joinpoint Regression software and the spatial analyses included the empirical Bayesian model and Moran autocorrelation. Spatial regression was used to determine the influence of space on HIV incidence rate and socioeconomic inequalities. There was an increasing trend of HIV rates, especially in the municipalities of the interior. Significant spatial correlations were observed with the formation of clusters with emphasis on the coast of the state and in tourist regions. Spatial regression explained 46% of the dependent variable. The HIV incidence rate was positively influenced by rate of primary health care units (p=0.00), and negatively by Gini index (p = 0.00) and proportion of heads of household without or low education (p=0.02). We conclude that the relationship found between indicators of better socioeconomic conditions and HIV infection suggests unequal access to the diagnosis of infection. Prevention and control strategies can be established according to each epidemiological reality.