Technical insolvency: when the codebase cannot service its own debt
The financial-insolvency metaphor applies more literally than most engineering leaders expect. A codebase whose debt consumes the capacity the roadmap needs is in the position of a borrower who cannot service their debts from operating income: the remaining options are strategic, not routine.
The 90-Second Answer
Technical insolvency is our name for the point at which debt servicing leaves too little engineering capacity for the roadmap the business needs. There is no standard threshold. Teams already lose about a third of the week to technical debt (Stripe, 2018) or 23% of development time (Besker, Martini and Bosch, 2018); if that share grows 10% a year, a team starting at a third spends half its week on debt in about 4.4 years. Recovery then takes a strategic decision: rewrite, replace, deprecate or divest.
The Trajectory
How a codebase reaches the insolvency threshold
Technical insolvency does not arrive suddenly. In any one quarter the drag looks flat, which is why it is hard to see from short-term measurements. The table shows how many years it takes for the share of capacity lost to debt to reach half the week, from the two measured starting points, at three growth rates you can compare with your own.
Our model, not a measurement: years = ln(50 / start) / ln(1 + growth rate). The starting shares are measured (Stripe Developer Coefficient; Besker, Martini and Bosch). The growth rates are assumptions: no published study measures how fast drag grows, and half the week is a marker, not a defined insolvency line.
The compounding mechanism is concrete. Each feature shipped on top of debt-heavy code adds workarounds. Each workaround widens what engineers must reason about for the next change. Each departure drains system knowledge faster than the remaining engineers rebuild it. Each year of deferred dependency upgrades pushes the codebase further from a supported configuration. None of these is dramatic alone; together, over years, they produce the threshold-crossing event.
The management failure behind technical insolvency is rarely one decision. It is many small decisions to defer servicing in favour of feature work, each defensible on its own. CTOs who track the debt service ratio (see the related page) every quarter see the trend while there are still routine options; measured twice a year apart, it also gives you your own growth rate for the table above.
The Recovery Options
Four strategic paths from insolvency
Technical insolvency is not recoverable through routine engineering work. The available paths are strategic decisions the CTO makes with the CEO and CFO.
Most situations resolve to a rewrite or migration team (when the system is core and irreplaceable) or to replacement (when commodity vendors exist). The other two are situational.
The Rewrite Risk
Why the big-bang rewrite usually fails
Joel Spolsky’s 2000 essay “Things You Should Never Do, Part I” called rewriting code from scratch “the single worst strategic mistake that any software company can make”. His case was Netscape: version 6.0 was only entering public beta almost three years after 4.0, and there never was a 5.0. The failure mode he described is still the common one: the rewrite takes longer than estimated, the old system still needs maintenance meanwhile, and the new system has to rediscover the bug fixes and business rules the old code encoded.
The contemporary alternative is the strangler-fig pattern (Martin Fowler’s strangler-fig essay), which replaces an existing system piece by piece while it keeps running. It is not free: it takes more engineering capacity than a simple rewrite estimate suggests and longer in calendar time, but the business keeps a working system throughout.
Default to strangler-fig and require a strong reason for a big-bang rewrite: a technology stack that cannot share data with the new system, a regulatory deadline that rules out a long migration, or an architecture that makes incremental replacement infeasible. The engineering-practitioner detail lives on the sister site technicaldebtcost.com, in the strangler-fig cost page and the big-bang cost page.
The Prevention Argument
Why the insolvency page is also the strongest CFO pitch
The choice in front of a CFO is not whether to pay for the debt but when and how. Ongoing servicing is paid as a steady share of capacity while the system keeps working. Deferral is paid later as a one-off programme, with the business carrying the risk Spolsky described while the old system is replaced.
Put it to the CFO in those terms: “we can pay a predictable share now with the system available throughout, or defer it and fund a replacement programme later with substantial business risk while it runs.” That turns the question from “is this work necessary?” into “when do we want to pay for it?”. Bring your own measured drag and, once you have two readings a year apart, your own growth rate for the model above.
Cross-Reference
Technical insolvency in the financial-framework stack
Technical insolvency is one of four financial-framework treatments: CapEx vs OpEx (IRC section 174A), debt service ratio, this page, and enterprise value at exit. It connects to the CFO pitch page (where the prevention argument is made) and to the late-stage page (where insolvency situations sometimes surface during pre-IPO preparation).
For the engineering-practitioner view of rewrite vs strangler-fig vs replacement decisions, see the sister site technicaldebtcost.com.
Field Notes
Frequently asked questions
What is technical insolvency?+
Our term for the point at which servicing accumulated tech debt consumes so much engineering capacity that the team can no longer deliver the roadmap the business needs. The codebase cannot service its own debt out of current capacity, and the remaining options are strategic: rewrite, replacement, deprecation or divestiture.
Is there a standard drag percentage at which a codebase becomes insolvent?+
No. No published study defines one, and the point depends on how much forward progress the business needs. The measured starting points are Stripe's 2018 survey (13.5 of 41.1 hours a week on technical debt, about a third) and Besker, Martini and Bosch's 2018 study (23% of development time wasted due to technical debt). This page's model shows how long it takes drag to reach half the week from either at growth rates you choose.
Can a codebase recover from technical insolvency without a rewrite?+
Often not through routine capacity allocation, because the available capacity is already insufficient. Recovery paths are a dedicated rewrite or migration team funded outside the normal roadmap, replacement with a bought product, deprecation of the affected system, or divestiture of the affected business unit. Where a rewrite is chosen, an incremental strangler-fig migration is the safer default.
How long does insolvency take to develop?+
There is no measured figure. If drag grows by a steady rate each year it takes ln(target / start) / ln(1 + rate) years to reach a given level: from 33% to 50% that is about 8.5 years at 5% a year, 4.4 years at 10% and 3.0 years at 15%. The growth rates are assumptions; measure your own drag at least twice, a year apart, before using any of them.
What are the warning signs of approaching insolvency?+
Senior engineer retention falling, hiring getting harder, deployment frequency declining year over year, incident rates rising, each new feature taking longer than the last comparable one, and engineering leaders talking about rebuilding rather than improving. Tracking the debt service ratio quarterly is the way to see the trend before it becomes a crisis.
What does recovery cost?+
It depends on the path and the system; there is no reliable published multiplier. The cost drivers are the size of the system, how much business logic is encoded only in the code, how long the old system must be maintained in parallel, and lost revenue or market position during the work. Spolsky's warning case, Netscape, went almost three years between major releases while it rewrote.
Adjacent Reading