Engineering Practitioner Brief / 18 May 2026

COBOL and Mainframe Debt Cost

COBOL is the extreme case of every legacy-code pattern: the language is older than most engineers, the systems work, the documentation is missing, the maintenance cost is high, the replacement cost is much higher, and the failure modes of replacement attempts are well-documented. This page collects what is publicly known about COBOL and mainframe carrying costs in 2026 and the three modernization patterns.

Three figures that set the context:

  • 200+ billion lines of active COBOL globally (multiple industry estimates, 2017 to 2024)
  • $1 million to $20+ million per year per mainframe in TCO
  • $150 to $300 per hour for senior COBOL contract talent in the US

Where COBOL Still Runs

Industry surveys and reporting place the bulk of active COBOL in five domains: bank back-office processing (especially in the US, Brazil, India, and Japan), insurance claims and policy administration, government benefits and tax systems, airline reservation systems (the GDS layer), and large-retail supply-chain systems. The 2020 surge in US state unemployment claims surfaced the COBOL dependency loudly when several state unemployment systems failed to scale to the load.

The reason these systems survive is consistent across industries: the COBOL programs encode decades of accumulated business rules that exist nowhere else. Account-fee calculations, regulatory reporting logic, claim-adjudication rules, fare-class pricing. The programs are the documentation. Replacing the program requires first reconstructing the documentation, which requires running the program in parallel with the replacement for years to discover the edge cases.


What a Mainframe Actually Costs

IBM zSeries hardware is sold and leased through IBM and partners. Public ranges from analyst reports and customer disclosures put the all-in cost of a mid-sized mainframe deployment at:

ComponentAnnual Cost RangeNotes
Hardware lease / depreciation$200K to $3MPer machine, varies by MIPS and storage
IBM software licensing (MSU-based)$500K to $10Mz/OS, CICS, DB2, IMS, MQ. Often largest line.
Third-party software$200K to $2MBMC, CA, Compuware tooling
Operations staff$400K to $2MSysprogs, ops, batch scheduling
Application developer staff$500K to $5MCOBOL devs, contractors
Hosting, power, cooling$100K to $500KFor on-prem; IBM Cloud option exists
Per-mainframe TCO total$1M to $20M+Wide range, workload-dependent

The software-licensing line typically dominates. IBM's MSU-based pricing (Millions of Service Units) ties software cost to peak workload. Customers run workload-management tooling specifically to flatten peaks and reduce the licensing line. Tailored Fit Pricing, IBM's 2019 pricing model that allows consumption-based licensing in some scenarios, reduced the peak-driven cost for some workloads but did not eliminate the underlying expense.


The Three Modernization Patterns

Re-host (Lift and Shift)

The cheapest and lowest-risk option. The COBOL code runs unchanged inside an emulator on Linux or Windows. Micro Focus (now part of OpenText) Enterprise Server and Heirloom Computing's Heirloom Platform are the dominant commercial offerings; AWS Mainframe Modernization offers a managed runtime based on Micro Focus and Blu Age technology.

The benefit: the mainframe goes away (or shrinks dramatically), the IBM licensing line drops, and the target environment is cloud-native. The drawback: the same COBOL code is still being maintained, just on different hardware. Technical debt is not paid down. Cost reference: $5M to $50M for a full re-host of a mid-sized mainframe portfolio, with breakeven against mainframe TCO typically in 2 to 4 years.

Re-platform (Automated Transpilation)

COBOL is automatically translated to Java or C# using commercial transpilers (Heirloom, Asysco, Modern Systems, AWS Blu Age). The output is functionally equivalent Java or C# code that maintains the original program structure and business logic. The code is more verbose than hand-written Java but is maintainable by engineers without COBOL experience.

The benefit: the talent constraint dissolves over time as the codebase becomes accessible to general Java or C# developers. The drawback: the transpiled code still reflects the original COBOL design decisions and does not get the structural improvements that a re-write would provide. Cost reference: $20M to $200M for a full re-platform of a mid-sized portfolio, with timelines of 3 to 6 years.

Re-write (Greenfield in a Modern Stack)

