PurposeThis study aims to explore the effect of urban green space (UGS) on residents' subjective well-being (SWB) among different social groups.Design/methodology/approachUsing national SWB and UGS data obtained from the China Urban Construction Statistical Yearbook and the Chinese General Social Survey, a multiple regression model was developed to estimate the effect of UGS on residents' SWB. Grouping regression for samples from distinct socioeconomic groups was performed to further discuss group-wise differences in SWB.FindingsThe green coverage rate of built-up areas and the number of parks accessed by every 10,000 individuals are significantly positively correlated with residents' SWB, whereas the green space area per capita and greening investment ratio are significantly negatively correlated with residents' SWB; the effect of UGS on residents' SWB varies among individuals with respect to gender, age, and income, with the most significant difference observed among groups with different incomes.Originality/valueThe empirical results of this study are expected to support the planning and construction of UGS by providing a reference for optimizing their service capabilities and highlighting their positive role in improving residents' SWB.