What is technical debt?
Technical debt is the future cost of shortcuts taken in software, such as quick fixes, skipped tests or tangled structure, which make every later change slower and riskier until the debt is paid down.
Where the term technical debt comes from
Ward Cunningham coined the metaphor in 1992: shipping imperfect code is like borrowing money, useful if you repay it, crippling if the interest piles up. For a SaaS company, the interest shows up as slower feature delivery, more bugs per release and engineers afraid to touch certain files.
How to pay down technical debt
We make debt visible before we add to it. Audits list the debt that actually slows your team, ranked by cost, and we pay down the worst parts alongside feature work instead of in a frozen “rewrite” project. A design system and shared tokens prevent most new design debt.
For products built quickly with AI tools, our AI MVP cleanup service does exactly this. The principle comes from our process: exact work runs as tested code, and every change is reviewed.
Related service: AI MVP cleanup · How we work
Technical debt in practice
A startup’s AI-built MVP has three different ways of fetching user data, no consistent error handling and a pricing page with prices hard-coded in five places. The cleanup consolidates data fetching into one module, adds error and empty states to the core flows, and moves prices into one source rendered everywhere. New features now take days instead of weeks.
Common mistakes
- Treating all debt as bad. Deliberate, short-term debt to learn faster is fine. Record it and plan the repayment.
- Big-bang rewrites. Rewrites stall product work for months. Refactor incrementally where the pain is.
- Invisible debt. If debt isn’t written down, it can’t be prioritized. Keep a short, ranked list.
Types of technical debt
Technical debt builds up in five places; most products carry some of each.
Code debt
Duplicated logic, unclear names and quick fixes that were never cleaned up.
Design debt
One-off components, inconsistent spacing and flows that grew without a plan.
Test debt
Missing or flaky tests, so every change needs manual checking.
Architecture debt
A structure that no longer fits the product, so small features touch many parts.
Dependency debt
Outdated libraries and frameworks that get harder and riskier to upgrade.
Deliberate vs accidental debt
Martin Fowler sorts debt by two questions: was it taken on purpose, and was it a sensible choice? Only the prudent, deliberate kind is a sound trade.
| Deliberate | Accidental | |
|---|---|---|
| Reckless | “No time for tests, ship it.” | The team did not know a better way. |
| Prudent | “Ship now to learn, record it, fix it next sprint.” | “Now we know how we should have built it.” |
Is AI creating technical debt?
It can. AI coding tools make it easy to generate a lot of code quickly, and code that works in a demo can still have inconsistent patterns, missing error states and duplicated logic, the risk behind vibe coding. Human review, tests and a design system keep that debt down, and with them AI can also help pay old debt off.
Questions about technical debt
What is technical debt in simple terms?
How do you explain technical debt to non-technical founders?
Does AI-generated code create more technical debt?
Is technical debt always bad?
What does it cost to have STRAK review it?
Thomas OldenburgerFounder, design and build leadStill deciding? A 30-minute call answers most of it.
Related terms
Vibe coding
Vibe coding is building software by describing what you want to an AI model in plain language and accepting the code it generates, often without reading or fully understanding that code.
Definition DevelopmentMVP (minimum viable product)
An MVP (minimum viable product) is the smallest version of a product that lets a team test its key assumption with real users and learn whether to continue, change direction or stop.
Definition Design and UXDesign system
A design system is the shared source of truth for how a product and its website are designed and built, combining design tokens, a component library, usage rules, content guidelines and a process for changing them.
Definition Design and UXComponent library
A component library is a collection of reusable, documented interface building blocks, such as buttons, inputs, cards and navigation, kept in sync between design files and code so teams assemble screens from tested parts.
Definition