Skip to content
IT glossary
ProgrammingUpdated December 3, 2026

Technical debt

Технический долг

Technical choices can make software harder or riskier to change and maintain later. The extra burden they leave behind is called technical debt.

Also known as: техдолг

What technical debt means

Suppose a team gets a feature out on time by copying the same discount calculation into its web store and its customer support tool. Both work. The trouble starts when the discount policy changes: someone has to find both copies, update them, and check that they still agree. The feature shipped sooner, but later changes now take more work.

The debt metaphor separates two costs. Paying down the debt means removing its cause, such as giving both tools one shared implementation of the rule. Interest is what the team keeps paying in the meantime: duplicate edits, extra review and testing, and the risk of one copy falling out of sync. Unlike interest on a loan, this cost has no fixed rate. It depends on how often the team works in that area and what happens if a change goes wrong.

How it builds up

Not all debt starts with a deadline. A design that worked well for one product line may become awkward once the company serves several. Debt isn't limited to source code, either. If a release depends on someone remembering a sequence of manual deployment steps, every release takes extra staff time and creates another opportunity to miss a step.

A deliberate shortcut can make sense when speed matters and the risk is acceptable. The key is making the trade-off visible. Instead of leaving a vague TODO, write down the limitation and a trigger for revisiting it, such as adding the next sales channel.

How teams decide what to pay down

Go back to the discount example. If the policy changes monthly and the two tools have already disagreed once, the team has a concrete reason to act. It can add tests that capture the intended behavior, extract the shared rule, and switch both callers to it without changing the policy itself. But if the two tools are supposed to follow different policies, merging the code just because it looks similar could make future changes harder.

Prioritize debt by comparing the effort to fix it with the recurring work and risk it creates. Useful evidence includes time spent on manual checks, incidents tied to the same problem, and upcoming features that will touch the affected area. A stable module that rarely changes may be a lower priority than a brittle release process used every week.

Common mix-ups and interview tips

A bug is a mismatch between expected and actual behavior. Debt can make bugs more likely, but it can exist even when the system behaves correctly. Old code isn't automatically debt, and refactoring isn't the only way to reduce it: adding missing regression tests or automating a manual release step may address the real cost.

In an interview, describe a specific trade-off rather than calling a codebase messy. Explain why the team made the original choice, what it cost later, and why a particular fix was worth doing at that point.