Technical Debt: What It Is and How an Architecture Review Reduces It

An engineer holding a new module stares at a cabinet whose cables have grown into a taped, tangled knot; at a table two colleagues compare a drawing of the tangled system with a clean layout, and a robot has already sorted one cabinet into neat bundles.
In short

Technical debt is the future cost of design and coding choices that make software easier to ship now and harder to change later. Like financial debt, it carries interest: every later change takes longer until the debt is repaid. Some debt is a sound trade for speed, and some is plain damage.

Key takeaways
  • Technical debt is a metaphor for the extra effort that earlier shortcuts add to every later change. Ward Cunningham introduced it in 1992.
  • Debt comes in different kinds. Martin Fowler sorts it by two questions: was it taken deliberately, and was the decision prudent or reckless?
  • You reduce debt by making the system visible, choosing which debt is worth repaying and sequencing the work. An architecture review supplies the view, the target and the roadmap.

What is technical debt?

Technical debt is the cost you pay later for a shortcut you took earlier. The shortcut might be a quick design, code written before the problem was understood, a library chosen for speed or a decision that nobody recorded. The system still works. The cost appears afterward as slower changes, more rework and more time spent understanding code before anyone touches it.

A defect breaks something today. Debt makes tomorrow's change harder. That difference is why a team can ship on time for a long while and then find that every feature takes longer than the last.

Debt can sit in the code, in the design, in the tests, in the build scripts and in the documentation. Take a shipping rule that was copied into five services instead of living in one shared module. Each copy worked on the day it shipped. Now every change to the rule needs five edits and five tests, and the team has to remember all five. That is debt: the shortcut saved time once and charges for it on every change.

Interest is the useful part of the metaphor. Debt that sits in code nobody changes costs little. Debt in the code you change every week charges interest every week.

Where does the term technical debt come from?

Ward Cunningham introduced the metaphor in an experience report on the WyCash portfolio management system, presented at OOPSLA '92 and dated March 26, 1992. He wrote that "shipping first time code is like going into debt." A little debt, in his account, speeds development as long as it is paid back soon with a rewrite.

He described the cost as interest: time spent working around code that is not quite right. The danger, he wrote, comes when the debt is never repaid, and he warned that whole engineering organizations can stall under the weight of an implementation nobody consolidated.

Read in its original form, the metaphor makes a modest claim. Taking on debt to ship sooner is a legitimate choice. The mistake is to take it without planning to repay it.

What kinds of technical debt are there?

Fowler asked what kinds of design flaws count as debt, and answered with two questions. Was the debt taken deliberately or inadvertently? Was the decision prudent or reckless? The answers give four kinds.

KindWhat it looks likeFowler's reading
Prudent and deliberateThe team knows it is taking on debt and weighs the payoff of an earlier release against the cost of repaying itMay not be worth paying down if the interest payments are small, for example in a rarely touched part of the code
Reckless and deliberateThe team knows good design practice and goes "quick and dirty" because it thinks it cannot afford the time for clean codeFowler agrees with the view that this is usually reckless, because people underestimate where the payoff of good design begins
Reckless and inadvertentThe team does not know good design practice and builds up debt without realizing itA mess: reckless debt that brings crippling interest or a long period of paying down the principal
Prudent and inadvertentA good team learns while building what the design should have beenInevitable for teams that are excellent designers

The useful distinction in his view is between prudent and reckless debt. That changes the response. Prudent debt becomes a decision to record and to schedule. Reckless debt raises a question about skills, standards and review.

Fowler also points to a second benefit of the metaphor. It helps engineers explain design problems to people outside engineering. He reports that it worked well in discussions with management about how to deal with a code base that carried a high debt.

What causes technical debt, and what does it cost?

Debt enters a system in six common ways:

  • Deadline trade-offs. The team chooses speed and accepts the cost later. This is Fowler's deliberate debt.
  • Gaps in knowledge. The team does not yet know the better design. This is the inadvertent kind.
  • Unclear design direction. With no target architecture, each team decides locally, and the pieces stop fitting together.
  • Unrecorded decisions. Later teams repeat the same debate, or undo a choice without knowing why it was made.
  • A missing or outdated architecture definition. Some systems have a sound structure and no current description of it. New work then proceeds without a shared model.
  • AI-assisted development without control. Code generated without shared rules and a shared design adds debt.

The cost is the interest. Delivery slows because teams spend time resolving unclear design direction and redoing work. Hidden complexity makes every change riskier. Avoidable failure points multiply as the system grows. None of these costs shows up on a single invoice, which is why debt is easy to ignore until it blocks a roadmap.

Technical debt and legacy systems: how they differ

In this guide a legacy system means software that the business still depends on and that was built under older constraints, tools or knowledge. Technical debt is a property of any system, old or new. A system written last year under deadline pressure can carry heavy debt. An older system that the team kept clean can carry little.

