Modernise, Rebuild, or Replace: A Decision Framework for Legacy Systems
Legacy Modernisation Strategy Recommender
Answer 7 questions about your legacy system to get a personalised modernisation strategy recommendation.
Modernisation strategies
- Retain
- Your system is serving its purpose. Focus investment elsewhere. Consider managed application support to stabilise costs.
- Timeline: N/A. Risk: Lowest. Next step: Review managed application support options.
- Retire
- This system is a candidate for decommissioning. Migrate data, communicate with stakeholders, and turn it off.
- Timeline: 1-3 months. Risk: Low. Next step: Plan data migration and stakeholder communication.
- Rehost
- Lift and shift to cloud infrastructure. Quick cloud benefits without changing the application.
- Timeline: Weeks. Risk: Low. Next step: Assess cloud infrastructure requirements.
- Replatform
- Move to managed cloud services with minimal code changes. Reduced operational burden, lower running costs.
- Timeline: 2-8 weeks. Risk: Low to moderate. Next step: Identify managed services to replace self-hosted components.
- Refactor
- Re-architect for cloud-native. Preserve business logic while modernising the structure for scalability and maintainability.
- Timeline: 1-2 months per component. Risk: Moderate. Next step: Map system boundaries and define component extraction order.
- Rebuild
- Start fresh with modern architecture. Highest investment, cleanest outcome, greatest long-term flexibility.
- Timeline: 2-6 months (AI-augmented). Risk: Higher. Next step: Define requirements and validate with a discovery phase.
Legacy Modernisation Strategy Recommender
Answer 7 questions about your legacy system to get a personalised modernisation strategy recommendation. Takes about three minutes.
7
Questions
3 min
To complete
Free
Instant results
There is no single answer to “should we modernise or rebuild?” The right strategy depends on your system’s architecture, your business constraints, and your timeline. This guide explains six strategies in plain language, provides a decision framework, and shows how AI-augmented delivery has expanded the set of viable options by compressing costs and timelines.
The timeframes in this guide reflect AI-augmented practices as of early 2026. AI tooling is advancing rapidly, and these timelines are compressing quarter by quarter. Treat specific figures as a reasonable upper bound rather than fixed estimates. Book a consultation for current timelines tailored to your situation.
Why the strategy matters more than the technology
The most common mistake in legacy modernisation is jumping to a solution before understanding the problem. “We need to move to the cloud” or “we need to rebuild in React” are technology decisions, not strategy decisions. The strategy should come first: what are we trying to achieve, what constraints do we have, and which approach delivers the best outcome for the investment?
A good strategy accounts for business continuity, risk tolerance, budget, timeline, team capability, and the system’s current state. The technology follows from those decisions, not the other way around.
The six strategies
These are commonly called the “6 Rs.” Each applies to different situations and carries different cost, risk, and outcome profiles.
Retain (keep as-is)
What it means: Leave the system in place. Do not invest in modernisation.
When it fits:
- The system works well enough and is not blocking business initiatives
- The cost of modernisation exceeds the cost of continued maintenance over the relevant time horizon
- The system is approaching end of life and will be retired naturally
Risk: Low in the short term. Increases over time as security, talent, and compliance risks accumulate.
Cost: Ongoing maintenance costs continue unchanged. Consider managed application support to stabilise costs and reduce risk while you plan the next step.
Retire (decommission)
What it means: Turn the system off. Migrate data to other systems or archive it.
When it fits:
- The system’s functionality has been replaced by another system
- The system is used by few or no users
- The data can be preserved in an archive or migrated to a successor system
Risk: Low, but requires careful data migration and stakeholder communication. Verify that no critical process depends on the system before decommissioning.
Cost: One-time data migration and decommissioning. Saves ongoing maintenance and hosting costs.
Rehost (lift and shift)
What it means: Move the system to cloud infrastructure without changing the application. The same code runs on Azure VMs instead of on-premises servers.
When it fits:
- The system runs on infrastructure that needs replacing (hardware end of life, data centre exit)
- You need quick cloud benefits (disaster recovery, scalability, cost flexibility) without application changes
- The application is stable and does not need architectural changes
What you get: Cloud infrastructure benefits (pay-as-you-go, backup, disaster recovery, global availability) without application risk. The application itself is unchanged.
What you do not get: Cloud-native capabilities (autoscaling, managed services, serverless). The application still has the same technical debt; it is just running somewhere different.
Timeline: Weeks, not months.
Cost: A one-time migration investment per application. Ongoing cloud hosting costs replace on-premises costs (may be higher or lower depending on the workload profile). See pricing for current ranges.
Replatform (lift, shift, and optimise)
What it means: Move the application to a managed cloud platform with targeted changes. Replace the database with a managed service (Azure SQL). Move from IIS to Azure App Service. Adopt managed caching instead of self-hosted Redis. The application code changes minimally.
When it fits:
- The application architecture is sound but the infrastructure is outdated
- You want managed services (patching, scaling, monitoring) without rewriting the application
- The application can run on a modern managed platform with minor changes
What you get: Reduced operational burden (the cloud provider manages patching, scaling, and availability), improved resilience, and a foundation for further modernisation.
Timeline: 2-8 weeks per application.
Cost: Scales with application complexity. Lower ongoing operational costs due to managed services. See our pricing for current ranges.
Refactor (re-architect for cloud-native)
What it means: Restructure the application for cloud-native architecture. Break a monolith into services. Replace tightly coupled components with APIs. Adopt containers, CI/CD, and infrastructure as code. The business logic is preserved; the architecture changes.
When it fits:
- The application needs to scale, integrate, or evolve in ways the current architecture prevents
- Specific components are bottlenecks (performance, reliability, maintainability)
- The business logic is sound but the packaging is not
What you get: A modern, maintainable architecture that can scale, integrate with other systems, and evolve independently. Improved developer productivity and reduced time-to-change.
What it requires: The most skilled approach. Understanding the current system deeply enough to restructure it without breaking behaviour. This is where AI-augmented analysis delivers the most value: AI tools map dependencies, identify coupling, and generate the refactoring plan that would otherwise require weeks of manual investigation.
Timeline: 1-2 months per major component.
Cost: Scales with component size and complexity. AI-augmented delivery compresses both the analysis and the implementation. See pricing for current ranges.
Rebuild (rewrite from scratch)
What it means: Build a new system using the old system as a specification. The existing code is not migrated. The behaviour, data, and business rules are reproduced in modern architecture.
When it fits:
- The architecture is fundamentally incompatible with modern requirements (monolithic, tightly coupled to obsolete technology)
- The technology stack blocks hiring (no developers available or willing)
- The data model does not reflect the current business domain
- The cost of refactoring exceeds the cost of rebuilding
What you get: A clean foundation with modern architecture, current technology, and the ability to evolve. No technical debt carried forward.
What it risks: Rebuilds take longer and cost more than planned. The old system contains undocumented behaviour that the rebuild must replicate. Second-system syndrome (over-engineering the replacement) is a common trap.
How AI changes the calculation: AI-augmented delivery compresses rebuild timelines by 40-50%. AI tools analyse the legacy codebase to extract business rules, data flows, and edge cases that would otherwise be discovered late in the project. The legacy system becomes a detailed specification that the AI-augmented team can work from, reducing the risk of missing undocumented behaviour.
Timeline: 2-6 months with AI-augmented delivery, less when accelerators apply.
Cost: The most significant investment of all strategies. See our pricing for current ranges.
How to decide: the decision framework
Step 1: assess the current system
Before choosing a strategy, understand what you have. A structured assessment answers:
- What is the system’s architecture? (monolithic, layered, microservices, something else)
- What is the technology stack? (current, supported, end-of-life)
- What is the code quality? (tested, documented, maintainable, or the opposite)
- What are the dependencies? (databases, APIs, third-party services, legacy protocols)
- What are the security and compliance gaps?
- Who understands the system? (documentation, team knowledge, key person risk)
AI-augmented assessment compresses this from weeks to days. The output is a clear, evidence-based picture that drives the strategy decision.
Step 2: define the business drivers
Why are you modernising? The answer determines the strategy.
| Business driver | Likely strategy |
|---|---|
| Data centre exit or hardware end of life | Rehost or replatform |
| Reduce operational costs | Replatform (managed services) |
| Improve scalability or performance | Refactor or rebuild |
| Enable new features or integrations | Refactor or rebuild |
| Reduce security and compliance risk | Replatform or refactor |
| Attract and retain developers | Refactor or rebuild |
| Acquisition integration | Depends on the combined system landscape |
Step 3: evaluate constraints
Budget. How much can you invest? Rehosting and replatforming require less upfront investment. Refactoring and rebuilding require more but deliver greater long-term value.
Timeline. When do you need results? Rehosting delivers cloud benefits in weeks. Rebuilding delivers a modern system in 2-6 months. Incremental approaches (strangler fig) deliver value continuously.
Risk tolerance. How much disruption can the business absorb? Incremental approaches reduce risk. Big-bang migrations increase it.
Team capability. Do you have (or can you partner with) a team that can execute the chosen strategy? AI-augmented delivery partners expand what is achievable with a given team size and timeline.
Step 4: choose a strategy per component
Most legacy systems are not one thing. They have multiple components with different characteristics. Apply the right strategy to each component.
The frontend may be a candidate for rebuilding (modern UI framework, better user experience). The business logic may be a candidate for refactoring (extract into services, add APIs). The database may need replatforming (move to Azure SQL with managed backups and scaling). Some utility functions may be candidates for retirement (replaced by SaaS).
The incremental approach
Strangler fig pattern
The safest approach to legacy modernisation is incremental. The strangler fig pattern works like this:
- Identify a component to modernise (a specific feature, endpoint, or user journey)
- Build the modern replacement alongside the legacy system
- Route traffic to the new component (using an API gateway or load balancer)
- Validate that the new component works correctly in production
- Retire the legacy component
- Repeat for the next component
The legacy system continues to operate throughout. There is no big-bang cutover. Risk is contained to one component at a time. If a new component has problems, traffic routes back to the legacy version.
AI-augmented teams accelerate each step: analysing the legacy component, building the replacement, generating tests that verify behavioural parity, and automating the routing and monitoring.
Data migration in parallel
Data migration often runs in parallel with application modernisation. Nightly migration pipelines synchronise data from the legacy system to the new platform, with anonymisation for non-production environments and validation checks for data integrity. This allows the new system to be tested with real data before the cutover.
Where to start
- Get an honest assessment. A 2-4 week assessment with an AI-augmented team gives you an evidence-based view of your system’s state, risks, and options. This costs a fraction of the modernisation and prevents the most expensive mistake: choosing the wrong strategy.
- Define the business driver. Why are you modernising? The answer shapes the strategy, the budget, and the timeline.
- Start incremental. Unless there is a compelling reason for a big-bang approach, start with the strangler fig pattern. Deliver value continuously, contain risk, and build confidence.
See our legacy application modernisation service for how we approach this, or book a consultation to discuss your specific system. If you need to keep the legacy system stable while you plan, our managed application support service provides a bridge.
Frequently asked questions
What are the 6 Rs of legacy modernisation?
How do I choose between modernising and rebuilding?
How long does legacy modernisation take?
What is the strangler fig pattern?
Can I modernise and still support the legacy system during migration?
How much does legacy modernisation cost?
Related guides
Power Apps, SaaS, or Custom Build? A Self-Assessment for Business Leaders
Answer 10 questions covering your IT capability, requirements, and preferences to get a tailored recommendation. Free, expert-backed results in three minutes.
What You Can (and Can't) Legally Copy When Replacing SaaS: A UK Guide for CTOs
UK copyright law protects expression, not functionality. Learn what CTOs can legally replicate when replacing SaaS with custom-built software, including clean-room implementation, TOS boundaries, and data portability rights.
The AI-Era SaaS Replacement Playbook: When, Why and How to Replace SaaS with Custom Software
AI-augmented development has collapsed the cost of custom software. A decision framework for UK CTOs evaluating whether to replace SaaS tools like HubSpot, BambooHR, and Workday with purpose-built systems.