The Dow Jones Industrial Average, S&P 500, and Nasdaq Composite have demonstrated a knack for climbing Wall Street's proverbial wall of worry over the long term.
Outsize risk-taking by investors has reached a level observed only a handful of times over the last three decades.
Historical precedent is a pendulum that swings in both directions and undeniably favors optimistic investors.
For more than a century, the stock market has demonstrated a knack for climbing the proverbial wall of worry. Despite a laundry list of headwinds, including recessions, depressions, wars, historically pricey valuations, and high inflation, the iconic Dow Jones Industrial Average (DJINDICES: ^DJI), broad-based S&P 500 (SNPINDEX: ^GSPC), and technology-inspired Nasdaq Composite (NASDAQINDEX: ^IXIC) have all motored to new highs.
But when the lens is narrowed to a shorter time frame, say a few years, the outlook for equities becomes far murkier.
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 »
Just as history shows that patience is handsomely rewarded on Wall Street, it can serve as a warning over shorter timelines when one or more red flags crop up. Right now, we're witnessing the stock market do something that's only occurred four times over the last roughly three decades -- and the previous three instances all ended poorly for Wall Street and investors.
Image source: Getty Images.
The easiest drum to beat on Wall Street at the moment is stock valuations. In early June, the S&P 500's Shiller Price-to-Earnings Ratio reached 42.84, marking the second-priciest valuation when backtested to January 1871. However, premium valuations may not be the stock market's most immediate red flag.
Based on what history tells us, outstanding margin debt is the single most worrisome metric for investors.
Margin represents the money an investor borrows from their broker to short-sell (wager against) or purchase securities. Investors pay interest on the capital they borrow from their broker, which can vary based on prevailing interest rates and the availability of a security (e.g., hard-to-borrow securities when short-selling often have higher loan rates).
When margin is used to purchase securities, it's effectively a form of leverage -- and we recently saw what leverage can do to a portfolio, courtesy of Leopold Aschenbrenner's artificial intelligence (AI)-focused hedge fund, Situational Awareness.
Over multiple decades, outstanding margin debt, as reported monthly by FINRA, has steadily climbed. This is to be expected as the total value of public companies rises over time.
Total Margin Debt hits $1.5 Trillion, a new all-time high 🤯 👀 pic.twitter.com/1IXqZGgrqs
-- Barchart (@Barchart) July 20, 2026
But in those rarer instances when outstanding margin debt goes parabolic over a shorter timeline, it's consistently proven disastrous for the stock market. Since 1997, there have been four instances in which outstanding margin debt has risen by at least 65% over a short time frame, and the end result for stocks has been downright ugly:
While it's clear that investors are excited about the AI data center build-out, a rapid rise in borrowed capital to lever investment portfolios has never ended well.
Although FINRA's outstanding margin debt data can't pinpoint when the music will stop or what catalyst may be responsible for sending Wall Street over the proverbial edge, history is, thus far, undefeated in foreshadowing a significant pullback when risk-taking rapidly rises.
Image source: Getty Images.
But there is a caveat to the above data that I touched on earlier. Namely, history acts as a pendulum that swings in both directions.
On the one hand, stock market corrections, bear markets, and even crashes are normal, healthy, and inevitable. Since these events are often driven by emotions, no amount of fiscal or monetary policy maneuvering can prevent them from occurring. The outsize risk-taking evidenced by rapidly rising margin debt may very well lead to a sharp move lower in the stock market.
But just because stock market cycles are inevitable, it doesn't mean uptrends and downtrends are mirror images of each other.
Recently, analysts at Bespoke Investment Group published a data set on social media platform X (formerly Twitter) that calculated and compared the length of every S&P 500 bull and bear market since the start of the Great Depression in September 1929.
The current bull market that began on 10/12/22 is now the 9th longest in S&P 500 history, surpassing the 1,324-day bull that ended on 2/9/1966: pic.twitter.com/4mGsS2t2ft
-- Bespoke (@bespokeinvest) May 30, 2026
The average of 27 S&P 500 bear markets has lasted just 286 calendar days (about 9.5 months) over the last 97 years. Furthermore, only nine bear markets reached the one-year mark (365 calendar days), and none have surpassed 630 calendar days.
At the other end of the spectrum, the typical S&P 500 bull market has endured for 1,023 calendar days through the end of May 2026, which is approximately 3.6 times longer than the average bear market. In total, 10 bull markets have lasted at least 1,324 calendar days, with just over half (14) of all bull markets persisting longer than the lengthiest bear market.
While stock market corrections, bear markets, and crashes often tug at investors' heartstrings, history conclusively shows that these events are short-lived and usually the opportune time for long-term-minded investors to pounce.
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 $399,724!* 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,374,595!*
Now, it’s worth noting Stock Advisor’s total average return is 967% — a market-crushing outperformance compared to 215% 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 9, 2026.
Sean Williams has no position in any of the stocks mentioned. The Motley Fool has no position in any of the stocks mentioned. The Motley Fool has a disclosure policy.