As COBOL Programmers Retire, AI Gets the Keys to the Mainframe
A 1959 language still moves the world's money while its programmers retire. OpenAI and Anthropic claim AI can help — experts urge caution.

In February, a company published a single blog post. It contained no new product, no stage demo, no glossy benchmarks — just a broad-strokes sketch of how enterprises might use Claude Code to break down old code. The result: within a week, IBM lost more than $30 billion in market value, and its stock plunged more than 13 percent in a single day, the deepest one-day drop the century-old giant has suffered in decades. One 67-year-old word — COBOL — was enough to rattle America's oldest tech company.
The reaction makes sense once you understand what this language actually is. COBOL, short for Common Business-Oriented Language, was designed in 1959 around a single obsession: it had to be readable by ordinary humans, not just machines. Generations of financial and government systems were then built on top of it — banking, insurance, tax, social security — and left to run for decades because rewriting them felt far scarier than maintaining them. The 2020 pandemic exposed how brittle that inheritance had become: when millions of Americans filed unemployment claims at once, state systems buckled, and COBOL took the blame — though the real problem was never the language itself, but decades of underfunded maintenance.
Then there is the problem no compiler can fix: the people. As The Verge's new report lays out this week, the average COBOL programmer is now said to be around 55 years old, and replacements aren't being minted on any campus. The knowledge of why a particular line of code was written a particular way forty years ago doesn't live in any documentation; it lives in the heads of people who will be collecting retirement checks soon. That is the real COBOL crisis: not a dying language, but a slowly vanishing community of caretakers.
That gap is exactly where the AI sellers have piled in. Anthropic's February post framed Claude Code as a way to break the cost barrier of COBOL modernization; as The Stack noted, the post contained no technology announcement at all, just broad capability claims without a single case study — and the market still responded by erasing $30 billion from IBM's valuation. Oracle fell 4.5 percent and Microsoft 3.2 percent the same day, while several analysts rushed to point out that the market had it wrong: mainframes and the work of maintaining them aren't shifting overnight.
This week it was OpenAI's turn to show its homework. As reported by Robert Hart at The Verge, the company showcased its latest models helping migrate COBOL code into modern programming languages, reporting translation accuracy of 87 to 98 percent; The New Stack noted that an internal test of GPT-6.1 Sol reportedly hit 86.6 percent accuracy at low reasoning effort and 97.9 percent at higher effort. OpenAI also claimed progress in building database software, including in COBOL. Anthropic, for its part, published a code modernization playbook in February and has pitched its Claude Code agent for moving COBOL into Java or Python — though the company did not provide comment in time for The Verge's report.
Those numbers are impressive right up until you ask: accurate at what, exactly? Vadim Zaytsev, an associate professor of software evolution, delivered the sharpest caution in the report. AI, he said, is not playing a major role at the moment in replacing or migrating legacy COBOL systems — and, more pointedly, rewriting code is not the same as replacing a system. Model evaluations, he noted, don't touch the core difficulty of this work: breaking a complex legacy system into individually replaceable units without collapsing everything around it.
A practitioner quoted by The Stack put the problem even more bluntly: anyone who has actually done this work knows the code is the straightforward part. The hard part is everything around it — undocumented business rules quietly living inside decades-old routines, months of parallel testing, regulators demanding audit trails, and the reality that one misplaced comma can leave a customer's balance off. A legacy system isn't just a program; it's an archive of sixty years of organizational decisions that were never written down anywhere.
That's why the most plausible scenario isn't overnight reincarnation. AI will more likely be used for the work that always preceded a rewrite: dissecting millions of lines, documenting what they do, generating test suites, flagging anomalies — the unglamorous labor that made modernization so expensive that banks simply chose not to attempt it. That's where the cost-barrier promises from Anthropic and OpenAI find their most honest footing: not replacing systems overnight, but accelerating understanding of systems that must keep running for years anyway.
What's certain is that the clock won't slow down. Every year, more COBOL programmers leave the workforce than enter it, and no university is rushing to fill the gap. As long as an ATM calculates your balance down to the penny, someone — or, increasingly, something — still has to understand a language born a decade before humans landed on the moon.
References
- The Verge — Can AI help solve the COBOL code crisis?
- The Stack — Anthropic: We can kill Cobol. IBM: You don't get mainframes
- Yahoo Finance — AI panic reels in America's oldest tech giant
- The Verge (2020) — The problem with COBOL



