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

Source 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
Prominent Bitcoin Miner Bets on Ethereum, Predicts ETH Will Beat BTC This CycleJiang Zhuoer, founder of the Chinese mining pool BTC.TOP and one of the country’s most recognized crypto figures reversed a strongly bearish stance on the market.He now plans to move his remaining cap
Author  Beincrypto
13 hours ago
Jiang Zhuoer, founder of the Chinese mining pool BTC.TOP and one of the country’s most recognized crypto figures reversed a strongly bearish stance on the market.He now plans to move his remaining cap
placeholder
Japan Borrowing Costs Reach 1996 Highs: Will the Weak Yen Hurt Bitcoin?Japan’s 10-year government bond yield (JP10Y) touched 2.945%, its highest level since September 1996. The yen has since slipped back toward 159 per dollar, undoing almost half of this month’s rescue r
Author  Beincrypto
13 hours ago
Japan’s 10-year government bond yield (JP10Y) touched 2.945%, its highest level since September 1996. The yen has since slipped back toward 159 per dollar, undoing almost half of this month’s rescue r
placeholder
400% Strait Traffic Surge Eases Supply Fears, Will Oil Break Lower Monday?Ship traffic through the Strait of Hormuz jumped almost 400% in two weeks. The report landed on Saturday, with oil markets shut. Monday is the first chance traders get to price it.On the surface, that
Author  Beincrypto
13 hours ago
Ship traffic through the Strait of Hormuz jumped almost 400% in two weeks. The report landed on Saturday, with oil markets shut. Monday is the first chance traders get to price it.On the surface, that
placeholder
Alibaba Launches Record $10 Billion Share Sale to Enter the AI RaceAlibaba Group Holding (BABA) seeks to raise about $10 billion in a share sale.The Chinese e-commerce and cloud computing giant said it will channel 100% of net proceeds into full-stack AI capabilities
Author  Beincrypto
13 hours ago
Alibaba Group Holding (BABA) seeks to raise about $10 billion in a share sale.The Chinese e-commerce and cloud computing giant said it will channel 100% of net proceeds into full-stack AI capabilities
placeholder
Weekly Market Wrap: Rising yields hit stocks as oil and gold extend their rallyRising bond yields pressured global stocks this week, while oil and gold extended their rallies. Catch up on the key market moves, what drove investor sentiment and the major risks traders should watch in the week ahead.
Author  Mark Garro
12 hours ago
Rising bond yields pressured global stocks this week, while oil and gold extended their rallies. Catch up on the key market moves, what drove investor sentiment and the major risks traders should watch in the week ahead.
goTop
quote