How technical debt affects the cost of change
Technical debt shows up in the time and effort required to change software. A team may have deferred tests to hit a launch date, or a design that suited the business two years ago may no longer fit. When the team makes a related change, it may spend extra time working around the design or checking for problems manually.
Martin Fowler illustrates the trade-off with a feature that takes six days to build when the system’s structure is hard to change and four days after cleanup. In the debt analogy, the two extra days for each feature are interest. The five days to clean up the structure are the principal. If there is only one feature to build, cleanup plus delivery takes nine days. Fowler’s explanation of technical debt
Three similar features would cost 18 days at the old rate or 17 days after the cleanup, including the five days of cleanup work. The decision depends on how many changes you expect to make in that part of the system and how much time each would save.
Where the term came from
Ward Cunningham used the debt analogy in a 1992 report on a portfolio management system. He described how releasing an early design can speed up delivery if the team revisits it once it understands the problem better. If the team keeps adding to an early design without revisiting it, later work can become harder to understand and change. Cunningham’s experience report
Use the term for code or a design choice that you would change now because it adds time or risk to the work. If the team cannot identify the cost, ask for an example that shows how the issue affects a release, a customer, or an operational decision.
Four ways technical debt arises
Fowler's Technical Debt Quadrant asks two questions about how the debt arose. Did the team take it on deliberately? Was the decision prudent given what the team knew at the time? The answers help determine whether to allow for repayment, change the review process, or both.
Fowler's technical debt quadrant, with business examples
| Debt was taken on | Reckless | Prudent |
|---|---|---|
| Deliberately | The team skipped design and tests to go faster, with no plan to return | The team shipped a simpler version before a fixed launch date and recorded what to fix after |
| Inadvertently | The team did not know good practices and built a tangle without realizing it | A capable team learned during the project that a better design exists |
Prudent debt can arise in two ways. A team can knowingly choose a simpler design to meet a deadline and record the work it will need to return to. It can also discover a better design only after people have used the first one.
When a team knowingly leaves a risky shortcut without a plan, review how deadlines and release decisions are made. When the risk went unnoticed, review whether the team needs training, experienced support or closer technical review. Time to repair the code may help with the current issue. The team also needs a way to recognize the issue next time.
Symptoms you can see without reading code
Look for changes that regularly take longer or carry more risk than the work itself would explain. Ask the team where the extra effort comes from.
- Simple changes take surprisingly long. A new field on a form takes a week, and the explanation involves several other parts of the system.
- Fixes break other things. A bug fix in invoicing causes a new bug in reports. The same area keeps returning to the bug list.
- The team is afraid to release. The team rarely releases during ordinary operating hours and needs several people on standby. Some changes wait for weeks while the team looks for a safe opportunity to deploy.
- Only one person understands a part of the system. When that person is away, work in that area stops.
- Estimates keep growing. The team adds a buffer to every estimate for "unknowns" that turn out to be the same problems each time.
- Upgrades are always postponed. The framework or runtime is several versions behind because nobody wants to touch it.
Look for recurring workarounds or delays that the team can connect to a specific part of the system. Ask for a recent example.
You can track these symptoms without technical tools. Ask the team for four numbers each month: how many releases went to production, how long a typical small change took from request to release, how many releases needed a fix or rollback afterward, and how many hours went to unplanned work. Watch the trends for several months and compare them with the debt register. A change in these measures can have several causes. Use them to test whether a particular repair reduced the delay or repeat work it was meant to address.
Make the debt visible with a register
Keep a shared debt register. Describe each issue in terms a business owner can weigh, including its effect on delivery or operations and how the team measured it.
Write each entry with enough detail to act on it. For example, discount rules appear in four places. A price change takes about three days, and two invoices were wrong last quarter after a change.
| Item | Business effect | Evidence | Fix | Rough size |
|---|---|---|---|---|
| Discount rules duplicated in four places | Pricing changes slow and error-prone | Two invoice errors last quarter | Move rules into one module with tests | 1-2 weeks |
| No automated tests on checkout | Releases need a full day of manual testing | Release log | Add end-to-end tests for main payment paths | 1 week |
| Framework two major versions behind | Security fixes ending, packages blocked | Official support dates | Stepwise upgrade | 2-4 weeks |
| Reports query the live database directly | Slow pages during month-end | Monitoring data | Move reports to a read replica | 1 week |
Use the business effect and evidence to decide whether to act. Estimate the effort to compare each fix with other work. Keep the register where the team plans delivery, review it monthly, and add a record when the team deliberately accepts a shortcut.
Each entry in a debt register should state
- The problemOne specific weakness, located in the system
- Business effectWhat it slows, breaks or puts at risk
- EvidenceIncidents, delays, monitoring data or support dates
- Proposed fixWhat would remove or reduce the problem
- Rough sizeAn estimate good enough to compare items
- Owner and dateWho added it and when, so it can be reviewed
Rank debt by business impact
An awkward module may add little cost if it works reliably and rarely changes. The same kind of problem in a module the team changes every week can take up a substantial part of the delivery budget.
Rank items by asking three questions. How often do we change this area? What does the debt cost each time, in delay, bugs or risk? How much would it cost to fix? An item in a busy area with a high cost per change and a modest fix goes to the top. Assign a lower priority to an item in an area that rarely changes when it has little operational impact.
Should we pay down this debt item now?
How often does the business need changes in this part of the system?
- Often, and each change is slow or riskyFix it soon, ideally just before the next planned feature in that area
- Rarely, but it creates a security or data riskFix it on its own schedule as risk reduction
- Rarely, and it works reliablyLeave it in the register and review it next quarter
- The area is being replaced soonFocus on the replacement unless the current system carries a material risk before retirement
A useful habit is to pay debt where you are already working. When a feature request touches a part of the system with registered debt, include the fix in that feature's estimate. The team can share investigation and testing effort and check whether the repair makes the related change easier.
Assess security-related debt by impact and exposure. An unsupported framework or a missing access check may need urgent attention even in an area the team rarely changes. Our guide to framework and runtime end-of-life explains how to schedule that kind of work.
Budget a steady share of capacity
A "refactoring sprint" can clear specific items. If the team goes back to the same way of planning and releasing work afterward, new debt can build up and the business may see little benefit from the time it set aside.
Assign a regular share of monthly or sprint capacity to the highest-priority items in the register. The exact share is a judgment for your situation. A system with heavy debt and frequent incidents needs more. A clean, stable system needs less. Review the share each quarter against two questions: is the register shrinking, and are changes getting faster?
Protect that time from feature pressure. If every urgent request can take it, it disappears. If you need to borrow it for a genuine deadline, record the borrowing in the register, which is exactly the prudent, deliberate debt in Fowler's quadrant.
Automated tests can reduce repeated checks during repairs and give the team evidence that the behavior covered by the tests still works. DORA links fast, reliable automated tests with more stable delivery, lower deployment pain and reduced team burnout. DORA on test automation If your register has a "no tests" item near the top, start there. Our guide to software maintenance budgets shows how this work fits into a yearly figure.
AI-generated code and technical debt
AI coding assistants change how quickly code is written, and that has direct consequences for debt. Code generated in seconds still has to be understood, tested and maintained by someone. When a team accepts more generated code than it can examine, it may inherit design decisions it cannot explain or maintain.
DORA linked greater AI adoption in 2024 with higher individual productivity and lower delivery throughput and stability. In 2025 it reported higher throughput alongside greater delivery instability. These studies describe associations in their samples. Measure whether review and testing keep pace in your team, and check how often releases need fixes. 2024 DORA report 2025 DORA report
A few rules keep AI-assisted work from building hidden debt. Generated code goes through the same review as any other code. Changes stay small enough to review properly. New code comes with tests. And someone on the team can explain every part that goes into production. If you have inherited an application built largely with AI tools, our guide to fixing an inherited or AI-generated app covers how to assess it.
When to stop paying interest and rebuild a part
Consider replacement if incremental repairs would cost more in a specific part of the system. That may be the case when every change touches the same module, the design no longer fits the business, or a component depends on unsupported technology with no workable upgrade path.
Even then, a full rewrite of the whole system is rarely the answer. A full rewrite can take longer than planned while the original system still needs maintenance. When the components can be separated, consider replacing one at a time. Keep a way to compare results or return to the original path until the new component is verified. Our guide to legacy modernization with the strangler fig approach describes how.
Use the register to compare repair and replacement against the same evidence. Each item should say what is wrong, how it affects the business, and what it would take to change it. Our maintenance and improvement service can help build the register and a repayment plan. Contact us to discuss your system.
Questions buyers ask
Is technical debt always bad?
A temporary shortcut can be a sound business decision when it helps meet a real deadline and there is a record of its cost and a plan to address it. Revisit the choice if the shortcut keeps adding time or risk to later changes.
How do we know how much technical debt we have?
Keep a register of specific problems, their business effects, the evidence and the estimated work to fix them. Slower changes, more fixes after release or fewer releases can point to growing debt. Investigate the cause before interpreting these signals.
How much time should developers spend on technical debt?
Agree a steady share of each month or sprint with your team, review it each quarter and adjust it against the register. The right share depends on how much debt you carry and how much it is costing. Avoid both extremes: no time at all, or long freezes where nothing else ships.
Does AI-generated code create more technical debt?
It can when code is accepted without enough review, testing or understanding. DORA’s 2024 and 2025 reports found different relationships between AI adoption and delivery throughput, and both found signs of instability. Track the performance of your own releases and keep changes small enough to review.