Assessment type · Engineering

Tech Debt Prioritization

You can’t pay off all your technical debt, and you don’t need to. Rate each item by the pain it causes and the cost to fix it, and start with the debt that hurts most and costs least.

Start a tech debt prioritization Free template · no account needed

Every codebase carries debt: the shortcut taken before a deadline, the library three major versions behind, the test suite everyone has learned to rerun. Each engineer has a favorite item to fix, and the list only grows.

Asking for time to “fix tech debt” rarely works, because it sounds endless. Asking for two days to fix the thing that costs the team an hour every day does. A tech debt prioritization turns a vague backlog into that kind of case.

What is tech debt prioritization?

Technical debt is the future cost of past technical decisions. Like financial debt it charges interest: the extra time, bugs and risk the team pays for as long as the debt stays. And like financial debt, some of it is cheap to carry and some is ruinous.

Prioritizing it means comparing, for every debt item, the interest you’re paying with the price of paying it off. Debt that hurts a lot and is cheap to fix goes first. Debt that barely hurts and would take a quarter to remove can stay, perhaps forever.

The two scales

The FreeAssess template uses four levels on each axis:

  • Pain caused Low, Medium, High, Severe. How much the debt slows the team down or causes failures: time lost per week, incidents, bugs, how much new work it blocks.
  • Cost to fix Small, Medium, Large, Huge. How much work the fix takes, including testing, migration and the risk of breaking something.

Cost to fix is marked “low is better,” and the grid is colored by both together: the hottest corner is severe pain at a small cost, the coolest is low pain at a huge cost. The results rank the items from hottest to coolest.

Try it: a backend team’s debt list

Six items from an imaginary team’s debt backlog. Two are rated; place the others and see what the grid recommends.

Which debt would you pay down first?

Interactive example

Drag an item onto the grid, or select it and then click a square. With the keyboard, focus an item, move it with the arrow keys, and press Delete to take it off the grid.

To place
What the grid says
  1. Flaky end-to-end tests, rerun several times a day Fix now It pays for itself quickly.
  2. Rewrite the billing module Leave it Not worth the cost today. Break it down or wait.
  3. CI pipeline takes 40 minutes Not placed yet
  4. Framework is three major versions behind Not placed yet
  5. Unused feature flags in the code Not placed yet
  6. Two date libraries doing the same job Not placed yet

Notice where the billing rewrite lands. The pain is real, but as one huge item it loses to cheaper fixes. The usual answer is to split it: find the part of the module that causes most of the pain, and rate that on its own.

How to run a session

  1. Build the list. Ask every engineer for the debt that slows them down most. Keep items concrete: “the order service has no integration tests,” not “improve quality.”
  2. Describe the pain. For each item, note what it costs today: hours lost, incidents, features that take longer because of it.
  3. Rate independently. Everyone places each item. People who work in different parts of the system feel different pain, and the average is fairer than any one view.
  4. Discuss the spread. Wide disagreement on cost usually means nobody has looked closely yet. Agree on a short investigation before deciding.
  5. Take the hot corner. Commit to the hottest items and schedule the ones that come next.
  6. Make it a habit. Reserve a steady share of each sprint for debt and rerun the rating every quarter, because both the pain and the cost change.

Turn the debt backlog into a plan.

The whole team rates the list from their own screens in a few minutes. Walk into planning with a ranking everyone helped to make.

Start tech debt prioritization free template

Where is it used?

  • Quarterly planning Choosing the debt work that goes on the roadmap next to features.
  • Sprint planning Filling the capacity reserved for maintenance with the right items.
  • Engineering retrospectives Ranking the “this keeps slowing us down” items.
  • Talking to product and management Explaining debt work in terms of pain removed per day of effort.
  • Platform and infrastructure teams Prioritizing upgrades, migrations and tooling improvements.
  • After an incident Deciding which of the weaknesses found in a review to address first.

Advantages and disadvantages

Advantages

  • Makes the case. Pain against cost is an argument non-engineers can follow.
  • Ends pet projects. A favorite refactoring has to earn its place.
  • Finds cheap wins. Small fixes with a big effect are easy to overlook in a long list.
  • Whole-team view. Pain felt in one corner of the system becomes visible to everyone.

Disadvantages

  • Estimates are rough. The cost of a fix in old code is hard to judge before you start.
  • Favors small items. Large structural debt can lose every time unless it’s split up.
  • Pain is uneven. What cripples one team may be invisible to another.
  • Misses future risk. Debt that doesn’t hurt yet, such as an unsupported dependency, needs a risk analysis too.

Background

Ward Cunningham introduced the debt metaphor in 1992, in an experience report about a financial software project: shipping code you know is imperfect is like taking on debt, useful as long as you repay it, with interest paid on every change in the meantime. In 2009 Martin Fowler added the technical debt quadrant, which separates deliberate from inadvertent and prudent from reckless debt. The pain and cost grid applies the same financial logic to the practical question of what to repay first.

Related tools

Pay down the debt that’s costing you most

Let the whole engineering team rate the debt list, and take a ranked, defensible plan to planning.

We use cookies to improve your experience, analyze traffic, and serve personalized ads. Read more in our Cookie Policy.