IBM shares suffered their most catastrophic single-day decline in over two decades on Tuesday, plummeting 13% as the market reacted to a seismic shift in the enterprise software landscape. The catalyst was not a missed earnings report or a macroeconomic shock, but a product launch from AI rival Anthropic: Claude Code. This new AI tool, capable of autonomously analyzing and modernizing legacy COBOL systems, has effectively breached one of the technology sector’s most enduring competitive moats, triggering a massive “AI scare trade” across legacy tech stocks.

The 13% Drop: A Historic Sell-Off

By the closing bell on February 24, 2026, IBM’s stock had shed over $30 billion in market capitalization, closing near $223. This marks the company’s steepest percentage drop since the height of the dot-com collapse in October 2000. For years, IBM has been viewed as a safe harbor in the volatile tech market, buoyed by the steady, high-margin cash flows from its mainframe business and consulting arm. However, investors are now pricing in a future where that safety net is shredded by generative AI.

The panic wasn’t confined to IBM. Shares of IT consulting giants like Accenture and Cognizant—which also generate significant revenue from maintaining and updating legacy systems—slumped in sympathy. The market’s message was clear: if AI can perform the complex, labor-intensive work of understanding decades-old code in minutes, the traditional consulting business model faces an existential crisis.

Claude Code: The 'Consultant Killer'

At the center of the storm is Anthropic’s newly unveiled Claude Code. While LLMs have long been able to generate Python or Javascript, Claude Code targets the unglamorous backbone of the global economy: COBOL (Common Business-Oriented Language). Anthropic’s demonstration showed the tool mapping dependencies, identifying logic flows, and documenting risks in massive, undocumented COBOL codebases—tasks that typically require teams of human experts months to complete.

“Modernizing a COBOL system once required armies of consultants spending years mapping workflows,” Anthropic noted in its release. “Claude Code automates the exploration and analysis phases that consume most of the effort.” The company claims its tool can compress modernization timelines from years to mere quarters, effectively commoditizing the specialized knowledge that IBM has sold at a premium for decades.

Why the COBOL 'Moat' Matters

To understand the panic, you have to understand the stakes. Despite being over 60 years old, COBOL is the invisible engine of modern finance. It handles an estimated 95% of all ATM transactions in the United States and powers the core banking systems of major financial institutions. For half a century, the extreme difficulty of migrating away from these fragile, complex systems created a lucrative “lock-in” for IBM.

Until yesterday, the prevailing wisdom was that rewriting these systems was too risky and expensive. Banks preferred to pay IBM billions to keep the lights on. Claude Code challenges that assumption by offering a low-risk, automated path to modernization. If banks can now safely migrate their core ledgers to modern cloud architectures without IBM’s expensive help, the mainframe’s golden era may officially be over.

The AI Scare Trade Widens

This sell-off represents a new phase in the market’s relationship with artificial intelligence: the AI Scare Trade. Previously, investors focused on who would win from AI (buying NVIDIA, Microsoft). Now, they are aggressively selling companies that stand to lose. The narrative has shifted from "AI will improve productivity" to "AI will replace revenue streams."

Analysts are already drawing comparisons to the disruption of cybersecurity stocks earlier this month, when similar AI automated defense tools caused a sell-off in firms like CrowdStrike. The fear is that any sector relying on "knowledge friction"—where value is derived from solving complex but repetitive intellectual problems—is now vulnerable to rapid deflation.

Can IBM Pivot in Time?

IBM is not standing still. The company has its own enterprise AI platform, watsonx, and has been integrating generative AI into its mainframe offerings. CEO Arvind Krishna has previously argued that AI would accelerate, not replace, IBM’s consulting work. However, the speed and fidelity of Anthropic’s solution suggest the disruption may happen faster than incumbents anticipated.

For now, the market is voting with its feet. The 13% plunge serves as a stark warning to the entire legacy tech sector: in the age of autonomous coding agents, no moat is deep enough to ignore the rising tide of AI.