Technical debt: what “we’ll fix it later” actually costs
Anyone who has a system in the company has heard this sentence. “Let’s leave it for now, we’ll fix it in the next version.” It sounds reasonable. The deadline is close, the customer is waiting, and the thing does work. The trouble is that “later” charges interest. In engineering this is called technical debt. It is a cost, not an excuse to rewrite everything from scratch. You see it in time, in invoices, and sometimes in a single morning.

You take the principal today. You pay interest on every next change.
A loan you can explain without reading code
Ward Cunningham coined the name in 1992, in his write-up of the WyCash system at the OOPSLA conference. He compared a shortcut in the code to a loan. You can take the money today and pay it back with interest. You can also ship a feature faster, knowingly leaving a simplification, and pay later when you have to extend it. He put it this way: shipping the first version is like taking on debt. A little of it speeds the work, if you pay it back quickly with a rewrite. It gets dangerous when nobody repays the debt, and every minute spent on code that is “almost right” goes into interest.
McKinsey splits it the same way. The principal is work you will have to do anyway: old systems, workarounds, things built the short way. The interest is a tax on every next change, because the new feature has to route around whatever is already fragile.
Debt taken on purpose, with a repayment date, can be a good decision. Debt nobody remembers stops being a decision. It becomes an invoice with no contract.
What the numbers say, and what they don’t
In July 2020 McKinsey surveyed 50 CIOs at financial-services and technology companies with revenue above one billion dollars. That is a sample of large organisations, so don’t copy these percentages one-to-one into your own budget. The direction is still worth knowing. The CIOs said that 10 to 20 percent of the budget meant for new products goes to putting out debt. They estimated the debt itself at 20 to 40 percent of the value of the whole technology estate, before depreciation. Sixty percent felt that over the previous three years the debt had clearly grown.
There is also an older measurement from the people who write the code. In September 2018 Stripe and Harris Poll published The Developer Coefficient. They asked more than a thousand developers and more than a thousand executives, in several countries. The average work week was 41.1 hours. Of that, 13.5 hours went to paying down technical debt. The report is a few years old, so I treat it as an order of magnitude, not as a measurement of your team. Your own month is still worth writing down: how much went to things the customer sees, and how much to working around the old stuff.
One caveat, because these figures like to get glued together online. In the same study Stripe separately reports 17.3 hours a week on maintenance — bugs, fixes and rework — and 3.8 hours on “bad code”. Those piles overlap. I keep one number: 13.5 out of 41.1.
Forty-five minutes and a piece of old code
On 1 August 2012 the American brokerage Knight Capital was switching on a new feature in its order-routing system. They were getting ready for a retail program on the New York Stock Exchange. The new feature was supposed to replace an old, long-unused piece called Power Peg. Nobody had fully removed that piece. A switch that used to turn it on got a second life with the new feature. In 2005 someone moved the counter of filled shares inside the old code and did not check whether Power Peg still stopped once an order was filled.
On top of that, the deployment never reached one of the eight servers. Nobody checked it a second time.
The outcome is in the SEC order of 16 October 2013. 212 small customer orders turned into millions of orders sent to the market. In 45 minutes the system filled more than 4 million trades in 154 stocks, over 397 million shares in total. Knight ended up with a long position of about $3.5 billion and a short position of about $3.15 billion. The loss on those positions: more than $460 million.
For breaking the market-access rule — the missing controls that were supposed to limit this kind of error — the firm agreed to pay a $12 million penalty. That figure is in the SEC release. It is a separate amount, next to the trading loss itself.
In the first days after the failure Reuters wrote about a loss on the order of $440 million and about the firm looking for new capital. The figure in the SEC order, more than $460 million, came later.
Knight was a machine wired to an exchange, so the stakes were different from a typical company. The mechanism is familiar. An old piece stayed, “because we don’t use it anyway”. Someone used the same switch for a new thing. The deployment landed on seven machines out of eight, with no second check, before the market opened in the morning.
In an ordinary company it is quieter
I rarely see an explosion worth hundreds of millions at clients. I see something quieter, and monthly.
A new feature that “was supposed to take a week” takes a month, because every change touches three other places. Sales promises a date, the developer nods, and then sits up at night, afraid to touch a module nobody has opened in two years. The list of things “for later” is longer than a year ago, even though nobody keeps it. The owner hears that “the system has to be rewritten” and has no way to tell whether that is true, or whether someone simply doesn’t want to dig through someone else’s code.
The debt does not show up on an invoice as its own line. You see it when the same change costs more and more. Or when one person, often a former contractor, is the only one who knows how to start it. When they leave, you are left with the loan and no contract.
Code written by AI can grow that pile faster than you can review it. I wrote about what that means for security in AI-written code in your company: faster, but is it safer? 2026 data.
When a shortcut is a tool
Not every shortcut is a mistake. Cunningham talked about debt precisely because sometimes it pays to take it on. You have a first contract, the customer is waiting for something that works, and polishing an architecture “for five years from now” would burn the budget before anyone pays. A conscious simplification is a tool then. There is one condition: someone writes down what was deferred, why, and when it comes back to the table.
It gets worse when “later” has no owner. The developer left, the notes stayed in their head, and the next person adds another patch because they are afraid to touch the previous one. After two years nobody can tell a decision from an accident. “Let’s rewrite everything” sounds attractive then, though it is often more expensive than paying down the three places that actually hurt.
A company has to deliver things to customers. A week spent only on cleaning does not do that. In the same McKinsey piece, a director at a large cloud provider says that after they got the debt in order, the share of engineer time going to that tax fell from 75 to 25 percent. That is one company’s story, not a market average. It shows what the aim is: a level at which you can still build.
Four questions, without opening the code
You don’t have to know how to program to see whether the debt is under control. Questions to the person who runs the system are enough.
Is there a list of things consciously deferred, with a reason and a date to come back. An answer of “nothing like that” or “it’s all in my head” means nobody is keeping the debt. Debt that is kept fits on one page.
How much of last month went to things the customer sees, and how much to working around the old system. This is not about the exact hour. It is about whether the technical person can separate the two at all. If they can’t, you are paying interest and you don’t know the rate.
What happens if that one person goes away for two weeks or changes jobs. Is there a description, a backup, a second person who can deploy a fix. Knight had eight servers and a deployment nobody checked twice. You may have one server and one login that only a former contractor knows.
On a new project: does the estimate include time to tidy, or only time to add. A system that only receives additions for a year gets more expensive with every next feature. That is a choice. Someone should say it out loud.
The same thing shows up in estimates. The first version moves fast, in a straight line. The second and third already go around old patches. The owner compares the hours and decides the developer got slower. Often it was the system that slowed down, not the person. If the estimate has no line for repayment, the cost comes back as a “fix” or a “delay”.
Name the interest before you order a rewrite
Debt does not disappear because of a slide that says “new architecture”. It disappears where someone points to the three places that slow the next changes the most, compares the cost of paying them down with the cost of leaving them, and puts that in the ordinary plan, next to sales.
If you have a system you are afraid to touch, or a quote that says “let’s rewrite it from scratch” and you can’t judge it, it can be taken apart into specifics. See my technical consultation. We talk about one system or one quote, and after the call you get in writing what is worth paying down and what to leave alone.
All the best,
Sławek
If you need a website that builds trust and leads to a conversation, see the website offer .
Technology that works for your business
Ready to transform your business? Let's discuss your needs and find the best solution.







