Independent educational resource. Not affiliated with CAST, SonarSource, or any code-analysis vendor. Data sourced from CISQ, Stripe, McKinsey, and DORA reports.

Section VI, Management

Technical debt management strategies.

Five strategies for reducing debt: the 20% rule, dedicated debt sprints, debt ceilings, the Boy Scout rule, and the Strangler Fig pattern. Each has specific conditions where it shines and predictable failure modes.

Section II

The five strategies.

Each strategy has a clear formula, a context where it works, a context where it breaks, and a predictable failure mode. Pick by context, not preference.

I

The 20% Rule

Rule
0.20 x sprint_capacity = debt_capacity

Reserve 20% of every sprint for debt reduction. The most common starting point for moderate debt levels. Predictable, steady, and easy to communicate.

Works when

Moderate debt (TDR 10 to 20%), stable team, leadership accepts the case

Breaks when

Critical debt (allocation too small), undisciplined team (allocation drifts)

Predictable failure mode

Allocation creep. Always one more critical bug to displace it.

II

Dedicated Debt Sprints

Rule
1 in 5 sprints = full debt sprint, quarterly cadence

Set entire sprints aside for debt work, typically quarterly. Strong sponsor buy in required because feature delivery pauses for the sprint duration.

Works when

High debt (TDR 20 to 50%), strong leadership backing, clear remediation backlog

Breaks when

Weak sponsor (next sprint becomes a feature sprint), no concrete backlog

Predictable failure mode

Just one more feature sprint first.

III

Debt Ceiling

Rule
if TDR > threshold then pause new feature work

Set a hard threshold (typical: TDR 10%, code coverage 70%, vulnerability count zero). When breached, all new feature work stops until back under. Extreme but highly effective.

Works when

Critical debt, disciplined team, leadership willing to back the rule

Breaks when

Process drift (the rule gets ignored), threshold chosen arbitrarily

Predictable failure mode

Wartime governance, cannot be the steady state.

IV

Boy Scout Rule

Rule
Leave every file better than you found it

No allocated time, no ceiling, just a cultural norm: every PR improves the file it touches. Lowest overhead, slowest progress, best as a complement.

Works when

Healthy debt levels, mature team, code reviewers who enforce the rule

Breaks when

Standalone for high debt (too slow), low review rigour

Predictable failure mode

Improvements scoped too small to dent structural debt.

V

Strangler Fig Pattern

Rule
incrementally replace legacy with new, route around old

Architectural strategy. Build new functionality alongside old, route traffic incrementally, retire legacy when usage hits zero. Best for monolith decomposition.

Works when

Architectural debt, rewrite cost too high, risk averse environment

Breaks when

Code level debt (wrong tool), no clear seams in the legacy system

Predictable failure mode

Strangling stalls, both systems run forever.

Section III

Comparison matrix.

All five strategies side by side. Pick the row that matches your context.

StrategySpeedFeature impactStakeholder askBest for debt level
20% RuleSlow steadyLowLightLow to medium
Debt SprintsMedium fastHigh in sprintHeavy quarterlyMedium to high
Debt CeilingFastVariableHeavyCritical
Boy ScoutVery slowNoneNoneLow
Strangler FigSlowLow feature slowdownArchitectural buy inArchitectural
Section IV

Strategy recommender.

Five questions about your team and context, one recommended strategy with rationale.

Five questions, one recommendation. Answers stay in browser.
01 / 05

What is your current debt level?

02 / 05

How strong is leadership buy in for debt work?

03 / 05

How disciplined is your team on process?

04 / 05

What is the shape of the debt?

05 / 05

Is your team headcount growing?

Answer all five questions to see a recommendation.

Section V

Tracking progress.

Four metrics tell you whether the strategy is working before the headline TDR moves.

TDR or SQALE

Quarterly

The headline number. Slow to move, but the figure leadership tracks.

DORA metrics

Monthly

Deploy frequency, lead time for changes, change failure rate, MTTR. Reveal whether debt is impeding flow.

Velocity tax

Per sprint retro

Self reported time on debt vs features. Fastest signal of strategy effect.

Incident frequency

Monthly

Sev 1 and Sev 2 incidents in the systems being remediated. Lagging indicator, but high signal.

Section VI

Common questions.

01What percentage of sprints should be spent on technical debt?+

The 20% rule is the most common starting point and the right answer for moderate debt levels. For TDR above 20%, dedicated debt sprints quarterly often outperform fixed allocation because they make progress visible. For TDR above 50%, only a debt ceiling halts the compounding fast enough. Research from CAST and DORA suggests teams allocating less than 15% experience steady debt growth, while teams above 30% sacrifice feature delivery without proportional gain.

02Does the 20% rule actually work in practice?+

It works when three conditions hold: leadership protects the allocation, the team has discipline to honour it, and the work is tracked separately from feature work so progress is visible. It fails most often because urgent features displace it sprint after sprint. Track your debt allocation as a formal capacity line, like vacation, not a soft target.

03When should I use a debt ceiling instead of allocation?+

Debt ceilings work best when debt is already critical and the velocity tax is visible to leadership. They are wartime governance, not steady state. Set the ceiling, communicate it widely, hold the line for one to two quarters, then transition back to allocation when the team is healthy again. Permanent ceilings tend to be quietly relaxed.

04How do I build leadership buy in for debt work?+

Three steps. First, quantify the cost using the Financial Impact model. A specific dollar figure beats hand-waving. Second, frame as ROI not maintenance: the question is not whether to refactor but whether to spend $X to save $3X. Third, propose a specific strategy with measurable milestones, not an open ended commitment. The business case page on this site has a five slide template.

05What metrics should I track during debt reduction?+

Four metrics. TDR or SQALE rating quarterly (the headline). DORA metrics (deploy frequency, lead time for changes, change failure rate, mean time to recovery) monthly. Velocity tax estimate from sprint retros. Incident frequency for the systems being remediated. Together these tell you whether the strategy is working before the headline TDR moves.