Limited resident's participation in the stock market has become a key constraint to the capital market development. Utilizing the 2019 China Household Financial Survey (CHFS) data, our paper designs probit models to examine the peer effects of residents' stock market participation and explore the intermediary mechanisms with a multiple intermediary model. We find that: (1) Resident involvement in stock market decision-making exhibits significant peer effects. (2) Heterogeneity analysis reveals that males and rural residents display more pronounced peer effects than females and urban residents. Additionally, middle-aged residents demonstrate more potent peer effects than their younger and older counterparts, with the intensity of peer effects correlating with education levels. (3)We observe that the peer effects of market participation operate by altering economic expectations and enhancing residents' financial literacy. (4) Further investigation establishes that individuals engaging in stock market investments manifest peer effects when deciding whether to diversify their stock portfolio. This study holds reference value for analyzing the impact of social interaction on financial behaviors and regulating individuals' financial conduct.