With the Market Reaching Record Highs, Should You Sell Your Stocks? Historical Data Offers a Crystal-Clear Answer.

Source The Motley Fool

Key Points

  • The S&P 500 has set 27 all-time highs this year through Aug. 20.

  • Stocks will eventually see a downturn, which is a natural part of the market cycle.

  • Dollar-cost averaging can help investors stay consistent and avoid the urge to time the market.

  • 10 stocks we like better than S&P 500 Index ›

Since dropping by 19.4% in 2022, the S&P 500 (SNPINDEX: ^GSPC) has been on a tear. It rose 24.2% in 2023, 23.3% in 2024, and 16.4% in 2025, and so far through Aug. 20, it's up 11.6% year to date.

While investors who've been along for the ride surely appreciate the market's performance (based on the S&P 500) over the past few years, some are wondering whether now is a good time to sell, anticipating a pullback, correction, or bear market.

Missed Nvidia in 2009? This Rare Signal Is Flashing Again. In 2009, a "Double Down" signal flashed for a little-known chipmaker called Nvidia. For the first time in years, that same "Total Conviction" signal is flashing for a company 1/100th the size of Nvidia. Continue »

If you're an investor with time on your side, history has one clear answer to what you should do right now: Stay invested.

What is fueling the market's current run?

Much of the market's current run can be traced back to the artificial intelligence (AI) boom we're currently witnessing. Investors have piled money into the major tech companies responsible for many of the AI developments.

On one hand, many of these companies have rewarded investors handsomely as their valuations surge. On the other hand, the S&P 500 is as concentrated as it has ever been. The "Magnificent Seven" stocks -- Nvidia, Apple, Microsoft, Amazon, Alphabet, Meta Platforms, and Tesla -- now account for a third of the index, which isn't ideal for diversification but has worked in the index's favor over the past few years.

Just this year, the S&P 500 has set 27 all-time highs.

Date Record Close
Jan. 7 6,920.93
Jan. 12 6,977.27
Jan. 27 6,978.60
Feb. 25 6,981.45
April 15 7,022.95
April 16 7,041.28
April 17 7,126.06
April 22 7,137.90
April 24 7,165.08
April 27 7,171.91
April 30 7,209.01
May 1 7,230.12
May 5 7,259.22
May 6 7,365.12
May 8 7,398.93
May 11 7,412.84
May 13 7,444.25
May 14 7,501.24
May 26 7,519.12
May 27 7,520.36
May 28 7,563.63
May 29 7,580.06
June 1 7,599.96
June 2 7,609.78
Aug. 4 7,736.52
Aug. 7 7,757.64
Aug. 13 7,798.99

Data source: Google Finance.

Except for the Aug. 13 high, had you sold any of your S&P 500 shares during one of these all-time highs, you would have missed out on eventual gains afterward. Admittedly, it's easy to say this in retrospect, but it shows why it's important to stay invested, even when the market reaches record highs.

The great times won't last forever

It's worth noting that it's a matter of when the market has a downturn, not if. Since 1928 (right before the Great Depression), there have been 27 bear markets, averaging 3.5 years between them. They've been less frequent since 1945, with 15 since then and an average of 5.1 years between them.

The good news is that bull markets usually last a lot longer than bear markets, giving investors time to recover and continue building wealth. The average length of a bear market is 289 days, while the average length of a bull market is 988 days.

That's why it's important to ride out any downturns, because the upside usually outweighs the short-term market drops. According to Ned Davis Research, around 42% of the S&P 500's strongest days in the past 20 years have happened during a bear market. You don't want to abandon your investments and miss potential gains.

Someone looking at a newspaper.

Image source: Getty Images.

Focus on consistency

You should avoid trying to time the market because it often does more harm than good. The market is notoriously irrational, and just because it "should" decline or increase doesn't mean it will. If it were easy to time the market, it would be rare to see Wall Street companies with tons of knowledge and resources underperforming and losing money.

The best thing investors can do is remain consistent through the ups and downs. That's easier said than done, yes, but one strategy that helps is dollar-cost averaging. When you dollar-cost average, you essentially put yourself on an investing schedule that you stick to regardless of what's happening in the market.

For example, if you have $500 you can invest monthly in an S&P 500 ETF, you could choose to invest $125 every Friday, $250 every other Monday, or $500 at the beginning of each month. The frequency should match your financial situation, but what's important is sticking to your schedule.

