Written by Gowtham Raj, Director at TartLabs, who leads custom software and modernization engagements for manufacturing, logistics, and enterprise clients.
The Short Answer
AI shortens the understanding part of a legacy modernization substantially (Thoughtworks measured two thirds on one project), and leaves most of the delivery part close to where it was. For a single business-critical application, plan on months, not weeks: a few months for a lift-and-shift or light refactor, and roughly 6 to 12 months for a rewrite with real data migration and a parallel-run period (our planning estimate). Vendor claims of "years to months" describe the best case on well-bounded code, not a typical estate.
Why? Modernization splits into two halves. One is figuring out what the old system does, and AI handles that well. The other covers moving data, testing behaviour, running old and new in parallel, and cutting over. People, sign-offs and risk set the pace there, so AI only helps around the edges.
Key Takeaways
- McKinsey reports 40 to 50 percent faster modernization timelines with generative AI (December 2024), the only whole-programme figure among the sources below.
- Thoughtworks cut reverse-engineering time by two thirds on one 15-million-line European automotive programme that was nine months behind schedule.
- Anthropic says teams can modernize COBOL "in quarters instead of years"; AWS says "years to months." Neither publishes a multiplier you can plan against.
- Gartner predicts more than 70% of mainframe exit projects started in 2026 will fail to deliver intended benefits because GenAI capability is overestimated.
- Cognizant found most senior leaders give themselves about two years for their modernization goals, and expects most to struggle to hit that.
- Code generation is the small piece. Data migration, dual running and cutover are where the calendar goes, per Thoughtworks.
Each figure above is sourced in the sections below. Our own planning ranges are labelled as estimates.
What the Evidence Actually Says About Speed
Four sources dominate the discussion. Each measures something different, so averaging them would mislead.
| Source | Claim | What it measures |
|---|---|---|
| McKinsey (2 December 2024) | 40 to 50 percent acceleration in tech modernization timelines | End-to-end programme timeline |




