How much code is AI actually writing in 2026

lines of HTML codes

Ask five sources how much code AI writes and you’ll get five different answers. The spread in 2026 data runs from 25% to 75%, and the variance tells you more about methodology than reality.

The Numbers, Source by Source

A synthesis of 2026 data from developer surveys, code analysis firms, and company reports shows a wide range:

  • Google (April 2026): 75% of new code is AI-generated and engineer-approved, self-reported
  • Jellyfish (March 2026): 64% of 700+ companies report most code is AI-assisted
  • GitHub Copilot telemetry: 46% average code share across its user base
  • Sonar survey (January 2026): 42% of committed code is AI-generated or assisted, per developer reports
  • GitClear (2026): About 25% of commits show detectable AI assistance across 623 million changes
  • Microsoft (April 2025): 20% to 30% of code in its repositories written by software

Who’s Using It

The 2025 Stack Overflow survey found 84% of respondents using or planning to use AI tools, up from 76% the year before. Google’s DORA report puts AI use at 90% of developers, a rise of 14 points in one year.

3D rendered ai text on dark digital background

New Relic found that 95% of organizations authorize AI-generated code in core production work. This is no longer experimental. It’s approved infrastructure.

The Quality Question

Sonar’s survey shows a split. 88% cited negative effects of AI on technical debt. 93% also saw positive ones such as better documentation. Both can be true.

New Relic’s survey adds another layer: 94% of technology leaders rated AI-generated code as higher quality than human code at the time of review. But 74% said at least 25% of AI-generated code needs rework after deployment. The code looks good in review. It breaks in production.

What This Means for Operators

Google CEO Sundar Pichai said AI raised the company’s engineering velocity by about 10%, and Google plans to hire more engineers. The narrative that AI replaces developers is not what the hiring data shows, at least at scale.

For solo developers and small teams, the takeaway is simpler. AI is now a default assumption in most codebases. The variance in the numbers reflects different measurement methods, not disagreement about direction. If you are not using it, your competitors probably are.

Stay on top of AI & Automation with BizStack Newsletter
BizStack  —  Entrepreneur’s Business Stack
Logo