You'll inevitably invest when the market is rising and falling, but the key is trusting that it'll play out in your favor over time. Nothing is guaranteed in the stock market, but history shows it's one of the best ways to build wealth over time.

Should you buy stock in S&P 500 Index right now?

Before you buy stock in S&P 500 Index, consider this:

The Motley Fool Stock Advisor analyst team just identified what they believe are the 10 best stocks for investors to buy now… and S&P 500 Index wasn’t one of them. The 10 stocks that made the cut could produce monster returns in the coming years.

Consider when Netflix made this list on December 17, 2004... if you invested $1,000 at the time of our recommendation, you’d have $429,223!* Or when Nvidia made this list on April 15, 2005... if you invested $1,000 at the time of our recommendation, you’d have $1,317,883!*

Now, it’s worth noting Stock Advisor’s total average return is 965% — a market-crushing outperformance compared to 212% for the S&P 500. Don't miss the latest top 10 list, available with Stock Advisor, and join an investing community built by individual investors for individual investors.

See the 10 stocks »

*Stock Advisor returns as of August 24, 2026.

Stefon Walters has positions in Apple and Microsoft. The Motley Fool has positions in and recommends Alphabet, Amazon, Apple, Meta Platforms, Microsoft, Nvidia, and Tesla. The Motley Fool has a disclosure policy.

Disclaimer: For information purposes only. Past performance is not indicative of future results.
placeholder
Bitcoin Price Prediction: BTC Breaks $80,000 Mark, What Does It Mean? On August 24, Bitcoin (BTC) prices continued to fluctuate lower, edging up just 0.1% on the day to trade at $77,176. Last Friday (August 21), Bitcoin prices surged toward the $80,000 mark
Author  TradingKey
10 hours ago
On August 24, Bitcoin (BTC) prices continued to fluctuate lower, edging up just 0.1% on the day to trade at $77,176. Last Friday (August 21), Bitcoin prices surged toward the $80,000 mark
placeholder
TradingKey Daily Market Briefing: Gold Tops $4,600, Bitcoin Surges as Market Focuses on Nvidia Earnings and Jackson Hole MeetingTracking Market TrendsTradingKey - On August 21 Eastern Time, the three major U.S. stock indices closed higher across the board, but still recorded losses for the week. After experiencing volatility i
Author  TradingKey
18 hours ago
Tracking Market TrendsTradingKey - On August 21 Eastern Time, the three major U.S. stock indices closed higher across the board, but still recorded losses for the week. After experiencing volatility i
placeholder
Crypto Today: Bitcoin, Ethereum, XRP bulls accelerate rally amid rising ETF inflowsThe cryptocurrency market remains bullish on Friday, led by Bitcoin’s (BTC) surge above $77,000. Altcoins, including Ethereum (ETH) and Ripple (XRP), mirror BTC’s positive outlook, trading near $2,400 and $1.35, respectively.
Author  FXStreet
Aug 21, Fri
The cryptocurrency market remains bullish on Friday, led by Bitcoin’s (BTC) surge above $77,000. Altcoins, including Ethereum (ETH) and Ripple (XRP), mirror BTC’s positive outlook, trading near $2,400 and $1.35, respectively.
placeholder
Ethereum Price Prediction: ETH Breaks $2,300 in Five-Day Streak; How Long Can the Bull Rally Last? Ethereum rallies for five consecutive sessions, targeting $2,800 next.On August 21, Ethereum (ETH) extended its rally, breaking through the $2,300 mark to reach $2,362, hitting its highes
Author  TradingKey
Aug 21, Fri
Ethereum rallies for five consecutive sessions, targeting $2,800 next.On August 21, Ethereum (ETH) extended its rally, breaking through the $2,300 mark to reach $2,362, hitting its highes
placeholder
Bitcoin Price Prediction: Bitcoin Tops $75,000, Will the Price Continue to Rise?As of the Asian session on August 21, Bitcoin (BTC) price briefly surged past $75,000 intraday, reaching a daily high of $75,897.34, with its weekly cumulative gain exceeding 20%, marking
Author  TradingKey
Aug 21, Fri
As of the Asian session on August 21, Bitcoin (BTC) price briefly surged past $75,000 intraday, reaching a daily high of $75,897.34, with its weekly cumulative gain exceeding 20%, marking
goTop
quote