
Modernizing one legacy business application in the USA typically costs $25,000 to $150,000 to rehost, $80,000 to $300,000 to replatform, $150,000 to $600,000 to refactor, and $300,000 to $1.5 million or more to rebuild. Those take roughly 1 to 4 months, 3 to 6 months, 6 to 12 months and 12 to 24 months or more. The cheapest path that fixes your real problem usually wins, and part of the work is deciding which systems you should leave alone.
Some deadlines have stopped being theoretical. Extended support for SQL Server 2016 ended on July 14, 2026. .NET 8 and .NET 9 lost support on November 10. Windows Server 2016 and .NET Framework 4.6.2 follow on January 12, 2027. Software keeps running after support ends, but it stops getting security fixes, and your customers' security questionnaires will notice.
This guide is for the person who has to decide what to do about an aging system: an owner, a COO, a CTO who inherited one. We cover what is ending and when, four paths and what each costs, where AI helps and where it does not, a payback model you can rerun with your own numbers, and how to modernize without betting the company on a big-bang rewrite.
We build and modernize software for a living, so we have a point of view. Where doing less, or doing nothing, is the right answer, we say so.
Product | Support ends | Status |
|---|---|---|
SQL Server 2016 | July 14, 2026 | Ended. Paid Extended Security Updates run through July 2029. |
Python 3.10 | October 2026 | Ended. |
.NET 8 and .NET 9 | November 10, 2026 | Ended. Microsoft recommends .NET 10. |
Windows Server 2016 | January 12, 2027 | Paid Extended Security Updates available for up to three more years. |
.NET Framework 4.6.2 | January 12, 2027 | Affects many older line-of-business applications. |
Node.js 22 | April 30, 2027 | Plan the move to a newer release during 2027. |
SQL Server 2017 | October 12, 2027 | In extended support, security updates only. |
Microsoft's own notice says that after November 10, 2026, .NET 8 and .NET 9 receive no further security updates or technical support. A common trap is the stack under the application: SQL Server 2016, for example, is not supported on Windows Server 2022 or 2025, so the database and the operating system often have to be planned together.
The software does not stop. It stops getting security patches, so every newly found vulnerability stays open. Attackers study the fixes for newer versions and check whether the old one has the same hole, which means the risk grows month by month. Paid extended security updates exist as a bridge, and they cost real money and buy you time, not a fix.
Unsupported software raises questions in security audits, enterprise customer questionnaires and cyber insurance renewals. It also limits hiring, because fewer people want to work on old stacks. Our guide to the best tech stack for scalable business software covers how to choose a stack that stays supportable.
These are our planning figures, built from the published ranges in the next section and sized for the US market. They are not a quote.
Path | Planning range | Typical timeline | What changes |
|---|---|---|---|
Rehost (lift and shift) | $25,000 to $150,000 | 1 to 4 months | The application moves to new infrastructure. The code stays the same. |
Replatform | $80,000 to $300,000 | 3 to 6 months | Selective changes to the runtime, database or deployment, such as upgrading .NET or containerizing. |
Refactor | $150,000 to $600,000 | 6 to 12 months | The code is restructured to remove technical debt while behavior stays the same. |
Rebuild or phased replacement | $300,000 to $1.5 million+ | 12 to 24 months or more | A new system on a modern stack replaces the old one. |
Source (2026 guides) | What it says |
|---|---|
Codazz (US market) | Replatform $80,000 to $300,000, refactor $150,000 to $600,000, rewrite $300,000 to $1.5 million or more. |
KORE1 | Per application: rehost $50,000 to $250,000, replatform $150,000 to $500,000, refactor $300,000 to $1.5 million. |
Codiant | Rehost $30,000 to $120,000, replatform $60,000 to $250,000, refactor $150,000 to $600,000, rebuild $400,000 to $1.5 million or more. |
GoodFirms | Most programs between $450,000 and $2.3 million, averaging about $1.5 million. |
Rehost $25,000 to $250,000, refactor $200,000 to $2 million, 6 to 18 months. |
The spread comes from three places. The guides count different things, so a single application and a multi-system program share one price list. They assume different team rates and different amounts of testing. And most are written by firms that want to attract a certain size of project. Use them to find the range, then test any quote against the hours and roles behind it, as we show in our custom software development cost guide.
Choose this when the infrastructure is the problem and the software works. A data center exit or an aging server is the classic case. It is the cheapest and fastest path, and it leaves every flaw in the code intact. Some guides price the labor at $3,000 to $8,000 per workload.
Choose this when the code is sound and the platform underneath it is aging. Moving an application from an unsupported .NET version, or swapping a database engine, is replatforming. It is often the best value, because it removes the support-date problem without rewriting the logic.
Choose this when the business logic is right but years of patches have made the code slow and risky to change. One 2026 guide puts refactoring at roughly 40% to 60% of the cost of a rewrite of the same system, since you never pay to rediscover what the system does. Treat that as a vendor estimate, not a rule.
Choose this when the system no longer encodes what the business actually does, or the architecture blocks everything you want to do next. It is the most expensive and riskiest path. Run it in phases and not as one big switch, as the section below explains.
Two more options cost little. Retire an application nobody needs and archive its data. Retain one that works, is supported and is isolated, and spend the money elsewhere. A portfolio review often finds applications that need no change at all.
Size and code quality. More code and more tangled code take more effort to understand and to change safely.
Documentation and knowledge. If the people who built it have left, you pay to rediscover how it works.
Integrations. Every connection to another system is a place where behavior has to match, and a place for surprises.
Data migration. Moving years of records, and cleaning them, is rarely a small line item.
Testing. Without automated tests, you have to build them first, so you can prove the new system behaves like the old one.
Downtime tolerance. A system that can go offline over a weekend is far cheaper to move than one that cannot stop.
Compliance. Health, financial or payment data adds review and documentation.
AI tools are changing the economics of this work. McKinsey's research on AI in IT modernization, as reported by several 2026 guides, found that generative AI can speed up modernization timelines by 40% to 50% and cut technical-debt-related costs by about 40%. AWS says its Transform service modernized more than 40 million lines of COBOL to Java for Toyota with a 50% reduction in overall effort. Thoughtworks has reported cutting reverse-engineering time on a large COBOL system by about two thirds.
Gartner's June 2026 prediction, summarized by the Open Mainframe Project, is that more than 70% of mainframe exit projects started in 2026 will fail to produce their intended benefits, largely because teams overestimate what generative AI can do on its own. Our own look at the code-quality side points the same way: Veracode's 2026 report found AI-generated code passed security tests about 56% of the time.
AI helps most with understanding and documenting old code, generating tests, and mechanical upgrades such as moving a framework version forward. It helps least with deciding what the business needs. So do not cut an estimate in half on faith. Ask a vendor which tasks AI speeds up, by how much, and who reviews the output. If you are weighing partners, our guide to choosing an AI development partner has a scorecard that works for any vendor.
Add the engineering time spent keeping it alive, the licenses and hosting, any paid extended security updates, and a figure for risk. For the engineering time, use the BLS median developer salary of $135,980 with a 1.3 to 1.5 employer-cost multiplier, which gives about $177,000 to $204,000 a year per engineer. The multiplier is our assumption, so swap in your own HR numbers.
A rehost changes little. A replatform trims upkeep. A refactor cuts it substantially. A rebuild can cut it most, and costs most to reach. Every percentage below is an assumption you should replace.
Take a mid-size line-of-business application, with these assumptions. One and a half engineers spend their time on upkeep, which is $265,000 to $306,000 a year, plus $40,000 a year in licenses and hosting. That is about $305,000 to $346,000 a year to stand still.
Path | Cost | Assumed upkeep reduction | Annual savings | Payback |
|---|---|---|---|---|
Replatform | $150,000 | 20% | $61,000 to $69,000 | 2.2 to 2.5 years |
Refactor | $300,000 | 40% | $122,000 to $138,000 | 2.2 to 2.5 years |
Rebuild | $750,000 | 60% | $183,000 to $208,000 | 3.6 to 4.1 years |
Two lessons come out of the table. Going deeper costs more and pays back more slowly unless the business value changes, so the shallowest path that solves your problem tends to win. And the table counts only upkeep savings. It leaves out faster feature delivery, lower security risk and easier hiring, which are often the real reasons to modernize.
If an application is stable, supported, isolated and rarely changed, the math may say leave it alone. If nobody uses it, retire it. If the savings only work at your best-case assumptions, do not start. The numbers should still clear the bar at half of what you expect.
The safest pattern for a large rebuild is to put a thin layer in front of the old system and move one function at a time to the new one, until the old system has nothing left to do. Each step ships, each step can be rolled back, and the business never waits two years for a switch to flip.
Rank applications by risk and cost. An unsupported database facing an audit goes first. A stable, isolated tool goes last or never.
Tests that capture how the old system behaves are the safety net for everything that follows. They are boring and they are the difference between a controlled migration and a guess.
Decide what data moves, what gets cleaned, and what gets archived. Run the old and new systems in parallel for a period, compare results, then cut over with a rollback plan.
Parallel running. You pay for both systems until the cutover is safe.
Extended security updates. A bridge worth budgeting if your deadline is closer than your project.
User retraining. New screens and workflows cost your team time.
Re-certification. Compliance evidence often has to be redone for the new system.
Ongoing upkeep. New software also needs yearly maintenance, which we plan at 15% to 25% of build cost as a convention rather than a measured benchmark.
Since 2025, US tax law lets companies deduct domestic software development costs right away, while research performed outside the United States is still spread over 15 years. Whether and how that applies to modernization work depends on the specifics, and your tax advisor should decide. We are an India-based engineering team with a US office in Jenks, Oklahoma, so we would rather you hear it from us. We cover the basics in our software cost guide.
Do you run a paid assessment of the application first, and what does it produce?
How will you prove the new system behaves like the old one, and who writes the tests?
Which tasks do you use AI for, and who reviews its output?
How do you handle data migration and the cutover, and what is the rollback plan?
Which roles and how many hours sit behind your quote, and what is excluded?
Who owns the code, the documentation and the test suite from day one?
Which named people will work on it, and does the contract keep them there?
What happens if we pause after the first phase?
If you need to add engineers to a team that already runs the system, see our staff augmentation for US companies page, and our guide to hiring software developers in the USA.
We are a good fit when you have a business application on an aging stack, a clear problem and the need for a partner who will plan in phases and test as they go. If your system is a mainframe program that needs COBOL specialists, we will tell you honestly whether we are the right fit before you spend anything. And if SaaS covers what the old system does, buying may beat modernizing. Our guide to custom software vs SaaS has the five-year math.
We do not publish a rate card. A quote starts with a one-to-two-week discovery that settles which applications to touch, which path fits each, the integrations and the risks. It produces a roadmap and a scoped estimate tied to roles and hours. We work on a fixed-cost, dedicated-team or staff augmentation basis, depending on how settled your scope is. Our engineers are in-house, and you own the IP.
Start with our custom software development company in the USA page, our software development services and our enterprise application development work. For AI-assisted work, see AI development for US businesses.
None of these is a mainframe migration, and we will not dress them up as one. They are examples of replacing fragmented or manual work with one connected system.
We built one connected system that runs three retail repair locations and a nationwide mail-in repair operation from a shared backbone. Read the case study.
For Qualis Construction Ltd., we built an AI quantity takeoff application that replaced manual blueprint counting. Read the case study.
We built a subscription-based property and lead platform with a web dashboard for the office and a Flutter app for agents in the field. Read the case study.
Our Google rating is 4.9 from 126 reviews, and we have delivered 180+ projects across 15+ industries.
Per application in the US market, plan on $25,000 to $150,000 to rehost, $80,000 to $300,000 to replatform, $150,000 to $600,000 to refactor, and $300,000 to $1.5 million or more to rebuild. Published guides range even wider, from about $25,000 to $2 million or more. A paid assessment of the application is the most reliable way to narrow your number.
Rehosting moves the application to new infrastructure without changing code. Replatforming makes selective changes to the runtime, database or deployment, such as upgrading .NET. Refactoring restructures the code to remove technical debt while behavior stays the same. Rebuilding replaces the system with a new one on a modern stack. Each step costs more and changes more.
Usually refactoring. One 2026 guide puts it at roughly 40% to 60% of the cost of a rewrite of the same system, because you do not pay to rediscover what the system does. That is a vendor estimate, not a rule. Rewrite when the code no longer reflects what the business does or the architecture blocks your plans.
Planning figures: a rehost takes about 1 to 4 months, a replatform 3 to 6 months, a refactor 6 to 12 months, and a rebuild or phased replacement 12 to 24 months or more. Integrations, data migration, testing and how long the system can be offline set the pace more than coding does.
It keeps running, but it stops receiving security patches, so new vulnerabilities stay open and the risk grows over time. Paid extended security updates can bridge the gap. SQL Server 2016 ended extended support on July 14, 2026, .NET 8 and 9 on November 10, 2026, and Windows Server 2016 and .NET Framework 4.6.2 end on January 12, 2027.
In parts. Reported 2026 results include McKinsey's 40% to 50% faster timelines and AWS's 50% effort reduction on a large COBOL project. But Gartner predicts that more than 70% of mainframe exit projects started in 2026 will fail to deliver their intended benefits, largely from overestimating AI. Ask vendors which tasks AI speeds up and who reviews the output.
Retire an application nobody uses and archive its data. Keep one that is supported, stable, isolated and rarely changed. Modernize when the system is out of support, blocks business changes, costs too much to run or fails audits. If the payback only works at your best-case assumptions, do not start.
If you have a system approaching an end-of-support date, book a technical consultation. Bring what you have: a list of applications, the versions underneath them and the deadline that worries you. We will tell you what we would ask in discovery, which path we think fits, and where the risk sits, whether or not you end up working with us.
Subscribe to the Akoode newsletter for carefully curated insights on AI, digital intelligence, and real-world innovation. Just perspectives that help you think, plan, and build better.