Custom software
What a legacy system is and when to modernise it
What a legacy system is, the real risks of keeping it, the signs it is time to modernise, the seven options, and when the right call is to leave it alone.
- Published
- November 17, 2026
- Updated
- November 17, 2026
- Author
- Vitalii Shynkarenko
- ⏱
- 7 min
Almost every company older than ten years has one: the management tool built by someone who has since left, the intranet nobody dares to update, the spreadsheet with macros that invoicing quietly depends on.
This guide explains what a legacy system actually is, what it really costs you to keep it, and how to tell whether it is time to modernise. It also covers when you should not, which happens more often than vendors admit.
The short version
- A legacy system is not an old system. It is one the business still depends on and nobody can change safely any more.
- The main risks are four: unpatched security holes, dependence on one person, locked-in data and new rules the software does not meet.
- Modernising does not mean rewriting. Often an API in front of the system, a new server or replacing a single part is enough.
- If the system does its job, does not need to talk to anything new and runs on a supported version, leaving it alone may be the smart move.
- The first step is always an audit: know what is inside before you decide what to do.
What a legacy system is
In software, “legacy” means inherited: a program the company still needs, but which is built on old technology, no longer supported by its vendor, or understood by nobody on the team.
Age is not what defines it. A five-year-old system is legacy if the developer left without documentation and every change breaks something else. A twenty-year-old one is not, if it is up to date, documented and maintained without fear.
In small and mid-sized companies, these are the usual suspects:
- A custom management tool or ERP built 10 or 15 years ago in Access, Visual Basic, Delphi or an old version of PHP.
- Commercial software whose vendor closed, merged or stopped shipping updates.
- An intranet or booking site running on a server nobody patches.
- A spreadsheet with macros that, without anyone deciding it, became the core of orders or invoicing.
- Hand-made integrations: a script someone runs every night, or a person copying data from one screen to another.
Why companies keep legacy systems
It is not negligence. There are good reasons not to touch a system that works:
- It holds the business logic. Years of exceptions, special discounts and rules nobody wrote down, which the program applies every day.
- Changing it is scary. If the system issues invoices, a migration mistake shows up the same day.
- The cost of change is visible; the cost of staying is not. A project budget is one clear figure. The hours lost to the old system are spread across the whole company.
- It still works. And while it works, something else is always more urgent.
All of this is reasonable. The trouble starts when the risk of staying outgrows the risk of changing, and that usually happens slowly, with no clear moment to warn you.
The risks of keeping a legacy system
Unpatched security
When a technology loses support, its security flaws stop being fixed. Two examples with official dates: PHP 7.4 stopped receiving patches on 28 November 2022 and PHP 8.1 on 31 December 2025, according to the php.net calendar (opens in a new tab). Windows 10 free support ended on 14 October 2025, according to Microsoft (opens in a new tab).
A system on one of these versions does not stop working overnight. Every new flaw found from now on simply stays open for good.
Dependence on one person
The most common risk and the least visible. If only one person knows how to restart the server or what a script does, the system depends on their holidays, their health and their next job offer. A vendor that has closed is the same problem, with nobody left to call.
Locked-in data
Many old systems have no API: you cannot connect them to a website, an app, a CRM or an analytics tool without exporting data by hand. The result is parallel spreadsheets, duplicated data and decisions made on last week’s numbers.
New rules the software does not meet
Laws change and old software does not notice. A clear example for companies in Spain is Verifactu: Royal Decree 1007/2023 (opens in a new tab) requires invoicing software to meet technical requirements (tamper-proof records, a QR code on each invoice, optional submission to the tax agency). If your invoices come out of a custom program built years ago, someone has to adapt or replace it.
Signs it is time to modernise
Go through this list with your team. If you tick three or more, an audit is worth it:
- There are parts of the system nobody wants to touch because every change breaks something else.
- The person who built it, or the vendor, is gone, and the documentation does not exist or does not match what the program does.
- The system runs on a language, database, framework or operating system version that no longer gets security patches.
- Connecting a new website, app or CRM means exporting and importing data by hand.
- Someone on the team spends hours every week copying data between programs or fixing the errors that copying creates.
- The reports you need do not come out of the system and get built in Excel.
- A new regulation forces a change and nobody knows what it will cost.
- It is hard to find anyone willing or able to work with that technology.
When you do not need to modernise
We modernise systems, so it would suit us to say it is always needed. It is not. Sometimes the best move is to leave it as it is:
- The system does its job, nobody needs to change it and it does not have to connect to anything new. If it also runs on a supported version, modernising it is spending for the sake of spending.
- An off-the-shelf product can replace it. If an ERP, CRM or invoicing tool on the market already covers what it does, migrating your data to it is usually cheaper than rebuilding. Sometimes the best modernisation is a good standard product.
- You are closing or changing that line of business soon. There is no point investing in a system you will stop using within a year.
- The real problem is something else. If the team does not use the system because nobody trained them, or because the process is badly defined, a new program inherits the same problem.
Your options, from doing nothing to replacing it
Modernising is not one thing. Gartner described seven options (opens in a new tab) that most of the industry still uses. Here they are in plain language, from least to most change:
| Option | What it means | When it fits |
|---|---|---|
| Encapsulate | Put an API in front of the system without touching its internals | The system works, but you need to connect it to a website, app or CRM |
| Rehost | Move it as it is to a new server or to the cloud | The problem is the server or hardware, not the program |
| Replatform | Move it with small changes: a new database or language version | The technology is out of support, but the code is reasonable |
| Refactor | Restructure the code inside without changing what it does | It works, but every change is slow and risky |
| Rearchitect | Change the structure: split modules, change how they talk to each other | The system has to grow or connect to far more than it was designed for |
| Rebuild | Write it again, keeping what it does | The code is beyond repair, but what it does is still unique to your business |
| Replace | Swap it for an off-the-shelf product | A product on the market already does the job |
Most projects combine several. For example: rehost now to get off an unsupported server, encapsulate to connect the new website, and rebuild only the invoicing module. The rest stays as it is until it needs to change.
In phases or from scratch
The temptation is to throw everything out and start again. It is the riskiest option: for months there is nothing to use, and on switch-over day the undocumented rules appear.
The safer alternative has a name: the strangler fig pattern, described by Martin Fowler (opens in a new tab). You replace the system piece by piece. A layer goes in front, and each new part (customers, orders, invoicing) gradually takes over the old one’s work. Old and new run side by side until the last module is replaced.
The upside: the business keeps running, you see results from the first phase and, if something goes wrong, you can roll back that part without touching the rest. A full rewrite only pays off when the architecture itself is the problem and there is no way to separate pieces. The audit decides that, not a hunch.
How to start without stopping the business
- Take an inventory
Which programs you use, who uses them, where they run and what they connect to. A spreadsheet is enough.
- Mark what cannot stop
Invoicing, orders, bookings. Anything that, if it fails for a day, shows up in revenue. That sets the order and the care for each phase.
- Get an audit
Someone reads the code, the database and the server and tells you in writing what is stable, what is fragile and what to tackle first.
- Pick the first piece
Ideally a small part with high value: the one that costs you the most hours, or the one blocking a regulation or an integration.
- Rehearse the data migration
On a copy, before the real switch. Totals and records are compared so errors show up before, not after.
- Switch with a way back
Each phase ships with monitoring and a plan to return to the previous version if something does not add up.
We do not have a public legacy modernisation case yet. But the building blocks are the ones we used in the Zeekr DMS: integration with an existing ERP, automated migrations, two-week sprints and controlled activation of each new feature.
What modernising a legacy system costs
It depends on three things: the size of the codebase, the volume and state of the data, and the number of integrations. That is why nobody serious can quote a total without seeing the system.
What you can know early is the price of the audit and of the first phase. At LeetSoft we fix the audit price after a 15-minute call, and a single phase or module starts at €2,000 + VAT. The quote is in writing and does not change afterwards. Details are on legacy software modernisation and all other prices on pricing.
When comparing, also count the cost of doing nothing: team hours spent copying data, the risk of an unpatched security flaw, and what a rushed adaptation to a new regulation would cost.
Frequently asked questions
Is “legacy system” the same as “inherited system”?
Yes. Both describe a program that matters to the business but can no longer be changed safely. “Legacy” is simply the term the industry uses.
Is every old system a legacy system?
No. If it is up to date, documented and maintained without fear, it is not a problem, whatever its age. What makes it legacy is that nobody can change it safely.
Is it better to rewrite from scratch or modernise in parts?
Almost always in parts: it is less risky and you see results sooner. A rewrite makes sense when the architecture itself is the problem. The audit decides.
Can we keep working during the modernisation?
Yes, if it is done in phases. The old and new systems run side by side until each part is tested, and every change ships with a rollback plan.
What happens to historical data?
It is migrated with validations and a rehearsal on a copy first. Totals and records are compared before the real switch.
What if the original vendor no longer exists?
That is the most common case. The audit reconstructs how the system works from its code and data, even without documentation.
Not sure whether your system needs modernising or just a couple of fixes? Tell us about it on a 15-minute call (opens in a new tab). If it does not need touching, we will say so. More on legacy software modernisation and custom software development.
01 — News
Related news
Custom CRM or ERP for business: when a ready-made solution isn't enough
When a ready-made CRM or ERP system no longer covers a business's needs, and how to tell it's time for custom development.
Ready-made SaaS solution or custom development: what to choose for your business
A SaaS subscription or custom development — comparing upfront costs, long-term cost, control over data, and flexibility to help you make the build-vs-buy decision.
02 — Contact
Tell us what you need
We reply with a proposal.