The most expensive and highest-risk option. A new system is built in a modern stack (Java microservices, Kotlin, Go, sometimes Rust for the high-throughput core) with a parallel-run period against the old mainframe to discover edge cases. Most large re-writes are multi-year projects with phased cutovers.

The published case histories that succeed (Commonwealth Bank of Australia's core-banking modernization in 2008, ING's long-running modernization in the Netherlands, several US insurance carriers' partial re-writes) all required 5+ years and budgets in the hundreds of millions to over a billion. The case histories that fail (multiple US state benefits-system rebuilds, several large bank attempts) typically failed at the parallel-run phase when the new system could not match the old system's behaviour for the edge cases. Cost reference: $50M to $1B+, with timelines of 5 to 10 years. See big-bang rewrite cost for the general arithmetic on this pattern.


The Talent Pool Trajectory

COBOL developer demographics are the loudest signal in any mainframe-modernization conversation. The median age of working COBOL developers was reported at around 55 in multiple 2017-2020 industry surveys (Micro Focus, Vanson Bourne, Reuters). Retirements outpace new entrants by a wide margin. New computer science graduates with COBOL exposure are rare.

The market response has been threefold. Contract rates for senior COBOL developers have roughly doubled since 2015. Several large institutions have established their own COBOL training programs (the IBM Z Skills Initiative, several bank-sponsored apprenticeships). Many shops have moved COBOL maintenance to offshore firms in India and the Philippines where the supply is healthier.

The compounding effect on tech-debt arithmetic: as the talent pool shrinks, the cost of maintenance rises and the difficulty of recruiting a modernization team also rises. Both sides of the cost-benefit balance move in the same direction.


A Practical Decision Framework

For an organization considering mainframe modernization in 2026, a few heuristics from the public case histories:

Related Reading


Frequently Asked Questions

Is COBOL really still running in 2026?

Yes, at very large scale. Industry estimates (Reuters 2017 reporting on a Cobol estimate from Phil Murphy at Forrester, more recent IBM and Micro Focus reports) put the active COBOL codebase at over 200 billion lines worldwide. Most US bank back-office processing, large parts of US Social Security and IRS systems, and many insurance back-offices still depend on COBOL programs originally written in the 1970s and 1980s.

Why have these systems not been replaced?

Three reasons: the systems work and outages are rare, the business rules encoded in COBOL are large and incompletely documented elsewhere, and the replacement risk is concentrated. A failed modernization can become a multi-year delay (the UK's Universal Credit and several US state unemployment-system rebuilds during 2020) which raises the bar for attempting one.

What does a mainframe cost to run?

IBM zSeries TCO is usually quoted at $1 million to $20+ million per year per mainframe depending on workload size, MIPS consumption, software licensing (which is usage-based), storage, and the IBM software stack (CICS, DB2 for z/OS, IMS, MQ). For the largest US financial institutions, total mainframe spend often exceeds $1 billion per year across the portfolio. Compute is rarely the largest line; software licensing typically is.

What are the modernization options?

Three patterns, each with different cost. Re-host (lift COBOL to a Linux VM with Micro Focus or Heirloom Computing emulation) is the cheapest and lowest-risk. Re-platform (migrate COBOL to Java or C# via automated transpilers like Heirloom's, AWS Mainframe Modernization, or Modern Systems) is mid-cost. Re-write (greenfield in a modern stack) is highest cost and highest risk.

How expensive is the talent pool?

COBOL contractor rates have roughly doubled since 2015. Senior COBOL developers in the US command $150 to $300 per hour in 2026 versus $80 to $150 in 2015. Permanent COBOL roles routinely require 3 to 6 months to fill. Many positions are now staffed by overseas firms (India, Philippines) or by retirees pulled back on contract.

Are zSeries mainframes themselves going away?

Not in the short term. IBM continues to ship new z-series hardware (z16 announced 2022, z17 due 2025) and to invest in z/OS. The platform is genuinely engineered for the workloads it serves (extreme transaction throughput, hot patching, hardware-level encryption). The question is not whether the platform is dying but whether new workloads should land on it; the answer has been no for over a decade for most organizations.

Updated 2026-04-27