In this paper, we study the potential of stocks as a hedge against inflation for different investment horizons. We show that stocks can be a hedge against inflation even if stock returns are negatively correlated with unexpected inflation shocks, and only moderately positively related to expected inflation. Depending on the investment horizon, the optimal hedge ratio can be either positive or negative. The crucial parameter for the results is the persistence of inflation.