← Research
Research

Will AI replace programmers?

The greenfield result and the maintenance result are the same finding seen from two ends.

Last reviewed: 11 September 2026

Why the two most cited coding experiments point in opposite directions, the blackout task where unrestricted AI users failed at 77 per cent, and the three kinds of debt a codebase can now carry.

Question this page answersAll 811 questions this research covers

Nothing measured so far shows replacement, and the productivity evidence points somewhere more interesting. The two most cited coding experiments disagree by seventy-five percentage points, and the disagreement is not a contradiction. They measured different work, and the line between them is the line between writing code and understanding a system.

The answer, in one line

No study on this estate shows replacement, and the productivity evidence does not support it.

Share as a card

The short answer#

No evidence supports replacement. The measured gains concentrate in producing new code against a clear specification, and disappear or reverse in continuing work inside a system somebody already knows. What is measurably at risk is how developers are made.

Share this definition as a card

Seventy-five points apart, and both are sound#

Peng and colleagues randomised 95 professional programmers, recruited through Upwork, to implement an HTTP server in JavaScript with or without GitHub Copilot. Among those who finished, the assisted group averaged 71 minutes against 161, a 55.8 per cent reduction with a confidence interval running from 21 to 89 per cent. The authors state they did not examine code quality, the task is greenfield rather than work inside a mature codebase, and they are employed by the vendor. Graded entry.

METR randomised experienced open-source developers on real tasks in their own mature repositories and measured them 19 per cent slower with AI tools permitted. Graded entry.

Put the designs side by side and the numbers stop fighting. One is a fresh artefact built to a specification by people who have never seen the codebase, because there is no codebase. The other is a change to a system the developer has lived inside for years, where the expensive knowledge is already in their head and the model has none of it. Production got faster. Comprehension did not, and comprehension was the bottleneck.

That split is the useful thing to carry into any decision about software teams, and it sharpens the boundary Dell'Acqua's consultants ran into. Graded entry.

METR has since unsettled its own figure#

In February 2026 METR reported a second study, 57 developers across 143 repositories and more than 800 tasks, and said the data now gives an unreliable signal. Between 30 and 50 per cent of developers declined to submit tasks they did not want to do without AI. The raw results reverse, a speedup of -18 per cent for returning developers and -4 per cent for new recruits, and every confidence interval crosses zero. They think developers are probably more sped up in 2026 than in 2025, and say their own data is only very weak evidence for it. Graded entry.

So the 19 per cent describes early-2025 tooling under a design its authors have replaced. It is still the cleanest measurement anybody has of experienced developers in real repositories, and no longer a statement about today. Both halves of that need saying together.

The blackout task, and what it exposed#

The most pointed result in software is not about speed. Sankaranarayanan ran 78 novice programmers through a custom IDE in three conditions: manual, unrestricted AI, and AI scaffolded to withhold direct answers. Both AI groups beat the manual control on functional utility and did not differ from each other.

Then the AI was taken away and they were given a maintenance task on what they had built. Unrestricted AI users failed at 77 per cent. The scaffolded group failed at 39 per cent. The author's term for the first group is fragile experts: high functional output masking low corrective competence. Graded entry.

The limits are real and the author states them. One session, one blackout task, novice programming, no longitudinal follow-up. What makes it worth carrying is that the two AI groups were indistinguishable on the thing a manager would have measured, and separated by thirty-eight points on the thing that decides whether the code can be maintained next year.

Three kinds of debt, and AI moves them in different directions#

Storey proposes that a codebase now carries three debts rather than one. Technical debt lives in the code. Cognitive debt lives in the people, as the erosion of shared understanding across a team. Intent debt lives in the artefacts, as the absence of captured rationale, goals and constraints. The argument is that generative AI may reduce the first while accelerating the other two, because code can be produced faster than a team can build the understanding needed to change it safely. Graded entry.

This is a framework paper with an illustrative anecdote, and it offers nothing empirical about prevalence or magnitude. It earns its place here because it names the mechanism the two measured results above are both touching, and because it is the same argument this estate makes about organisations generally at capability debt.

What the labour-market data says, which is less than either side claims#

Employment of 22 to 25 year olds in AI-exposed occupations sits about 19 per cent below where it would have been had it tracked their less-exposed peers, and the divergence runs through reduced hiring rather than separations. Software is among the exposed occupations. It is also observational, it is not causal, and the authors describe their own findings as canaries rather than causal estimates. The figure and its four common misreadings are set out at the AI employment gap.

Nothing in it shows programmers being replaced. It shows fewer doors opening for people who have not yet become programmers, which is a different problem with different remedies.

