Rising recession fears pushed U.S. stocks briefly into a bear market on Friday with the S&P 500's decline from its all-time high in January reaching 20% at one point. A dramatic late-day reversal pushed the benchmark slightly into the green for the day at the closing bell.

The S&P 500 finished 0.01% higher to 3,901.36 on Friday after falling as much as 2.3% earlier in the session. At the day's lows, the S&P 500 was 20.9% below its intraday high in January. The index closed about 19% below its record.