Technical Article

Types of Technical Debt: Examples, Measures and What to Fix First

The types of technical debt range from messy code to outdated frameworks, fragile architecture and data nobody trusts. Each type explained with real examples, the technical debt quadrant, how to measure it, and which debt to fix first.

Share this article

Technical debt is the extra cost you pay later for a shortcut taken now: code that is hard to change, a framework left behind, data that needs fixing by hand. Some debt is a sensible trade; some quietly slows every release. Knowing the types of technical debt matters because each one is found, measured and fixed differently. This guide explains the main types with examples from platforms I have upgraded, migrated and run, then shows how to measure debt and decide what to fix first. For an independent review of your own, see my CTO advisory services.

What technical debt is

Technical debt is the gap between how a system is built and how it should be built for what the business needs now. Like a loan, it buys speed today and charges interest later: every change takes longer, breaks more often or needs manual work. Ward Cunningham coined the term; the point is not to avoid all debt, but to take it on deliberately and pay it down before the interest hurts.

The types of technical debt

The main types of technical debt sit in different parts of a system, and each shows itself through different symptoms. Naming the type tells you where to look and who should fix it; the types of technical debt below cover most systems. The table lists ten types, from the code itself to the way a team works.

TypeWhat it looks likeTypical symptom
Code debt Duplicated, tangled or unclear code Small changes take days
Architecture debt A design that no longer fits the product Every new feature needs workarounds
Data debt Inconsistent, duplicated or untrusted data Reports disagree; fixes by hand
Test debt Missing or unreliable automated tests Releases break things nobody touched
Dependency and framework debt Old framework versions and libraries Security fixes stop; upgrades get harder
Infrastructure debt Manual servers, no automation Deploys are slow and risky
Security debt Known weaknesses left open Audit findings repeat
Documentation debt Knowledge only in people's heads Onboarding is slow; one person is a bottleneck
Process debt No reviews, unclear releases Quality depends on who did the work
AI-generated code debt Code accepted without review or tests Fast output nobody fully understands

The technical debt quadrant

The technical debt quadrant, described by Martin Fowler, sorts debt by two questions: was it taken on deliberately or by accident, and was it prudent or reckless? It helps a team talk about debt without blame. Prudent, deliberate debt is a business decision; reckless debt, deliberate or not, is the kind to stop creating.

RecklessPrudent
Deliberate "We don't have time for design." "We'll ship now and deal with the consequences."
Inadvertent "What's a layered architecture?" "Now we know how we should have done it."

The bottom-right box is unavoidable: you only learn the best design by building. The aim is to move debt out of the reckless column and pay down prudent debt on purpose.

Technical debt examples from real platforms

These technical debt examples come from platforms I have worked on. Each shows a different type, what it cost, and how it was paid down. None was fixed by a rewrite from scratch; each was paid down in controlled steps, which is what these technical debt examples have in common.

  • Framework debt: miBoletazo, a live ticketing platform, was running on Laravel 4. It moved to Laravel 12 through a controlled migration that kept legacy identifiers and QR tokens, so tickets already sold still scanned at the door. Laravel gives each major release about 18 months of bug fixes and two years of security fixes, so falling eight versions behind is expensive.
  • Architecture and data debt: Omnitech CRM was built to replace a long-running Perfex CRM installation. Its migration tooling reconciles legacy identifiers and reports records that need a human decision, rather than copying old problems into the new system.
  • Code and type debt: on the platform this site runs on, adding precise types to a few data relationships cleared 75 entries from the static-analysis baseline (the list of known warnings the checks ignore) in one change, and exposed one real bug that was then fixed.

The migration side is covered in legacy system migration.

How to measure technical debt

How to measure technical debt: combine a written register of known debt with numbers that show its effect. The register says what the debt is, where it lives, what it costs and how big the fix is. Delivery metrics, such as lead time, change failure rate and time to restore, show whether debt is slowing the team.

  • Debt register: each item with its type, location, impact and estimated effort.
  • Delivery metrics: lead time for changes, deployment frequency, change failure rate, time to restore service.
  • Static analysis: warnings and the size of any baseline of ignored warnings, tracked over time.
  • Dependency age: how far frameworks and libraries are behind supported versions.
  • Team signals: areas people avoid changing, and changes that always take longer than estimated.

Which technical debt to fix first

Across all the types of technical debt, fix first what costs you now or risks real damage: security weaknesses, unsupported frameworks, data that customers see wrong, and the code your team changes most often. Leave debt in code nobody touches. Score each item by impact and effort, and pay it down in small steps alongside product work.

Fix firstFix laterLeave alone
Security weaknesses and unsupported versions Messy code in areas changed now and then Messy code nobody changes
Data errors customers or reports see Missing documentation for stable areas Old features about to be retired
Debt in the code changed most often Infrastructure that works but is manual Cosmetic inconsistencies

Technical debt reduction services: when outside help pays

