To study how investor sentiment at the firm level affects stock returns, we match more than 58 million social media messages in China with listed firms and construct a measure of individual stock sentiment based on the tone of those messages. We document that positive investor sentiment predicts higher stock risk-adjusted returns in the very short term followed by price reversals. This association between stock sentiment and stock returns is not explained by observable stock characteristics, unobservable time-invariant characteristics, market-wide sentiment, overreaction to news, or changing investor attention. Consistent with theories of investor sentiment, we find that the link between sentiment and stock returns is mainly driven by positive sentiment and non-professional investors. Finally, exploiting a unique feature of the Chinese stock market, we are able to isolate the causal effect of sentiment on stock returns from confounding factors.