The two ideas overlap for practical reasons. Old systems have had longer to collect debt, and the people who knew why the design looks as it does have often left. Modernization, which means moving a legacy system toward a current design, is one way to repay that debt. It needs the same first step as any repayment: a clear view of what exists.

That first step is where our work in Architectural Consulting begins. We reconstruct the existing system into a clear view of its components, dependencies, data flows and design constraints. The target architecture and the roadmap follow from that view.

How do you reduce technical debt?

Reducing technical debt means lowering the interest: making later changes cheaper. It does not mean rewriting everything. Six steps apply to almost any system:

  1. Make the system visible. You cannot repay what you cannot see. Map the components, the dependencies and the data flows as they are today.
  2. Sort the debt. Use the kinds above. Rank each item by how often the code changes and how much each change costs. Some debt is not worth repaying.
  3. Define the target. Decide what design the system should move toward. Without a target, repayment turns into scattered refactoring.
  4. Sequence the work. Put the repayment steps in an order the team can plan next to feature work.
  5. Repay in small steps. Each step should leave the system working and a little easier to change.
  6. Record the decisions. The next shortcut should be a visible choice with a name and a reason.

Steps 1 to 4 are where an architecture review does its work. Steps 5 and 6 belong to the engineering team that follows the review, and to any added capacity that team brings in.

One test helps with step 2. Ask what the debt costs per change and how many changes are coming. A shortcut in a module that the roadmap will replace is cheap to leave. A shortcut in the module that every feature touches is expensive to leave.

What is an architecture review?

An architecture review is a structured look at how a software system is built, compared with how it should be built to meet the goals of the business. You will also see it called an architecture audit, a system architecture review or a software architecture assessment. It answers four questions:

  • What are the components, and how do they depend on each other?
  • Which design decisions shaped them, and are those decisions still sound?
  • Where does the structure slow change or add risk?
  • What target design, and what sequence of changes, would fix that?

A review needs access to people and documents. The reviewers talk to technical stakeholders, run discovery sessions on the system and go through its design with the team that owns it. A review is useful when it ends in decisions the team can act on.

How an architecture review reduces technical debt

A review does not repay debt. The repayment is engineering work that follows the roadmap. The review reduces debt in four ways that matter before any code changes:

  • It removes hidden complexity. A documented view of components, dependencies and data flows lets the team see where the interest is being paid.
  • It lowers the risk of new debt. Design decisions are made against a clear target architecture and documented standards.
  • It turns repayment into a plan. The architectural roadmap sequences the path from the current state to the target state, with steps the team can plan and execute.
  • It speeds later work. Teams spend less time resolving unclear design direction and redoing work.

The result is a debt list that has an order and a target. That is what lets repayment fit inside a normal delivery plan.

How to keep technical debt from coming back

Debt returns when decisions stop being visible. Four habits keep them visible:

  • Write principles and standards down. A team that shares them makes similar choices without a meeting.
  • Record architecture decisions. Michael Nygard described the practice in 2011: an architecture decision record is a short text file, and each record describes a single decision and the forces behind it. The next team can read it before changing course.
  • Use one architecture approach. C4, for example, gives a team a shared way to draw and discuss the system.
  • Coach during real work. Teams learn to apply architecture practices when they use them on real implementation.

AI-assisted development adds a new route for debt. When the architecture also has to guide AI agents inside your delivery process, see AI-powered solution architecture. Where you add people to your team, controlled AI-assisted workflows help protect production quality and long-term maintainability. That is how Software Staffing addresses the risk.

How EIC runs an architecture review

Architectural Consulting runs in five steps:

  1. Reconstruct the current architecture. We map the system as it works today, including components, dependencies, data flows, constraints and known pain points.
  2. Define the target architecture. We design the future solution architecture around business goals, scalability needs and technical constraints.
  3. Build the transformation roadmap. We sequence the steps from the current state to the target state, with priorities the team can act on.
  4. Establish architecture foundations. We define principles, standards, the ADR structure, technology recommendations and the architecture approach.
  5. Transfer the practice. We support the team through training, coaching and mentoring. The architecture discipline then stays inside your organization.

The deliverables are a current-state architecture view, a target architecture design, technology recommendations, architecture standards, an ADR structure and a transformation roadmap. Work runs through technical stakeholder interviews, architecture discovery sessions, design reviews, roadmap workshops and coaching sessions.

The engagement fits mid-size software vendors, SaaS companies and internal development teams with complex systems, fragmented architecture, technical debt or unclear design direction. It is built for CTOs, CIOs, engineering leaders, architects and technical leads.

To start, book an architecture review and bring where your architecture stands today, which constraints slow change, your scaling and reliability goals, and where standards or ADRs are missing. If the architecture is already defined and the need is delivery capacity, Software Outsourcing or Software Staffing may be the better next step.

Short answers to the questions buyers ask about architecture work are in the FAQ on the Architectural Consulting page.

Sergey Seroukhov
Sergey Seroukhov
Founder & CEO

Software architect, startup CTO, and consulting leader with 25+ years of experience building systems, teams, and operational frameworks.