No. 60Architecture7 min read1,954 words
What is technical debt? A plain-English guide for founders
What technical debt is, where it comes from, how to spot it in your business, when it is worth taking on, and how teams pay it down without a full rewrite.
- Written by
- Lazy Devs
- Published
- Updated
- Sources
- Cited inline

Key takeaways · 05
The short version
- 01Technical debt is the future cost of shortcuts taken to ship software sooner. You pay the interest as slower features, more bugs and riskier changes.
- 02Not all technical debt is bad. A deliberate, written-down shortcut to hit a real deadline can be a smart trade; untracked, accidental debt is what hurts.
- 03Founders usually see debt as business symptoms first: estimates keep growing, fixes break unrelated features, releases feel risky, and good developers leave.
- 04Pay debt down incrementally: measure it, add tests around critical paths, fix the most expensive debt first, and reserve a protected slice of every cycle for upkeep.
- 05A full rewrite is rarely the cure. Replacing problem areas piece by piece keeps the product shipping while the debt falls.
On this page · 11
Technical debt is the future cost of the shortcuts taken to ship software sooner. Like a loan, a shortcut lets you move faster now, and you pay "interest" later as slower features, more bugs and changes that feel riskier than they should. Every codebase carries some, and a little is often a smart trade. The trouble starts when nobody is tracking how much you owe.
You have probably heard your developers use the phrase, usually with a sigh, right before explaining why something simple is taking longer than expected. This guide explains what they mean, in language that does not assume you write code, and what you can do about it as the person who signs off on the budget.
Where the metaphor comes from, and why it holds up
The term comes from Ward Cunningham, who used it in a 1992 experience report to explain to non-technical stakeholders why code needs ongoing investment. Shipping early is like borrowing: fine, as long as you pay it back by improving the code as your understanding grows. Martin Fowler's explanation of technical debt adds the useful framing of principal and interest: the principal is the cost of fixing the shortcut; the interest is the extra effort you spend every time you work around it.
It is one of the few software metaphors that genuinely works. To hit a deadline, a team skips the tests, copies code instead of building a shared piece properly, or picks the quick fix over the right one. You get the feature now. The interest is everything that shortcut costs afterwards.
And like real debt, it compounds. A shortcut taken in year one gets built on in year two, and by year three the original quick fix is load-bearing and nobody dares touch it. The interest payments grow until a "small" change takes a fortnight.
The main types of technical debt
Debt is not one thing. Knowing the type helps you understand what fixing it involves.
| Type | What it looks like | Typical interest you pay |
|---|---|---|
| Code debt | Duplicated logic, unclear names, giant files | Slow changes, bugs in "unrelated" places |
| Architecture debt | A design that fit 100 users but not 100,000 | Features fight the structure; scaling is painful |
| Test debt | Little or no automated testing | Every release is a gamble; changes are slow and careful |
| Dependency debt | Libraries and runtimes years out of date | Security exposure, painful catch-up upgrades |
| Infrastructure debt | Manual deployments, no monitoring, untested backups | Outages, scary releases, slow recovery |
| Documentation and knowledge debt | Only one person understands a system | Everything stalls when that person is away or leaves |
| Data debt | Inconsistent, duplicated or loosely structured data | Reporting errors, painful migrations |
Where technical debt comes from
Most debt is nobody's fault in particular.
- Rushed deadlines. The most common cause. A launch date, an investor demo, a big client, and the team consciously trades quality for speed.
- Learning as you go. Early on, nobody fully understands the problem. The first design reflects what you knew then, and the gap between that and what you know now is debt.
- Missing tests. Without an automated safety net, teams either move slowly and carefully or quickly and dangerously.
- Neglected dependencies. Software sits on layers of other people's code. Runtimes publish support schedules, and when a version reaches end of life it stops getting security fixes. Falling years behind turns catching up into a project of its own.
- Knowledge walking out the door. When the one developer who understood a system leaves, what remains becomes debt by default.
- Decisions that made sense at the time. The architecture chosen for a hundred users groans at a hundred thousand. That is not a mistake; it is debt taken on without noticing.
Good debt versus bad debt
Not all technical debt is bad. Fowler's technical debt quadrant separates debt along two lines: was it deliberate or accidental, and was it prudent or reckless?
| Reckless | Prudent | |
|---|---|---|
| Deliberate | "We do not have time for design." | "We must ship now and deal with the consequences." |
| Inadvertent | Nobody on the team knew a better way existed. | "Now we know how we should have built it." |
Prudent, deliberate debt is a conscious choice. The team says, "We will ship this the quick way to make the deadline, and fix it next quarter." It is written down, understood, and there is a plan to repay it. Taken on purpose to hit a real business goal, it is a reasonable financing decision.
Prudent, inadvertent debt is unavoidable and healthy: you only learn the right design by building the wrong one first. The fix is to act on what you learned rather than leave the old shape in place.
Reckless debt, deliberate or not, is the kind that hurts: shortcuts taken without weighing the cost, or taken by a team that did not know better. It sits alongside the debt nobody tracks at all: the "temporary" shortcut from three years ago, the dependency nobody has updated, the test suite that quietly rotted. This is what compounds in the dark, and it is what a technical audit is designed to surface.
The goal is never zero debt. That would mean over-engineering everything and shipping nothing. The goal is debt you chose on purpose and are paying down on purpose. Fowler makes a related point in Is high quality software worth the cost?: in all but the shortest-lived codebases, keeping internal quality high is what lets a team keep moving fast.
When taking on technical debt is the right call
Because debt is a financing tool, there are moments when borrowing is the smart move. A few situations where we would knowingly take a shortcut:
- Validating an idea. If you do not yet know whether anyone wants a feature, building it to last is a poor use of money. Ship the simplest version, measure, and invest properly in the parts that earn it.
- A hard external deadline. A regulatory date, a contract milestone or a launch tied to an event can justify a quick path, as long as the clean-up is scheduled before the next big piece of work.
- Throwaway code. Prototypes, one-off data imports and internal scripts that will be deleted next month do not need the same care as your billing system.
The test is the same each time: can you name the shortcut, explain why it is worth it, and say when you will repay it? If the answer is yes, write it in the debt register and move on. If nobody can answer, it is not a financing decision; it is the reckless kind wearing a deadline as an excuse.
Some areas should almost never carry deliberate debt: authentication and permissions, anything that moves money, and how you store personal data. Shortcuts there tend to become security incidents rather than slow features, and the interest is paid by your customers.
How technical debt shows up in the business
You will usually feel technical debt long before anyone names it. The symptoms land on your desk, not just the engineering team's.
- Features take longer and longer. A change that should take two days takes two weeks, and estimates keep growing for no obvious reason.
- Changes feel fragile. Fixing one thing breaks another, apparently unrelated thing. Releases become events instead of routine.
- Bugs keep recurring. The same kinds of problems come back, and the team spends more time firefighting than building.
- Onboarding is slow. New developers take weeks to become productive because nothing is obvious or documented.
- Good developers get frustrated. Talented people leave codebases that are miserable to work in, which makes the knowledge problem worse.
If a product that used to ship quickly has slowed to a crawl, debt is usually the reason. In its advanced form it is how projects stall entirely, which we cover in rescuing a stalled software project.
How to measure technical debt
There is no single debt score worth trusting, but there are useful signals. Ask your team to track a few over time:
- Delivery speed. How long similar-sized changes take now compared with six months ago.
- Change failure. How often a release causes a problem that needs a fix or rollback. Google's DORA research treats this, alongside deployment frequency and recovery time, as one of the four key delivery metrics.
- Dependency age. How far libraries and runtimes are behind current, supported versions. Tools like Dependabot make this visible.
- Hotspots. The files that change most often and break most often. That is usually where the expensive debt lives.
- Test coverage on critical paths. Not overall percentage; whether sign-in, payments and the core workflow are protected.
The trend matters more than any single number. If delivery is slowing and failures are rising, interest payments are growing.
How a team pays technical debt down without a rewrite
When debt gets bad, the instinct is to throw everything away and start over. That is almost always the wrong call: a rewrite means months with no new features and a real chance of recreating the same problems. The better approach is steady, incremental repayment.
- Measure before you fix. An honest audit maps where the debt lives and which parts hurt most.
- Add a safety net first. A thin layer of automated tests around critical paths makes every other change safer. Our view on where to draw that line is in a testing strategy that actually pays off.
- Pay down the highest-interest debt first. The fragile module everyone fears, the dependency with known vulnerabilities, the manual deployment that eats an afternoon each release.
- Improve as you go. Leave each area a little better every time you touch it, and replace problem parts one piece at a time while the system keeps running. We use this approach constantly when replatforming a legacy web app.
- Budget for it continuously. Teams that stay fast reserve a regular, protected slice of every cycle for upkeep, so debt never piles up to crisis levels. That steady upkeep is what good maintenance and support is for.
How to talk to your team about technical debt
As a founder or manager, you set the conditions that make debt grow or shrink. A few habits help:
- Ask for a debt register. A simple list of known shortcuts, why they were taken, and what fixing each would cost. Deliberate debt should always be written down.
- Ask about interest, not just principal. "How much is this slowing us down each month?" is a better prioritisation question than "how long would it take to fix?"
- Do not treat upkeep as optional. If every cycle is 100 percent new features, debt will grow. Protect the maintenance slice the way you protect payroll.
- Make shortcuts a joint decision. When a deadline demands a shortcut, agree it explicitly and agree when it will be repaid.
Debt you chose, paid down on purpose
Technical debt is the cost of moving fast, and a healthy amount is normal and even sensible. The danger is the kind nobody tracks: shortcuts that quietly compound until simple features take forever and every release is a gamble. Pay it down the way you would a loan: know what you owe, tackle the most expensive parts first, and make a steady payment every cycle rather than waiting for a crisis.
If your product has slowed to a crawl and you want a straight, jargon-free read on what is happening under the hood, tell us what you are dealing with. We will audit it, show you where the debt is, and give you a plan to pay it down without throwing away the parts that already work.
New to some of the terms here? Our web development glossary defines 45 of them in plain English, each linked to a deeper guide.
FAQ · 05 questions
Frequently asked questions
Is technical debt always bad?
No. Taking a deliberate shortcut to hit an important deadline, with a plan to fix it later, can be a sound business decision. The trouble is debt nobody chose or tracks, which compounds quietly until simple changes become slow and risky.
How do you measure technical debt?
There is no single number. Teams look at trends: how long similar changes take, how often releases cause problems, how far dependencies are behind supported versions, test coverage on critical paths, and which areas of code change most and break most. An outside audit can turn those into a prioritised list.
Who coined the term technical debt?
Ward Cunningham introduced the debt metaphor in a 1992 experience report at the OOPSLA conference. He used it to explain to business stakeholders why shipping early and then improving the code as understanding grows needs ongoing investment.
How much time should a team spend paying down technical debt?
There is no universal figure. What matters is that upkeep has a protected, regular slice of each cycle rather than waiting for a crisis, and that the team spends it on the debt costing the business most. If debt is already slowing delivery badly, a focused stabilisation period may be needed first.
Can technical debt cause security problems?
Yes. Outdated libraries and runtimes that no longer receive security fixes are a common form of debt, and missing tests make it harder to patch safely. Keeping dependencies current is one of the most important kinds of debt repayment.