Prioritizing technical debt works when the list is ranked by the work ahead, not by the state of the code. Put first anything with a date on it, such as a platform losing security fixes.
Next come the items that the changes planned for the next two quarters will have to pass through. Write the rest down, with a date to look again, and leave it alone. A list of thirty items usually becomes four or five that matter this year.
The head of digital at a recruitment agency has two lists on the table. One is the plan for the next six months: candidate alerts by text message, a new employer dashboard, job pages in a second language.
The other is the developers' list of technical debt, thirty-one items long, each marked high, medium or low. Eleven are high. She is asked to choose, and both lists look urgent.
Why prioritizing technical debt by the code goes wrong
A debt list is usually written by the people who see the code, and it is ranked by what they see: how untidy a part is, how old, how risky it feels to touch. Those are real observations. They are not the order in which the business should pay.
The cost of debt depends on how often you change the part where it sits. Martin Fowler puts it in one sentence: "The extra effort that it takes to add new features is the interest paid on the debt." No new feature through a part, no interest.
From that he draws the rule that matters for an order of work: "crufty but stable areas of code can be left alone", while "areas of high activity need a zero-tolerance attitude to cruft". How to put a figure on that interest is set out in the cost of technical debt.
The step most lists skip is the next one. "High activity" means the past, and the developers can see it in the history. What the business will change next lives in the plan on the head of digital's desk, and only she can put the two lists side by side.
Three bands, decided by the work ahead
Read each item on the debt list once against the dates and once against the plan. Every item falls into one of three bands.
- Dated. Anything that has a deadline whatever you plan: a platform or component whose support ends, a weakness that is known to be exploited. Dated items go first, in date order.
- On the path. Items that a planned change has to pass through. Write the next two quarters' changes across the top of a page and the debt items down the side, and mark each crossing. More crossings come first, and an item that stops a planned change outright comes before all of them.
- Off the path. Everything nobody plans to touch. It stays on the list and is given a date, usually the next planning round, when it is read again against the new plan.
Both kinds of date can be found. The US Cybersecurity and Infrastructure Security Agency keeps a public catalogue of weaknesses known to be exploited. It says organisations "should use the KEV catalog as an input to their vulnerability management prioritization framework".
Its guidance to software makers says they "should clearly communicate the period of support for their products at the time of sale", so a support date can be asked for.
The band does not say how bad the code is. It says when paying for it starts to return something. The kinds of debt on a typical list, such as platform, code and knowledge debt, are described in types of technical debt. Any of them can land in any band.
Paying for the items on the path
Items on the path are paid as part of the change that needs them: the estimate for the employer dashboard includes untangling the account code it passes through, and says so. This is the habit described in managing technical debt as a routine, not a rescue, applied with the plan in view.
Three decisions in this belong to the person who holds the plan, not to the developers:
- Which changes are really planned. A change that is "maybe next year" does not pull debt onto the path. If it is moved forward later, so is its debt.
- How much larger the estimates may be. Paying debt on the path makes each planned change somewhat larger. Agree that in advance, or the repair will be the first thing cut when a date is tight.
- When the bands no longer fit. If most of the plan crosses the same few parts, and those parts are also dated, repair is turning into replacement. That is a different decision, with its own questions, and for a product that customers pay for they are set out in software product modernization.
The job board's thirty-one items, put in order
The recruitment agency is invented; its list is typical. The head of digital and the lead developer read the thirty-one items against the dates first.
Two are dated. The text-message provider the site uses for interview reminders retires its old interface in April. The site's framework stops receiving security fixes in the autumn. Both go first, in that order.
Then the crossings. Candidate alerts by text pass through the same messaging code as the reminders, so they wait for the April work and are built on its result.
The employer dashboard crosses four items in the account and permissions code, one of which, a single administrator role shared by every employer user, blocks it outright. The second language crosses two items in how job pages are put together. Six items are on the path.
The remaining twenty-three are off it. Nine of the eleven marked high are among them, most in the candidate search, which works and appears nowhere in the plan. They are written down, with the next planning round as their date.
The six months now have an order: the messaging interface, then alerts; the framework update before the autumn; the dashboard, with its four items in its estimate. The developers' high ratings were accurate about the code. They were not a plan.
Ordering your list before the next planning meeting
- Ask for the debt list as it is, one line an item. Do not ask for scores.
- For each item, ask whether anything has a date: end of support, a provider's deadline, a known weakness.
- Write the next two quarters' planned changes across the top and mark which items each one crosses.
- Give everything off the path a date to be read again, and agree how much larger the planned estimates will be.
If the dated items and the crossings all point at the platform under a website or web application, the order of work becomes a modernization plan. Our website modernization work starts with a fixed-scope assessment that sets out a phased roadmap, with dependencies and the measurements to track.
Sources
- Martin Fowler, Technical Debt, 2019.
- Cybersecurity and Infrastructure Security Agency, Known Exploited Vulnerabilities Catalog.
- Cybersecurity and Infrastructure Security Agency and FBI, Product Security Bad Practices, 2025.
Keep reading
Legacy technical debt: the debt nobody decided to take
Much technical debt was never a decision: the world moved, the team learned, the knowledge left. Why it stays hidden, and four questions that find it.Reducing technical debt: what the work consists of
Reducing technical debt is one of four kinds of work: remove, update, contain or rebuild. What each costs, the order to do them in, and the proof to ask for.Managing technical debt as a routine, not a rescue
Clean-up projects stall because the business cannot stop for them. Four habits that keep technical debt in hand, and the decisions only the owner makes.