PurposeThe purpose of this study is to identify the situation of spatial inequality in the residential system of Tehran city in terms of housing prices in the year 2021 and to examine its changes over time (1991–2021).Design/methodology/approachIn terms of purpose, this study is applied research and has used a descriptive-analytical method. The statistical population of this research is the residential units in Tehran city 2021. The average per square meter of a residential unit in the level of city neighborhoods was entered in the geographical information system (GIS) in 2021. Moran’s spatial autocorrelation method, map cluster analysis (hot and cold spots) and Kriging interpolation have been used for spatial analysis of points. Then, the change in spatial inequality in the residential system of Tehran city has been studied and measured based on the price per square meter of a residential unit for 30 years in the 22 districts of Tehran by using statistical clustering based on distance with standard deviation.FindingsThe result of spatial autocorrelation analysis with a score of 0.873872 and a p-value equal to 0.000000 indicates a cluster distribution of housing prices throughout the city. The results of hot spots show that the highest concentration of hot spots (the highest price) is in the northern part of the city, and the highest concentration of cold spots (the lowest price) is in the southern part of Tehran city. Calculating the area and estimating the quantitative values of data-free points by the use of the Kriging interpolation method indicates that 9.95% of Tehran’s area has a price of less than US$800, 17.68% of it has a price of US$800 to US$1,200, 25.40% has the price of US$1,200 to US$1,600, 17.61% has the price of US$1,600 to US$2,000, 9.54% has the price of US$2,000 to US$2,200, 6.69% has the price of US$2,200 to US$2,600, 5.38% has the price of US$2,600 to US$2,800, 4.59% has the price of US$2,800 to US$3,200 and finally, the 3.16% has a price more than US$3,200. The highest price concentration (above US$3,200) is in five neighborhoods (Zafaranieh, Mahmoudieh, Tajrish, Bagh-Ferdows and Hesar Bou-Ali). The findings from the study of changes in housing prices in the period (1991–2021) indicate that the southern part of Tehran has grown slightly compared to the average range, and the western part of Tehran, which includes the 21st and 22nd regions with much more growth than the average price.Originality/valueThere is massive inequality in housing prices in different areas and neighborhoods of Tehran city in 2021. In the period under study, spatial inequality in the residential system of Tehran intensified. The considerable increase in housing prices in the housing market of Tehran has made this sector a commodity, intensifying the inequality between owners and non-owners. This increase in housing price inequality has caused an increase in the informal living for the population of the southern part. This population is experiencing a living situation that contrasts with the urban plans and policies.