Your custom software worked perfectly on launch day. A year or two later, small things start to slip: a report runs slower, an integration fails one morning, a simple change takes the developers far longer than expected. Nobody broke anything on purpose. The software just wasn’t looked after.
Software maintenance is the ongoing work that keeps a system secure, working and useful after it launches. This guide explains what it covers, why software decays even when nobody touches it, what technical debt means in business terms, and how to plan maintenance so it doesn’t turn into a crisis.
What is software maintenance?
Software maintenance is all the work done on a system after launch to fix problems, keep it compatible with the world around it, improve it and prevent future failures. It includes updates, security patches, monitoring, backups, bug fixes and small improvements. Without it, software gradually becomes slower, less secure and more expensive to change.
The four types of software maintenance
Software engineering standards such as ISO/IEC 14764 group maintenance into four types. The labels are technical, but the ideas are simple.
Corrective maintenance: fixing what’s broken
Finding and fixing bugs that users report or monitoring catches. An invoice total that rounds incorrectly, or a form that fails on one browser, are typical examples. This is the part most people picture when they hear the word maintenance.
Adaptive maintenance: keeping up with change
Changing the software so it keeps working when its environment changes: a new operating system version, a browser update, a payment provider retiring an old API, or a new rule your business has to follow. The software didn’t break; the world moved.
Perfective maintenance: making it better
Improving the software based on how people actually use it. A faster search, a new export, a clearer screen for the team who uses it all day. Over the life of a system, this is often where most of the effort goes, because a useful system keeps attracting requests.
Preventive maintenance: stopping problems early
Work that users never see but that keeps the system healthy: cleaning up confusing code, adding automated tests, upgrading libraries before they reach end of life and improving monitoring. It’s the easiest type to skip and the most expensive one to skip for long.
Why software decays even when nobody touches it
Code doesn’t wear out like a machine, but the environment it runs in changes constantly. Engineers call the result software rot. These are the usual causes:
- Dependencies: modern software is built on many open-source libraries and frameworks, and older versions eventually stop receiving fixes
- Security patches: new vulnerabilities are found in widely used components all the time, and unpatched systems become easy targets
- Operating system and browser changes: updates to Windows, macOS, iOS, Android and browsers can break features that used to work
- Third-party API changes: payment, mapping, shipping, accounting and messaging providers change their APIs and retire old versions on their own schedules
- Growing data: a query that was instant with a few thousand records can crawl once there are millions
- Expiring pieces: SSL certificates, API keys and domain names all have renewal dates
- Lost knowledge: the developers who built the system move on, and undocumented decisions leave with them
Integrations are a frequent source of surprise failures. If your system talks to other services, keeping those connections current is a large part of the job, which is why good API development includes versioning, error handling and monitoring from the start.
Technical debt explained for business owners
Technical debt is a term coined by programmer Ward Cunningham. It describes the future cost of shortcuts taken in software today. Like financial debt, it isn’t always bad: borrowing time to hit a launch date can be a smart decision. The problem is the interest. Every shortcut left in place makes later changes slower and riskier, and the cost keeps growing until it’s paid down.
Where technical debt comes from
- Deadline shortcuts: hard-coded values, copied code and skipped tests to ship on time
- Changing requirements: features bolted onto a design built for something else
- Outdated technology: frameworks and libraries left several versions behind
- Missing tests: no safety net, so every change risks breaking something unrelated
- Missing documentation: only one person knows how a critical part works
Signs you’re paying interest
You rarely see technical debt directly. You see its effects: estimates that keep growing for simple changes, the same bugs coming back, developers who are nervous about touching certain parts of the system, and releases that need long manual testing because nothing is automated.
How to manage technical debt
- Make it visible: keep a simple list of known debt items, what each one affects and the risk of leaving it
- Rank by business impact: fix what slows down important changes or creates security risk first, and ignore what nobody touches
- Reserve time in every cycle: plan a regular share of each sprint or month for debt work, instead of waiting for a quiet period that never comes
- Clean up as you go: when a feature touches messy code, improve that area as part of the work
- Add tests before big changes: they make it safe to restructure code without breaking behavior
- Decide deliberately: when you take on new debt to meet a deadline, write it down along with a plan to repay it
You don’t need to pay off all technical debt. The goal is to keep it at a level where the business can still change the software quickly and safely.
What a software maintenance plan should include
A good plan turns maintenance from emergency firefighting into routine work. Whether an internal team or a partner handles it, look for these elements:
- Monitoring: uptime checks, error tracking and performance alerts, so problems are spotted before users report them
- Dependency and platform updates: libraries, frameworks, runtimes and server software kept on supported versions, tested before release
- Security patches: urgent fixes applied quickly, with a clear process for doing so
- Backups and restore tests: automatic backups stored separately, and restores actually tested on a schedule
- Bug fixes: priority levels with agreed response times, so a broken checkout isn’t treated like a typo
- Small improvements: a set amount of time for the changes users ask for
- Documentation: setup notes, architecture notes and a change log kept current
- Access reviews: removing accounts and keys for people who no longer need them
- Regular reporting: what was updated, what was fixed and what risks are coming up
If you also run a marketing website, its care is a separate, lighter job. Our guide Website Maintenance Cost: What Drives It and How to Plan for It covers that side, and our website maintenance service handles it for businesses that would rather not.
How to budget time and effort for maintenance
There’s no universal formula, and you should be wary of anyone who quotes one without looking at your system. The effort depends on a handful of factors:
- Size and age: larger and older systems have more parts to keep current
- Integrations: every connected service is another thing that can change
- Criticality: software that runs dispatch, payments or patient bookings needs faster response than an internal report tool
- Rate of business change: a company adding services, locations or rules every quarter needs more perfective work
- Code quality and tests: well-tested, documented code is cheaper to maintain
- Compliance needs: regulated data brings extra review and audit work
A practical approach is to plan maintenance in two parts: a steady base for monitoring, updates, security and fixes, and a separate, agreed amount of time for improvements and debt reduction. Also plan for occasional larger upgrades, such as moving to a new major version of a framework, which arrive every few years and are easier when the system has been kept current. Ask for a written estimate based on your actual system, and review the plan at least once a year.
Signs your software needs attention
- Simple changes take much longer than they used to
- The same bugs keep coming back after being fixed
- Your framework or language version no longer receives security updates
- Pages, reports or searches have become noticeably slow
- Only one person understands how a critical part works
- Releases are rare, stressful and often followed by fixes
- An integration partner has warned that an API version you use is being retired
- Nobody can say when a backup was last restored successfully
Refactor or rebuild?
Sooner or later, every long-lived system raises this question. Rebuilding is tempting because it feels like a clean start, but it is also the riskier option, because the old system holds years of business rules that are easy to miss.
Refactor when
- The system still does what the business needs, and the main problem is how the code is organized
- The technology is still supported, even if it’s a few versions behind
- You can improve one area at a time while the system keeps running
Rebuild when
- The core technology is no longer supported and can’t be upgraded safely
- The business has changed so much that the original design no longer fits
- Maintaining the old system consistently takes more effort than replacing it would
The middle path: replace it piece by piece
Often the best answer is gradual replacement. New features are built as separate modules that talk to the old system through APIs, and old parts are retired one at a time. The business keeps running throughout, and each step can be tested on its own. Engineers sometimes call this the strangler fig pattern, after a plant that slowly grows around a tree.
Frequently asked questions
How often should software be updated?
Security patches should go in as soon as they’re tested. Routine dependency updates are best done on a regular schedule, such as monthly, so the system never falls far behind.
Is software maintenance the same as support?
Not quite. Support usually means helping users and responding to problems. Maintenance also includes the preventive and adaptive work that stops problems from happening in the first place.
Can a different team maintain software we didn’t build with them?
Yes. A new team usually starts with a review of the code, hosting and documentation, then fixes the riskiest issues first. Owning your repository and accounts makes that handover far simpler.
Is technical debt always bad?
No. Taking a shortcut to meet an important deadline can be the right business decision. It becomes a problem when nobody records it and nobody plans to pay it back.
What does software maintenance cost?
It depends on the size of the system, its integrations, how critical it is and how fast your business changes. The reliable way to know is a review of your actual system followed by a written estimate.
Keep your software healthy
Software that’s looked after keeps paying for itself. Software that’s ignored slowly becomes a liability. If you’d like a clear view of where your system stands, we maintain and improve systems built through our custom software development service, and we can review software built by other teams too. Contact us for a free estimate and an honest assessment of what your software needs.