Purpose: The purpose of this study is to investigate the effect of investors' sentiments on the social responsibility performance of companies listed on the Tehran Stock Exchange. Therefore, it tries to examine and evaluate how companies react to these sentiments and decide on the level of social responsibility resulting from companies' private information. Methodology: For this purpose, data related to 120 companies listed on the Tehran Stock Exchange during the period 2009 to 2020 were extracted and the combined data regression model was used to test the research hypotheses. Results: The results show that investors' sentiments based on stock turnover and stock spending have a significant effect on the company's social responsibility activities. According to the research results, it can be stated that the impact of social responsibility activities on the company's performance has been confirmed. Also, the results show that corporate valuation constraints do not have a significant effect on the relationship between investor sentiment and corporate social responsibility activities. Finally, the interactive effect of investors' horizons and investors' sentiments on the company's social responsibility activities is confirmed in terms of stock turnover, but is rejected in terms of stock spending. Conclusion: The results of this study indicate that social responsibility activities lead to an impact on stock markets. In other words, after high emotional periods, socially responsible companies get lower returns. Therefore, as an important corporate strategy, disclosure of social responsibility is affected by the investor’, s sentiments. Contribution: Changes in investors’,sentiment led to the identification of risks and opportunities associated with changes in corporate behavioral factors and provide the conditions for improving social responsibility activities.