Scrum guide · Artifacts and practices
Technical Debt in Scrum: How to Spot, Track and Pay It Down
Technical debt in Scrum is the extra work a team creates for its future Sprints when it chooses a quick solution today instead of a better one that would take longer. Scrum handles it through transparency: you make debt visible in the Product Backlog, stop new debt with a strong Definition of Done, and pay existing debt down a little every Sprint. This guide shows you how to spot it, who decides when to fix it, and a step-by-step process with templates and a worked example.
Key takeaways
- Technical debt has a principal (the cost of fixing it) and interest (the extra effort every future change costs until you do). Prioritise debt by its interest, not by how ugly the code looks.
- The 2020 Scrum Guide never uses the term, but its tools cover it: debt items belong in the Product Backlog, and the Definition of Done prevents new debt reaching the Increment.
- The whole Scrum Team owns quality. Developers make the cost of debt visible; the Product Owner orders it against features; the Scrum Master helps the team keep it visible and under control.
- Pay debt down continuously: refactor as part of normal work, reserve some Sprint capacity, and turn larger debt into ordered backlog items. Debt-only Sprints are a last resort.
- Explain debt to stakeholders in business terms, such as slower delivery, incidents and risk, and show progress at the Sprint Review.
- Not all debt is bad. Deliberate, short-term debt taken to learn or hit a real deadline can be wise, as long as it is recorded and repaid.
What is technical debt in Scrum?
Technical debt in Scrum is the future rework a Scrum Team takes on when it picks a quick or easy solution instead of a better one. It shows up as slower changes, more defects and riskier releases. Like financial debt, it has a principal to repay and interest that grows each Sprint until the team repays it.
Ward Cunningham introduced the debt metaphor in 1992 to explain to business colleagues why the team needed time to restructure working code. The idea is simple. Shipping a shortcut is like borrowing: you get something sooner. The principal is the effort needed to put the shortcut right. The interest is the extra effort every later change costs because the shortcut is still there: the manual test you have to run, the tangled module you have to work around, the one person who has to be consulted.
The 2020 Scrum Guide does not use the term technical debt. It does not need to. Its commitments already cover it: every Increment must meet the Definition of Done, the Product Backlog is the single source of work, and transparency means everyone can see the real state of the product. Debt that is hidden breaks all three.
Types of technical debt
Debt is not only messy code. Naming the type helps you estimate and explain it.
| Type | What it looks like | Typical symptom |
|---|---|---|
| Code debt | Duplicated logic, long methods, unclear names, dead code | Simple changes take longer than they should |
| Design and architecture debt | Tightly coupled modules, a structure that no longer fits the product | A change in one area breaks something unrelated |
| Test debt | Missing or flaky automated tests, reliance on manual regression | Releases need a long manual test phase; defects escape |
| Build, infrastructure and dependency debt | Slow pipelines, manual deployments, outdated libraries and frameworks | Deployments are rare and stressful; security patches are hard to apply |
| Documentation and knowledge debt | Undocumented decisions, knowledge held by one person | Work stalls when that person is away; onboarding is slow |
| Defect debt | Known bugs deferred Sprint after Sprint | Support load grows and workarounds pile up |
The technical debt quadrant
Martin Fowler's technical debt quadrant (2009) sorts debt by two questions: was it deliberate or inadvertent, and was it prudent or reckless? It is useful in a Retrospective because each cell calls for a different response.
| Reckless | Prudent | |
|---|---|---|
| Deliberate | The team knowingly skips design or tests because it believes it has no time. Response: challenge the trade-off; it is usually a false saving. | The team knowingly ships a simpler solution to meet a real deadline or test an idea, and records the debt. Response: create a backlog item and agree when to repay it. |
| Inadvertent | The team does not know good practice, so it creates debt without noticing. Response: training, pairing, code review and a stronger Definition of Done. | The team learns, after building something, how it should have been designed. Response: expected and healthy; refactor as you learn. |
What causes technical debt in Scrum?
Most debt comes from a small set of causes. Recognising yours tells you whether to fix the debt, the process that created it, or both.
- Overcommitted Sprints. When a team pulls in more than it can finish properly, quality is what gives.
- A weak Definition of Done. If Done does not include automated tests, code review or documentation, shortcuts become part of every Increment by default.
- Missing automation. Without automated tests and deployment, every change carries manual effort and risk, and teams avoid touching fragile areas.
- Changing requirements. A design built for last quarter's needs becomes debt when the product moves on. That is normal; it becomes a problem only when nobody refactors.
- Outdated libraries and infrastructure. Skipping regular upgrades turns a small job into a large migration.
- Knowledge held by one person. Code only one Developer understands is a form of debt, because every change depends on them.
- No time for refactoring. If the Product Owner sees every Sprint as feature capacity only, debt accumulates silently.
- "Nearly Done" work. Items counted as finished but carrying hidden to-dos create debt that nobody has recorded.
Warning signs your technical debt is growing
Debt rarely announces itself. Look for these signals, and check them with data rather than impressions.
| Signal | What you notice | How to check |
|---|---|---|
| Simple changes take longer | Estimates for small items keep growing | Compare cycle time for similar items over several Sprints |
| Falling or erratic velocity | The team completes less, or wildly different amounts, each Sprint | Look at the velocity trend, not single Sprints |
| More escaped defects | Users report bugs that tests should have caught | Track defects found after release per Sprint |
| No-go areas | Developers avoid certain modules or always ask the same person | Ask in the Retrospective; review who changes which files |
| Slow or fragile pipeline | Builds are slow, tests are flaky, deployments need heroics | Measure build time and failed deployments |
| Growing workaround list | Support and operations keep manual fixes going | Count recurring incidents and manual steps |
Who is responsible for technical debt in Scrum?
The Scrum Guide makes the whole Scrum Team accountable for creating a valuable, useful Increment every Sprint, so quality is a shared responsibility. Within that, each accountability plays a different part. See our guide to Scrum Team roles for the full picture.
| Accountability | Role in managing technical debt |
|---|---|
| Developers | Instil quality by following the Definition of Done; spot and record debt; explain its principal and interest in plain terms; decide how to do the work, including refactoring inside items; refuse to call work Done when it is not |
| Product Owner | Orders the Product Backlog, including debt items, by weighing their cost against features; makes sure stakeholders understand the trade-off |
| Scrum Master | Helps the team keep debt transparent, coaches on technical practices and the Definition of Done, and removes impediments such as pressure to skip quality |
| Stakeholders and managers | Respect the Product Owner's ordering and the Definition of Done; avoid pushing for scope that forces shortcuts |
How Scrum events and artifacts help you manage debt
You do not need extra meetings for technical debt. Each part of Scrum already has a job to do.
| Event or artifact | What to do about technical debt |
|---|---|
| Product Backlog | Record debt as ordered items with a clear description of cost, so it competes openly with features |
| Backlog refinement | Break large debt into Sprint-sized items, estimate them and note the interest each one costs |
| Sprint Planning | Agree how much capacity goes to debt and whether a debt item supports the Sprint Goal |
| Sprint Backlog | Include the refactoring tasks needed to finish selected items properly |
| Daily Scrum | Raise newly discovered debt that threatens the Sprint Goal |
| Increment and Definition of Done | Stop new debt reaching the product; anything that does not meet Done goes back to the Product Backlog |
| Sprint Review | Show stakeholders what debt is costing and what repaying it has achieved |
| Sprint Retrospective | Find the causes of new debt and strengthen the Definition of Done |
How to manage technical debt in Scrum, step by step
This nine-step process works for a single team and can be repeated every few Sprints.
- Take an inventory. With the Developers, list the debt everyone knows about: where changes are slow, what breaks often and what people avoid. Start with what hurts.
- Write each piece of debt as a backlog item. Describe the problem, the impact today and the proposed fix. Use the format in the next section.
- Estimate the principal. Size the fix the same way you size other items, for example in story points or days.
- Estimate the interest. Ask how often the team touches the area and how much extra effort, risk or support each change costs. A rough figure per Sprint is enough.
- Order the debt with the Product Owner. Put high-interest, low-principal items near the top. Leave debt in code nobody changes near the bottom; its interest is close to zero.
- Choose a paydown strategy. Combine continuous refactoring with a share of capacity or specific backlog items (see the strategies table below).
- Plan it into Sprints. At Sprint Planning, include debt items or capacity explicitly. Where possible, link debt work to the Sprint Goal, for example by refactoring the module the next feature depends on.
- Close the tap. Strengthen the Definition of Done so the same type of debt is not created again.
- Inspect and adapt. Show progress at the Sprint Review, check the signals in the Retrospective, and revisit the inventory every few Sprints.
If you also track project risks, add any debt that could cause a serious outage or security issue to your risk register so it is visible beyond the team.
How to write a technical debt backlog item
A debt item is easiest to prioritise when it reads like any other item: who benefits, what changes and how you will know it is finished.
| Field | What to write |
|---|---|
| Title | A short, specific name, such as "Add automated tests to invoice calculation" |
| Problem | What the debt is and where it sits |
| Interest (cost today) | Extra effort, defects, incidents or risk it causes, with rough numbers |
| Proposed fix (principal) | What the team will do and an estimate |
| Benefit | What gets faster, safer or cheaper once it is fixed |
| Acceptance criteria | How the team and Product Owner will know it is done |
| Type and label | For example test debt, label tech-debt, so it can be filtered and reported |
Example: a filled-in debt item
The following example is illustrative.
- Title: Add automated regression tests to invoice calculation.
- Problem: The invoice calculation module has no automated tests. Every change needs about a day of manual regression testing.
- Interest: The team changes this module three or four times a Sprint, so roughly three to four Developer-days of manual testing per Sprint. Two of the last five releases had invoicing defects.
- Proposed fix: Write characterisation tests covering the current behaviour, then add them to the pipeline. Estimate: 8 story points (about 8 Developer-days).
- Benefit: Manual regression testing for this module falls to near zero; invoicing defects should be caught before release.
- Acceptance criteria: Tests cover all current tax and discount rules; tests run on every commit; the pipeline fails if they fail; the manual test script is retired.
You can also write it as a user story: "As a Developer changing invoice rules, I want automated regression tests so that I can release changes without a day of manual testing." Our free user story template and product backlog template both have room for a type or label column.
Strategies for paying down technical debt
There is no single right strategy. Most mature teams combine the first two and use the third for larger debt.
| Strategy | How it works | Strengths | Watch out for | Use when |
|---|---|---|---|---|
| Continuous refactoring | Improve code you touch as part of each item (the "leave it better than you found it" habit) | No negotiation needed; debt shrinks where work happens | Can make estimates uneven; does not reach areas nobody touches | Always, as a baseline |
| Capacity allocation | Reserve a share of each Sprint for debt and improvement work | Predictable; easy for stakeholders to understand | The share can become a ritual rather than a decision | Debt is steady and spread across the product |
| Dedicated backlog items | Turn larger debt into ordered Product Backlog items | Fully transparent; competes on value | Items can be postponed for ever if interest is not explained | Debt needs focused work of a day or more |
| Debt-only Sprints | Spend a whole Sprint on clean-up | Fast progress on a backlog of debt | Delivers little visible value; can signal debt is "someone else's problem" the rest of the time | Rarely; after a crisis or before a major change |
| Rewrite or replace | Rebuild a component from scratch | Removes deep architectural debt | High risk and cost; the old system still needs support meanwhile | Only when incremental change is clearly impossible |
How much Sprint capacity should go on technical debt?
There is no rule in the Scrum Guide and no agreed industry standard. Many teams start by reserving a modest share of capacity, often somewhere between 10% and 20%, and adjust it based on the trend in their warning signs. If cycle time and defects are improving, the share is working. If they are getting worse, raise it for a few Sprints, or move a specific high-interest item up the backlog. Make the decision at Sprint Planning with the Product Owner, using capacity planning so the debt work is visible rather than hidden inside feature estimates.
Worked example: paying down debt over six Sprints
The following example is illustrative. The team, numbers and timings are invented to show how principal and interest guide decisions.
Starting point. A team of six Developers runs two-week Sprints on a subscription billing product, with about 60 Developer-days of capacity per Sprint. The invoice module has no automated tests and is tightly coupled to tax rules. The team touches it about four times a Sprint, and each change costs roughly three extra Developer-days in manual testing and untangling. That is about 12 Developer-days of interest per Sprint, or a fifth of capacity.
Sizing the decision
- Principal: characterisation tests (about 8 days), extracting invoice calculation into its own module (about 9 days) and separating tax rules (about 5 days): 22 Developer-days in total.
- Interest after the fix: the team expects each change to cost well under a day extra, so about 3 Developer-days per Sprint.
- Saving: about 9 Developer-days per Sprint. The fix pays for itself in roughly two and a half Sprints (22 ÷ 9), and every Sprint after that is a gain.
Faced with those numbers, the Product Owner moves the three debt items above two lower-value features and agrees to spend around 15% of capacity on them for three Sprints, rather than stopping feature work.
Sprint by Sprint
| Sprint | Debt work completed | Interest on invoice changes (Developer-days) | Feature points completed |
|---|---|---|---|
| Before | None | 12 | 30 (typical) |
| 1 | Characterisation tests added and running in the pipeline | 12 | 26 |
| 2 | Invoice calculation extracted into its own module | 9 | 26 |
| 3 | Tax rules separated; dead code removed | 6 | 29 |
| 4 | Continuous refactoring only | 4 | 32 |
| 5 | Continuous refactoring only | 3 | 34 |
| 6 | Continuous refactoring only | 3 | 34 |
What changed. Feature output dipped for two Sprints, then rose above the old level as interest fell. Invoicing defects stopped appearing in releases. The team also added "automated tests updated for changed behaviour" to its Definition of Done so the module does not slide back. Points here are only a planning signal for this team; do not compare them across teams or use them as a target, as our guide to Scrum metrics and KPIs explains.
How to measure technical debt
There is no single number for technical debt. Use a small set of indicators, watch their trend and pair them with the team's judgement.
| Measure | What it tells you | Caution |
|---|---|---|
| Cycle time for similar items | Whether everyday changes are getting slower | Compare like with like |
| Escaped defects per Sprint or release | Whether quality problems reach users | Depends on how defects are recorded |
| Build and deployment time; failed deployments | Health of the pipeline and infrastructure | One-off incidents can skew it |
| Automated test coverage trend | Whether test debt is shrinking | High coverage does not prove good tests |
| Static analysis findings | Code smells, duplication and complexity | Tools find code issues, not design or knowledge debt |
| Debt items in the backlog: count, age and estimated interest | Whether known debt is being repaid | Only covers debt someone has recorded |
| Team perception | Where Developers feel slowed down | Subjective, but often the earliest signal |
Static analysis tools can estimate remediation effort for code issues. Treat such figures as a guide, because they cannot see architectural, test or knowledge debt.
How to explain technical debt to stakeholders
Stakeholders rarely care about code structure. They care about speed, reliability, risk and cost. Translate debt into those terms.
- Talk about interest, not code. "Changes to invoicing take three times longer than elsewhere and caused two of our last five production incidents."
- Show the payback. "About three weeks of focused work would recover roughly nine Developer-days every Sprint after that."
- Offer options. "We can repay it over three Sprints alongside features, or do nothing and accept slower delivery in this area."
- Connect it to goals. "The new pricing plans on the roadmap all change invoicing. Fixing this first makes them cheaper and safer."
The Sprint Review is the natural place for this conversation: show the trend in one or two measures, what debt work was completed and what it changed. Over time, stakeholders come to see debt paydown as part of delivering value. See our guide to the Sprint Review for how to run that conversation well.
Preventing new debt with the Definition of Done
Paying down old debt is pointless if every Sprint adds more. The Definition of Done is Scrum's main defence: it is the quality standard every Increment must meet, and anything that does not meet it returns to the Product Backlog rather than being released.
A Definition of Done aimed at preventing debt might include the following. Treat it as an example to adapt, not a standard.
- Code reviewed by at least one other Developer.
- Automated tests written or updated for new and changed behaviour, and all tests passing.
- No new static analysis issues above an agreed severity.
- Integrated into the main branch and deployed to a test environment through the pipeline.
- Dependencies added or upgraded are on supported versions.
- Significant design decisions recorded where the team will find them.
- Product Owner has checked the acceptance criteria.
Strengthen the Definition of Done gradually. Each Retrospective, ask which debt appeared this Sprint and what one addition to Done would have prevented it. Our Sprint Retrospective template has space to record that action. See our full guide to the Definition of Done.
Common technical debt mistakes in Scrum
- Hiding debt. Keeping debt in Developers' heads or a private list means the Product Owner cannot weigh it. Put it in the Product Backlog.
- Describing debt in technical terms only. "Refactor the service layer" will lose to almost any feature. Describe the interest in time, defects and risk.
- Repaying debt nobody pays interest on. Cleaning up stable code that never changes feels good but returns little.
- Treating a weak Definition of Done as normal. If Done regularly means "done apart from tests", the team is creating debt by design.
- Inflating feature estimates to sneak in clean-up. It hides the real cost from the Product Owner. Be explicit instead.
- Relying on debt-only Sprints. They treat the symptom and suggest debt is acceptable the rest of the time.
- Big-bang rewrites. Rebuilding from scratch is rarely the fastest route; incremental refactoring keeps delivering value and lowers risk.
- Blaming individuals. Most debt is a rational response to pressure or a result of learning. Fix the system, not the person.
Tools for tracking technical debt
You do not need a special tool. Debt should live in the same backlog as everything else, where it can be filtered and reported.
- In your backlog tool, use a label, issue type or custom field (for example tech-debt) plus a field for estimated interest. Jira supports custom issue types, labels and filters that many software teams use for this. Wrike, our top-rated project management tool, lets you add custom fields and build dashboards, which helps when debt needs to be visible to managers and stakeholders outside the team.
- In your codebase, static analysis tools flag code smells, duplication and complexity, and many integrate with the pipeline so new issues fail the build.
Whichever tool you use, avoid a separate "debt backlog" that nobody orders. Read our guide to Scrum software tools to compare options.
Free templates for this topic
Frequently asked questions
What is technical debt in Scrum?
It is the future rework a team creates when it chooses a quick solution instead of a better one. It slows later Sprints through extra effort, defects and risk until the team repays it.
Who coined the term technical debt?
Ward Cunningham introduced the debt metaphor in 1992 to explain to business stakeholders why refactoring working code was worth the time.
Who decides when to pay down technical debt?
The Product Owner orders the Product Backlog, so they decide when debt items are worked on, informed by Developers who explain the cost of the debt. Developers decide how to do their work, including refactoring inside the items they build. The best decisions come from the two working together.
Should technical debt go on the Product Backlog?
Yes. Recording debt as Product Backlog items makes it transparent and lets the Product Owner weigh it against features. Small clean-ups done while working on an item do not need their own backlog item.
How much time should a Scrum Team spend on technical debt?
There is no rule. Many teams reserve a modest share of each Sprint, often somewhere around 10% to 20%, and adjust it based on whether cycle time, defects and other warning signs are improving. High-interest debt may justify more for a few Sprints.
Should we have a technical debt Sprint?
Usually not. Debt-only Sprints deliver little visible value and suggest debt is acceptable the rest of the time. Paying debt down continuously works better, though an occasional focused clean-up can make sense before a major change.
Should technical debt items be estimated in story points?
Many teams estimate debt items the same way as other items so they can be planned in Sprint Planning. Estimate the principal like any other work, and describe the interest separately in time, defects or risk so the Product Owner can prioritise.
Is all technical debt bad?
No. Deliberate, short-term debt taken to learn quickly or meet a genuine deadline can be a sensible business decision, as long as it is recorded and repaid. Debt becomes a problem when it is hidden, unplanned or never repaid.
How do you measure technical debt?
There is no single measure. Teams watch the trend in indicators such as cycle time, escaped defects, build times, test coverage, static analysis findings and the number and age of debt items in the backlog.
How does the Definition of Done prevent technical debt?
The Definition of Done sets the quality standard every Increment must meet. If it includes automated tests, code review, integration and documentation, shortcuts cannot become part of the released product. Work that does not meet it returns to the Product Backlog.
What is the difference between technical debt and a bug?
A bug is behaviour that does not work as intended. Technical debt is a weakness in how the product is built that makes future work slower or riskier, even if everything currently works. Debt often causes bugs, and deferred bugs are sometimes called defect debt.
How does refactoring reduce technical debt?
Refactoring improves the internal structure of code without changing its behaviour. Doing it as part of every item keeps code easy to change; automated tests make it safe.
Is technical debt only a software problem?
The term comes from software, but similar debt exists elsewhere: outdated processes, undocumented knowledge, quick fixes in data or content, and manual workarounds in operations. The same approach applies: make it visible, estimate its cost and repay the expensive parts first.
How do you convince stakeholders to pay down technical debt?
Explain it in business terms, such as slower changes, incidents and risk, show the payback period and connect the work to upcoming goals. Report progress at the Sprint Review.