Technical debt reduction services make sense when the debt is large, or when the types of technical debt in play need skills the team lacks, the team is too busy shipping to assess it, or a decision such as an investment, a rebuild or an upgrade depends on an honest view. An outside review gives you a ranked register and a plan your team can deliver alongside product work.

In due diligence, technical debt is one of the first things buyers examine; see technology due diligence consulting. For Laravel applications specifically, upgrades and refactoring are covered on the Laravel consultant page.

Managing the types of technical debt

Knowing the types of technical debt turns a vague worry into a list you can act on: name each item, measure its effect, fix what costs you now and stop creating reckless debt. If you want an independent view, a two-week CTO Strategy Sprint ends in a ranked debt register and a plan, or start with a $300 Decision Diagnostic on one question. See my CTO advisory services.

Share this article

References

  1. Martin Fowler, Technical Debt Quadrant
  2. Martin Fowler, Technical Debt
  3. DORA, DORA's software delivery metrics

Evidence and further reading

All insights →
Case studymiBoletazo Event Ticketing PlatformBilingual event-ticketing platform for event discovery, assigned seating, protected checkout, digital tickets, venue scanning, and organizer operations. InsightHire Generative AI Engineer, or an AI Architect First?Before you hire generative AI engineer talent, decide whether you need an architect first: someone who chooses what to build, on which data, with which models and at what cost. What each role does, which comes first, and how to assess candidates. InsightAgentic AI UAE Implementation: A Business PlaybookAgentic AI UAE implementation, for businesses rather than headlines: how to choose the first use case, what UAE data protection law and the free zones mean for AI agents, which controls to put in place, and a 90-day plan.

Facing a similar problem?

CTO Strategy Sprint

For founders and CEOs without a senior technology owner, or with a roadmap that keeps drifting.

Request an assessment

Questions and answers

Frequently asked questions

More questions? Feel free to reach out.

Send me a message →
What are the main types of technical debt?

Code debt, architecture debt, data debt, test debt, dependency and framework debt, infrastructure debt, security debt, documentation debt, process debt and, increasingly, AI-generated code debt. Each lives in a different part of the system, shows different symptoms and needs a different fix, which is why naming the type is the first step.

What is the technical debt quadrant?

It is a model described by Martin Fowler that sorts technical debt by two questions: was it taken on deliberately or by accident, and was it prudent or reckless? Prudent, deliberate debt is a business trade-off; reckless debt is the kind to stop creating. It helps teams discuss debt without blame.

What are some technical debt examples?

An application left many framework versions behind, so security fixes stop; a CRM whose data has to be reconciled before it can be replaced; code without tests, so releases break unrelated features; servers set up by hand; and knowledge that lives only in one developer's head. Each costs time on every change.

How do you measure technical debt?

How to measure technical debt in practice: keep a debt register listing each item's type, location, impact and estimated effort, and track delivery metrics such as lead time, deployment frequency, change failure rate and time to restore service. Add static-analysis warnings and dependency age. Together they show both what the debt is and how much it slows the team.

Is all technical debt bad?

No. Deliberate, prudent debt, such as shipping a simpler version to learn from customers, can be the right call, as long as it is recorded and paid down. Debt becomes a problem when it is reckless, invisible or left until every change is slow and every release risky.

Can Muzammil review our technical debt?

Yes. As one of my technical debt reduction services, a two-week CTO Strategy Sprint reviews your code, architecture, data, dependencies, tests and delivery, and ends in a ranked debt register with effort estimates and a plan your team can deliver alongside product work. For one specific question, a 60-minute Decision Diagnostic may be enough.

What does a technical debt review from Muzammil cost?

A CTO Strategy Sprint is $4,500 for two weeks, with a written assessment, a ranked plan and a walkthrough. A 60-minute Decision Diagnostic is $300. Hands-on help paying the debt down runs on monthly plans from $1,500 for 20 hours, or $4,800 for 80 hours with development.

Which technical debt has Muzammil paid down?

miBoletazo's move from Laravel 4 to Laravel 12 with issued tickets kept scannable; Omnitech CRM's replacement of a legacy Perfex CRM with reconciled data; and, on the platform this site runs on, typing work that cleared 75 entries from the static-analysis baseline in one change.

Do you fix debt yourselves, or only advise?

Both, depending on the plan. The sprint ends in a plan your team can deliver. On the larger monthly plans I take on the riskiest debt myself, such as framework upgrades, migrations or refactoring of core code, while the team keeps shipping product work.

How do we start?

Book a free call about where your system feels slow or fragile, or start with a $300 Decision Diagnostic on one question. If the debt is wider, a two-week CTO Strategy Sprint gives you a ranked register and a plan before you commit to fixing anything.

Let's build what's next

Have a complex system that needs to be built right?

Whether you are starting from an idea, replacing an existing platform, or scaling a system, let's talk.

Taking new projects

Where is your system today?

next: pick the closest, then book a call

30-minute call → architecture review → written plan

Book a call

Scaling AI beyond a pilot?

Get a 15-minute call on your AI roadmap and architecture with Muzammil.

Book a 15-minute call