That being said, a great time to invest in an index like the S&P 500 is during a bear market. If stock prices have been falling for 6 months or more, and there is a lot of pessimism in the air, it might be a good time to invest some extra money into index funds.