Your First Tech-Debt Crisis: A First-Time CTO's Playbook
Published Updated
Almost no first-time CTO inherits a clean codebase. You inherit the architecture decisions, the shortcuts taken under deadline pressure, and the quiet trade-offs the previous technical leadership never wrote down. Then, usually within your first quarter, the bill arrives: the board wants velocity, the codebase needs investment, and you are the one who has to reconcile the two in front of people who don't want to hear that it's complicated.
This is not an edge case. In STX Next's 2023 survey of 500 CTOs, 91% named technical debt as their biggest challenge, ahead of capacity (68%) and security (62%). For a first-time CTO, debt isn't a warning sign. It's the baseline, and it limits what your team can deliver before you change anything else.
How much time should engineering spend on tech debt?
There is no research-backed standard. A common practitioner range is to set aside a sustained 15 to 25 percent of engineering capacity, aimed at the debt blocking business priorities; we have no survey source for that range, so treat it as a heuristic to adjust. For context, Stripe's 2018 Developer Coefficient survey found developers estimated spending 13.5 hours of a 41.1-hour week on technical debt.
A developer's week, per Stripe's 2018 survey
Hours a week, self-reported estimates
- Working week41.1 h
- Maintenance17.3 h
- Technical debt13.5 h
- Bad code3.8 h
Source: Stripe and Harris Poll, The Developer Coefficient (2018)
| Source | Finding | Caveat |
|---|---|---|
| Stripe and Harris Poll, The Developer Coefficient (2018) | Developers estimated 17.3 hours a week on maintenance such as debugging and refactoring, of which 13.5 hours was technical debt and 3.8 hours was "bad code", in a 41.1-hour week | Survey estimates from 2018; self-reported, more than 1,000 developers and 1,000 executives across six countries |
| Stack Overflow Developer Survey 2024 | 62.4% of respondents named the amount of technical debt as their top workplace frustration | Frustration, not time spent |
| STX Next 2023 (via Intelligent CIO) | 91% of 500 CTOs named technical debt their biggest challenge | Vendor-run survey |
Here is how to handle your first tech-debt crisis without either torching the roadmap or letting the problem compound until it explodes.
The two ways first-time CTOs get this wrong
Under pressure, the instinct pulls in one of two directions, and both fail.
Over-correcting is the "stop the world" cleanup — declaring a debt sprint that visibly halts feature work for two quarters. It feels responsible. It reads, to a CEO and board, like the new CTO is polishing the plumbing while the company waits. The improvements are real but invisible to the people whose confidence you need, and you spend credibility you haven't earned yet.
Under-correcting is the mirror image: deferring debt for "next quarter," every quarter, because there is always something more urgent. This works right up until a P0 incident — an outage, a breach, a migration that can no longer be delayed — forces the conversation at the worst possible moment and in the worst possible framing.
The pattern that works: sustained, targeted allocation
The approach that holds up is neither heroic cleanup nor endless deferral. It is a sustained allocation — a practitioner range is 15 to 25 percent of engineering capacity (a heuristic, not a research finding) — pointed at the specific debt that is currently constraining business priorities.
Two words in that sentence are doing the work. Sustained, because debt paydown is typically a long-running workstream, not a one-time project — a steady fraction of capacity, protected every cycle, beats any sprint. Targeted, because you are not fixing the codebase; you are clearing the debt that blocks the next thing the business is trying to do. That forces you to prioritise the debt that actually matters over the debt that most offends you aesthetically — and those are rarely the same list.
The two words that make the allocation work
Sustained
- A steady fraction of capacity
- Protected every cycle
Targeted
- Clear the debt blocking the next business priority
- Not fixing the whole codebase
The reframe that makes this survivable with the board is the one we cover in board-ready CTO communication: don't sell "fixing the codebase." Sell "unblocking the next two strategic initiatives," with the initiatives named. Same work, framed as something the board can validate rather than something they have to take on faith.
How do you put a number on technical debt?
Put a number on debt by converting lost time into money. Estimate the share of engineering time debt consumes, multiply by your fully loaded engineering cost, and add the cost of incidents and delayed features. The result is an estimate, not an audit, but it turns an argument about code quality into a business case a CEO can weigh.
What goes into the annual cost of debt
Engineers affected
- Engineers working in the indebted systems
Share of time lost
- Hours a week on workarounds and rework
Fully loaded cost per engineer
- From finance: salary, benefits, equipment, overhead
Incident and delay cost
- Outage cost plus revenue from slipped features
A simple formula, using your own numbers:
| Term | How to estimate it |
|---|---|
| Engineers affected | Count of engineers working in the indebted systems |
| Share of time lost | Ask teams to estimate hours a week on workarounds and rework; Stripe's 2018 survey reported 13.5 of 41.1 hours on technical debt as a reference point |
| Fully loaded cost per engineer | From finance: salary, benefits, equipment, overhead |
| Incident and delay cost | Outage cost plus revenue from features that slipped because of debt |
| Annual cost of debt | Engineers affected x share of time lost x loaded cost, plus incident and delay cost |
The Stripe figures date from 2018 and are self-reported, so use them as a sense check and prefer your own team's estimates. A spreadsheet is enough to start.
Score your own debt: the free tech debt prioritization calculator ranks up to 10 debt items, estimates what carrying them costs each year, and writes a one-line summary for the board. Every formula is shown.
Why do engineers rank technical debt as their top frustration?
Because debt taxes every change: work takes longer, breaks more often and feels worse. In Stack Overflow's 2024 survey, 62.4% of respondents named the amount of technical debt as their top workplace frustration, and 32.1% reported being unhappy at work against 20.2% happy. Debt is therefore a retention and morale issue, not only a delivery one.
Technical debt and developer morale, 2024
Named technical debt as top frustration
Unhappy at work
Happy at work
Treat that as a signal for your first-quarter listening tour: ask engineers where debt hurts most, and let their answers set your first targets. See also first 90 days as CTO.
When is a rewrite justified?
A rewrite is justified only when incremental change cannot reach the goal: the platform cannot meet a hard business requirement, the technology is unsupported or unsafe, or the cost of working around it exceeds the cost of replacing it. Even then, replace in slices and keep shipping. In your first quarter a rewrite is rarely the right call, because you do not yet understand why things were built as they were.
Refactor, replace or rewrite
Your situation
Four common cases
- Messy code, working system, the business can still ship
- One component blocks a named initiative
- Platform end of life, or a hard security or compliance need is failing
- You are new and uneasy about the whole codebase
Usually better
Same order
- Refactor incrementally with a protected allocation
- Replace that component behind a clear interface
- Plan a staged migration with a business case
- Diagnose first; wait until you have a strategy
| Situation | Usually better |
|---|---|
| Messy code, working system, business can still ship | Refactor incrementally with a protected allocation |
| One component blocks a named initiative | Replace that component behind a clear interface |
| Platform end of life or fails a hard security or compliance need | Plan a staged migration with a business case |
| You are new and uneasy about the whole codebase | Diagnose first; wait until you have a strategy |
Keep a scoreboard the business can read
For how to choose the delivery metrics on that scoreboard and which audience should see them, see engineering metrics for CTOs.
How the same work reads to the board
No visible record
- What the board hears
- The new CTO is rebuilding everything
- Reaction
- Board panic
Monthly scoreboard
- What the board hears
- The new CTO knocked four weeks off our release cycle last quarter
- Reaction
- Board confidence
The difference between "the new CTO is rebuilding everything" (board panic) and "the new CTO knocked four weeks off our release cycle last quarter" (board confidence) is often just a visible record. Keep a simple monthly scoreboard: what shipped, what got faster, and which recurring bugs or incidents stopped happening.
This does two jobs. It translates invisible engineering work into business-legible progress, and it disciplines you — if a debt investment can't be tied to something that got faster, cheaper, or safer, it probably wasn't the debt that mattered most.
A first-90-days sequence for the debt
If you have just walked into it, resist the urge to act in week one. A workable order:
- Diagnose before you touch anything. Map where the debt actually costs you — the systems that break, the changes that take too long, the parts everyone is afraid to touch. Talk to the engineers; they know exactly where the bodies are buried.
- Tie the worst of it to a business priority. Find the overlap between "most painful debt" and "thing the company is trying to do next." That overlap is your first target — it's where paydown is easiest to justify.
- Set the allocation and protect it. Commit the allocation (a practitioner range of 15–25%, not a researched figure) and defend it against the pressure to spend it on features. An allocation you raid the first busy week isn't an allocation.
- Report it in business terms from day one. Start the scoreboard immediately, so the story of your tenure is "steadily unblocking the roadmap," not "went quiet and rewrote things."
A first-90-days sequence for the debt
- 1
Diagnose first
Map where the debt actually costs you
- 2
Tie it to a business priority
Overlap of most painful debt and the next company goal
- 3
Set the allocation and protect it
Defend it against pressure to spend it on features
- 4
Report in business terms
Start the scoreboard from day one
Where to go from here
Handling your first debt crisis well is as much about managing the board and your own instincts as it is about the code. It is a common moment to want an outside perspective from someone who has made these calls before — our directory of CTO coaches lists specialists by how they work, including several with a crisis- and scaling-stage focus.
To map where you stand across the five dimensions of the role, start with the free CTO Readiness Assessment, and see the first-time CTO guide for the rest of the transition.
Tech debt is not a problem you solve once. It is a constraint you manage continuously — and the first-time CTOs who do it well are the ones who stop treating it as an emergency and start treating it as a fixed, protected, business-justified line item.
Frequently asked questions
How much time should engineering spend on tech debt?
There is no research-backed standard. A common practitioner heuristic is a sustained 15 to 25 percent of capacity aimed at the debt blocking business priorities. Stripe's 2018 survey found developers estimating 13.5 hours of a 41.1-hour week on technical debt. Start from your own estimates, protect the allocation, and adjust as the scoreboard shows results.
How do I convince the CEO to fund tech debt work?
Do not sell fixing the codebase. Name the next two strategic initiatives the debt blocks and show the cost in business terms: time lost, incidents and delayed revenue. Propose a sustained, protected allocation rather than a stop-the-world cleanup, and report progress on a monthly scoreboard of what shipped, got faster and stopped breaking.
Rewrite or refactor?
Refactor incrementally by default. Consider a rewrite only when incremental change cannot meet a hard business, security or compliance need, or when working around the system costs more than replacing it. Even then, replace in slices behind clear interfaces and keep shipping. A new CTO rarely understands the system well enough for a rewrite in the first quarter.
How do I measure technical debt?
Estimate the share of engineering time lost to workarounds and rework, multiply by fully loaded engineering cost, and add incident and delay costs. Ask teams where changes are slow, fragile or feared, and track recurring incidents and release time. The figure is an estimate, but it turns a code-quality argument into a business case.
What percentage of CTOs say technical debt is their biggest problem?
In STX Next's 2023 Global CTO Survey of 500 CTOs, reported by Intelligent CIO, 91% named technical debt as their biggest challenge heading into 2024. Capacity (68%) and security (62%) followed. It is a vendor-run survey, so treat it as indicative. Stack Overflow's 2024 survey found 62.4% of respondents named technical debt their top workplace frustration.
Sources
- 91% of CTOs believe technical debt is their biggest challenge, says STX Next research (n=500) Intelligent CIO, 2023
- The Developer Coefficient Stripe (with Harris Poll), 2018
- Developer Survey 2024: professional developers Stack Overflow, 2024
Ready to level up?
Discover your strengths and gaps with our free CTO Readiness Assessment.
Take the CTO Readiness Assessment