What is not established#

Code quality, almost everywhere. Peng declined to measure it. METR measured time, not defect rates. No study on this estate follows AI-assisted code into production and counts what broke.

Anything about senior developers over time. Sankaranarayanan's participants were novices and the blackout was thirty minutes. Whether an experienced engineer loses corrective competence over years of assisted work is unmeasured, and that is the question a business actually needs answered.

And the direction of travel. METR believe the picture is improving and decline to put a number on it. Anyone confident about where developer productivity sits in 2027 is ahead of everybody who has measured it.

If you run a software team#

Expect the gains where work is new and specified, and do not assume them where the work is changing something load-bearing. Measure defects and time to change, not lines produced or tokens consumed, because the two results above separate at the point where those diverge. And treat the blackout result as a design instruction rather than a warning: the scaffolded group did the same work and kept the competence, so the difference was in how the tool was configured and not in whether it was used.

Key sources

The productivity question across all work is at does AI actually make people more productive, and the METR result in full at what is the METR study. On the boundary between the two coding results, the jagged frontier. On what the blackout task is measuring, capability debt and desirable difficulty. On the hiring side, the AI employment gap and the missing rungs.

About this research#

Written by Rahim Hirji, author of SuperSkills (Kogan Page, 2026), keynote speaker on AI and human capability, and founder of The SuperSkills Intelligence Company. "Fragile experts" is Sankaranarayanan's phrase and the triple debt model is Storey's; neither is claimed here. Every figure is kept with the study design that produced it.

How this research works  ·  Reviewed quarterly  ·  Found an error? Tell me and it is corrected on the page.

Evidence review · SS-2026-221 · Graded against the published rubric

Cite this page

Hirji, R. (2026). Will AI replace programmers?. The SuperSkills evidence base, SS-2026-221. https://thesuperskills.com/research/will-ai-replace-programmers. Last reviewed 11 September 2026.

An evidence review by Rahim Hirji, not peer-reviewed research. For a material claim, cite the underlying study as well; every study here carries its own permanent link.

How citations and IDs work
Questions answered on this page

Will AI replace programmers?

No study on this estate shows replacement, and the productivity evidence does not support it. What it shows is a split by kind of work: a standardised greenfield coding task was completed 55.8 per cent faster with AI, while experienced developers working in mature repositories they knew well were measured 19 per cent slower. The measured risk in software is to how developers are made rather than to whether they are needed.

Why do the two big coding studies disagree?

Because they measured different work. Peng and colleagues gave 95 professional programmers a standardised task, implementing an HTTP server in JavaScript from nothing, and measured a 55.8 per cent reduction in completion time. METR gave experienced open-source developers real tasks in large repositories they had worked in for years, and measured them 19 per cent slower. Writing new code against a clear specification is where the gains are. Changing a system whose shape you already hold is where they disappear.

Does AI-assisted coding damage a developer's own ability?

One experiment tests it directly and the result is sharp. Among 78 novice programmers, both AI groups outproduced the manual control on functional utility. On a subsequent maintenance task with AI removed, developers who had used unrestricted AI failed at 77 per cent against 39 per cent for a scaffolded group. The author calls them fragile experts: high functional output masking low corrective competence. It is a single session with no longitudinal follow-up.

Is AI reducing technical debt in software?

It may reduce one kind while increasing two others. Storey proposes a triple model: technical debt lives in code, cognitive debt lives in people as eroded shared understanding, and intent debt lives in artefacts as the absence of captured rationale. Code can now be produced faster than a team can build the understanding needed to change it safely. This is a framework paper with an anecdote and says so; nothing measures the prevalence or size of the effect.

In this hub

Work, careers and the labour market

What happens to jobs, careers and the first rung.

Ask the evidence
What does the evidence actually show?What should our board be asking about this?Where does Rahim disagree with the consensus?
Bring this into your organisation

If this describes something happening in your teams, say so.

Keynotes, board sessions and advisory work, drawing on research across more than 200 organisations in 30 countries. Tell me the room, the date and the shift you need. A reply within 24 hours.

Start a conversation

Topics and audiences  ·  All research

Box of Amazing

Rahim’s free weekly letter on AI and human capability

If this was useful, the weekly letter is where the thinking happens first. Most of what ends up on this site starts there. Weekly essays on AI, capability and the future of work. Read by 25,000 people, every week since 2017. Free, and one click to stop.

Opens Substack to confirm. No pitch in it, unsubscribe in one click, and nobody follows up because you read something.

Running an event, or responsible for how AI arrives in your organisation? Keynotes  ·  Advisory for CEOs and boards  ·  Enquire