Rebuild or refactor: what it costs to fix an old app

Refactor when the app's foundations are sound but parts have aged; rebuild when the technology is obsolete, nobody can safely change the code, or the product has outgrown its design. Refactoring usually costs 20 to 50% of a rebuild and keeps the app live throughout. A rebuild costs more but resets years of technical debt.
We have faced this decision with clients many times. With Superdry we overhauled a dated iOS app's architecture and rebuilt the checkout around a modern, server-driven approach. With Cubeware the question was bigger: a legacy analytics platform was rebuilt as a modern SaaS product. For build costs, see our UK app development cost guide.
Signs it is time to act
- Each new feature takes longer and breaks something else.
- The app crashes more on new iOS or Android versions.
- The framework or language is no longer supported.
- Only one person understands the code, or nobody does.
- The design looks dated next to competitors.
- Security updates are hard or impossible to apply.
Refactor or rebuild: the decision
| Question | Points to refactor | Points to rebuild |
|---|---|---|
| Is the technology still supported? | Yes | No |
| Is the code readable and tested? | Mostly | Rarely |
| Does the product still fit the business? | Yes | It has outgrown it |
| Can it stay live during changes? | Must stay live | Can run in parallel |
| Is the backend reusable? | Yes | No |
Often the answer is a mix: keep the backend and data, rebuild the app layer, or modernise one area at a time.
What it costs
| Option | Typical cost | Typical timeline |
|---|---|---|
| Health check and audit | £2,000 to £6,000 | 1 to 2 weeks |
| Targeted refactor (one area) | £10,000 to £40,000 | 1 to 3 months |
| App rebuild on an existing backend | 50% to 70% of a new build | 3 to 6 months |
| Full rebuild, app and backend | Similar to a new build | 4 to 12 months |
Start with an audit. It turns an emotional decision into a costed plan.
How to rebuild without losing customers
- Keep the same store listing, so users update rather than reinstall.
- Migrate data and logins carefully; nobody should need a new password.
- Release to a small group first.
- Keep the old backend running until the new one is proven.
If the original developer is no longer involved, read how to switch app agencies without losing your app.
A health check, step by step
Before deciding anything, we run a short health check. It usually takes one to two weeks and looks at:
- Build. Can the app be built from the code as it is, on current tools?
- Dependencies. Which libraries and frameworks are out of date or unsupported?
- Crash and error data. Where does the app fail, and for whom?
- Code structure. How easily can features be changed without breaking others?
- Backend and data. Is the API stable, documented and secure?
- Product fit. Does the app still match how the business works and what customers expect?
The result is a short report with a recommendation: continue, refactor specific areas, or rebuild, each with a cost and timeline.
Refactoring in practice
Refactoring rarely means stopping everything. A typical approach is to improve the code around each feature as you work on it, while tackling the riskiest areas first. Examples include:
- Replacing an unsupported library with a maintained one.
- Moving business rules from the app to the server so they can change without a release.
- Adding automated tests around payments, login and other critical flows.
- Breaking large screens into smaller, reusable parts.
With Superdry, moving checkout logic to the server meant the business could change its checkout without waiting for an app update. That single change reduced risk on every later release.
Rebuilding in practice
When a rebuild is the right call, the safest approach is to run old and new side by side. Build the new app against the same backend where possible, test it with a small group, then release it as an update to the same store listing. Users keep their reviews, ratings and saved data.
With Cubeware, the legacy platform was rebuilt as a modern SaaS product, and the company was later acquired by insightsoftware. A planned rebuild can increase the value of a business, not just tidy up its code. Our guide to turning legacy software into SaaS explains that path.
How to make the decision with your team
Bring three groups together: the people who use the app, the people who sell or support it, and the people who maintain it. Ask each to list the top three problems. If most problems are about speed of change and stability, refactor. If most are about the product no longer fitting the business, a rebuild is usually worth it.
The real cost of doing nothing
Leaving an ageing app alone feels free, but it rarely is. Costs build up quietly:
- Each release takes longer and needs more testing.
- Crash rates rise on new devices, and ratings slip.
- Store policy changes force rushed work at short notice.
- Developers become harder to find for old frameworks.
- Security risks grow as libraries go unpatched.
A simple test: if your last three releases each took longer than the one before, the cost of doing nothing is already showing.
The short version
- Refactor when foundations are sound; rebuild when they are not.
- An audit is the cheapest first step.
- Mixed approaches are common: keep the backend, rebuild the app.
- Plan the migration as carefully as the build.
Have an ageing app? Book a call and we will tell you honestly which path we would take.
Frequently asked questions
How long can an app go without updates?
In practice about a year before problems appear on new OS versions, and two to three years before significant work is needed.
Will a rebuilt app lose its App Store reviews?
Not if it is released as an update to the same listing.
Is a rebuild a chance to switch to cross-platform?
Yes, and it often makes sense. See native vs cross-platform costs.
How much does an app health check cost?
Typically £2,000 to £6,000, depending on the size of the app and backend.
Can we refactor and add new features at the same time?
Yes, and it is often the best approach. Agree a split, for example 70% features and 30% improvements, and review it each month.
Should I rebuild if I am also changing my business model?
Often yes. If the product needs to work differently, a rebuild lets you design for the new model instead of bending the old one.
Talk it through with one of our co-founders. 30 minutes, no pressure.




