There is a system in your business that was built years ago and still runs the billing, the stock or the production plan. It works. It also sits on one old computer, nobody dares change it, and the person who wrote it has moved on. Each new requirement is met with a spreadsheet beside it. Legacy software modernisation is the question of what to do about a system like that, and the answer is rarely the one that sounds most decisive.
We are a product engineering team at Infopark in Kochi. We build web applications for businesses in India, the UAE and Australia. When we take on an existing system, we start with a short read-only review and work in small, reversible increments. We do not propose a rewrite by default. This guide explains why, and when a rewrite is the right call all the same.
The short answer
Leave the system alone if it does its job, can be backed up and restored, and nobody is asking it to do anything new. Modernise it in stages if the business rules inside it are still right and the trouble lies in the technology around them. Rewrite or replace it only when the platform cannot be kept running safely, when the source code is lost, or when the business has changed so much that the old rules no longer describe it. In most cases the staged route carries less risk than a rewrite and delivers something useful sooner.
What makes software legacy
Software is legacy when the business depends on it and can no longer change it with confidence. Age is not the test. A ten-year-old system with tidy code, tests and a team that understands it is simply mature. A three-year-old system that one departed contractor understood is legacy already.
The usual signs are these.
Nobody available to you can explain how it works, and small changes break unrelated things.
It runs only on an old operating system, an old database or one particular machine.
The language or tools it was written in are hard to hire for.
The supplier of the platform underneath it no longer issues security updates.
It cannot be reached from a browser or a phone, or connected to anything else.
Staff keep spreadsheets beside it for everything it cannot do.
An old system is also an asset. It holds years of records, and its code contains business rules that were worked out the hard way: how a part-delivery is billed, which customers get which terms, what happens at year end. Many of those rules are written down nowhere else. Any plan has to protect them.
The five options
There are five things you can do with a legacy system, and they run from no change to complete change. The table compares them.
| Option | What it means | When it fits | Main risk |
|---|---|---|---|
| Leave it alone | Keep it running as it is, with backups and a tested restore. | It does its job and nothing new is being asked of it. | The platform under it ages until it fails at a bad moment. |
| Wrap it | Put an API layer over the old system so new software can read from it and write to it. | The core works, but you need a portal, a mobile screen or a link to another system. | The old system remains, with its limits, underneath the new layer. |
| Modernise in stages | Replace it one module at a time, with old and new running side by side until the old is empty. | The business rules are still right. The technology is the problem. | Two systems to keep in step during the change. It takes discipline to finish. |
| Rewrite | Build a new system to replace the whole of the old one, then switch over. | The platform cannot be kept alive, the code is lost or unreadable, or the system is small. | A long period with nothing to show, and rules lost in translation. |
| Replace with a product | Move to a packaged product and adapt your process to it. | The old system does something standard, such as accounts, payroll or a conventional CRM. | Whatever was specific to your business has to fit the product or be given up. |
Why full rewrites so often go wrong
A full rewrite is attractive because it promises a clean start. It goes wrong for four reasons that have little to do with the skill of the team.
The old system knows more than anyone remembers
Every odd branch in the old code was put there for a reason: a customer with special terms, a tax rule, a mistake that once cost money. Nobody has the full list. A rewrite built from interviews and screenshots will miss some of them, and the gaps appear after go-live, as wrong invoices and wrong stock.
The business does not stand still
While the new system is being built, the old one still has to change, because the business still has new requirements. The rewrite is chasing a moving target. Either the old system is frozen and the business waits, or every change is made twice.
Nothing is delivered until everything is
A rewrite cannot replace the old system until it does all that the old system does. For most of the project the business is paying for software it cannot use. If the budget or the patience runs out before the end, there is nothing to show for it.
The switch-over is one large bet
Moving every user and every record on a single day concentrates the risk. If something is wrong, it is wrong for everyone at once, and going back means re-entering whatever was done in the new system.
When a rewrite is the right answer
A rewrite is sometimes the only sound choice, and it would be poor advice to pretend otherwise. It is justified in these cases.
The platform is at a dead end. It cannot run on a supported operating system, and there is no upgrade path.
The source code is missing, or you do not have the rights to it. There is nothing to modernise.
The business has changed shape. The old system assumes one company, one location or one way of selling, and none of that is true now.
The data structure is the problem. If the records themselves are organised wrongly, every module built on them inherits the fault.
The system is small. Rewriting a few screens can cost less than studying them.
Even then, the rewrite can usually be delivered in slices, one module going live at a time, instead of in one switch-over at the end.
When to leave it alone or buy a product
Not every old system needs a project. If the software does its job, the data is backed up, a restore has been tested and nothing new is being asked of it, the cheapest and safest course is to leave it running and check on it once a year. Spend the money where the business is held back.
If the old system does something standard, replacing it with a packaged product is often the better buy. Many custom accounting, payroll and contact management systems were written before good products were available. They are now. Keep custom software for the parts of the business that are specific to you. Our article on Tally and ERP makes the same case for the books.
How staged modernisation works
Staged modernisation replaces the old system a piece at a time, while it keeps running. Engineers call this the strangler fig pattern, after a plant that grows around a tree until it stands in its place. The steps are these.
Review first. Read the code and the database without changing anything. Establish what the system does, what is safe to touch and where the risk lies.
Secure what exists. Put the code under version control, set up backups, test a restore and build a copy of the system to experiment on.
Record current behaviour. Write automated tests that capture what the system does today, so a change that alters a result is caught at once.
Put a layer in front. An API over the old system gives new screens and other software one stable way in.
Move one module. Choose something that is causing trouble and has clear edges, such as order entry or reporting. Build it new, run it beside the old one, and compare the results.
Migrate the data for that module, switch its users over, and retire the old part.
Repeat until the old system has nothing left to do.
Each step delivers something the business can use, and each can be undone if it goes badly. The first gain is often something the old system could never offer, such as a customer portal reading from the same data. We run this work through the same six-stage process as a new build, with working software every fortnight. The new parts are built on tools chosen to be easy to hire for and cheap to change, for the reasons set out on our technology page.
How to decide
The decision rests on a few facts about the system that you can establish before speaking to any vendor.
Do you have the source code, and the legal right to change it?
Is there a backup, and has anyone ever restored from it?
Are the rules in the system still the rules of the business?
What can the business not do today because of this system?
Would a packaged product do the same job?
What would a week without the system cost you?
If you lack the code or the platform is dead, plan a rewrite or a replacement. If the rules are still right and the limits are technical, modernise in stages. If nothing is being held back, leave it alone and make sure the backup works. Be cautious of any firm that recommends a rewrite before it has read the code. Our guide on how to choose a software development company in Kerala lists what else to ask.
Frequently asked questions
What is legacy software modernisation?
Legacy software modernisation is the work of bringing an old system the business depends on up to a state where it can be changed, secured and connected to other systems. It ranges from putting an API over the old system to replacing it module by module.
Is it cheaper to modernise or to rewrite?
It depends on the state of the code and the platform. Staged modernisation spreads the cost and delivers usable results along the way. A rewrite concentrates the cost and the risk before anything is delivered. For a small system, or one whose platform is at a dead end, a rewrite can be the cheaper route.
Can you modernise a system without stopping the business?
Yes. That is the purpose of the staged approach. The old system keeps running while one module at a time is rebuilt, tested beside it and switched over.
What if we do not have the source code?
Then the system cannot be modernised in place. The data can usually still be extracted from the database, and the behaviour can be worked out by observing the system and talking to its users. That leads to a rewrite or a move to a packaged product.
Will our old data be carried over?
It should be, and the plan must say how much. Old data usually needs cleaning before it moves: duplicates merged, codes made consistent, incomplete records fixed or set aside. Agree which years of history move and who on your side decides which record is correct.
Conclusion
An old system that runs the business deserves respect before it gets a replacement. Find out what it does, make sure it is backed up, and name what it is stopping you from doing. Then choose the smallest change that removes that limit. Often that is a layer in front and one module rebuilt. Sometimes it is a packaged product. Occasionally it is a rewrite, and when it is, you should be able to say exactly why.
If you have a system like this and are unsure which way to go, tell us what it does and what it is holding back. We will start with a read-only review and give you a straight answer, including when the answer is to leave it running.
Human. Digital. Future.



