The Dow Jones Industrial Average, S&P 500, and Nasdaq Composite have rocketed to record highs on the heels of the artificial intelligence (AI) infrastructure build-out.
Although bubbles are common with game-changing tech innovations, an even bigger bubble, clocking in at $1.5 trillion, threatens to upend the stock market.
Since 1998, margin debt has soared this quickly on just a handful of occasions, and it’s always ended in disaster for Wall Street.
Earlier this month, Wall Street's bull market celebrated its fourth anniversary. The artificial intelligence (AI) infrastructure build-out has been instrumental in lifting the Dow Jones Industrial Average (DJINDICES:^DJI), S&P 500 (SNPINDEX:^GSPC), and Nasdaq Composite (NASDAQINDEX:^IXIC) to several record highs in 2026.
From a historical standpoint, game-changing technological innovations, while moneymakers over the long term, don't have the best track record early on. Every major tech innovation since (and including) the advent of the internet in the mid-1990s has navigated an eventual bubble-bursting event.
Missed AI’s "Act 1"? Act 2 Could Be 15x Bigger. Most investors think they missed the AI boat because they didn't buy Nvidia in 2005. But according to our analysts, we’re only at the end of "Act 1"—the R&D phase. "Act 2" is the global rollout. Continue »
However, a potential AI bubble may not be Wall Street's biggest worry. There's another far bigger bubble that appears ready to burst, and it foreshadows significant downside for stocks if it happens.
Image source: Getty Images.
Though the Dow, S&P 500, and Nasdaq Composite have, thus far, successfully climbed the wall of worry, Wall Street's risk-taking bubble may be on the verge of popping. I'm talking about outstanding margin debt.
Margin represents money investors have borrowed from their broker, with interest, to short-sell (wager against) or purchase securities. When margin is used to buy stocks or exchange-traded funds, it acts as leverage.
If a security moves in the desired direction, using margin can magnify an investor's gains. However, if a security moves in the opposite direction to what's desired, margin can quickly amplify losses. This dynamic is what makes using margin so risky. It also explains why outstanding margin debt represents a crude measure of investors' willingness to take risks.
In June, outstanding margin debt, as reported by FINRA, reached an all-time high of $1.502 trillion. Though it dipped to $1.417 trillion the following month, margin debt jumped back to $1.48 trillion in September.
Total Margin Debt hits $1.5 Trillion, a new all-time high 🤯 👀 https://t.co/1IXqZGgrqs
— Barchart (@Barchart) July 20, 2026
Outstanding margin debt rising over multiple decades is perfectly normal. But when it goes parabolic over a short time frame, history consistently shows that things break on Wall Street.
Since 1998, there have been four instances, including the present, in which margin debt has soared by at least 65% over a relatively short time frame, and the previous three occurrences were all followed by mammoth stock market declines:
Although margin debt could surpass the $1.502 trillion record high set in June 2026, the data we're seeing now is historically consistent with the tail end of a bubble that's readying to burst.
If investors begin paring back their wagers on a historically pricey AI-driven stock market, it likely wouldn't take much to push equities over the edge.
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 $370,440!* 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,330,110!*
Now, it’s worth noting Stock Advisor’s total average return is 924% — 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 October 22, 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.