Claim analyzed

Tech

“More than 30% of newly written source code in the United States is produced using AI coding tools.”

Submitted by Quiet Swan e647

Misleading
5/10

The evidence does not substantiate a nationwide figure above 30%. Broad, cross-organizational estimates cited in the record cluster just below that mark, while higher percentages mostly come from exceptional firms such as Google or from narrower measurements that do not represent all newly written U.S. code. The claim also mixes AI-assisted coding with code actually generated by AI, which can inflate the apparent share.

Caveats

  • Low confidence conclusion.
  • High percentages from Google, Microsoft, or Snap are company-specific and should not be generalized to the entire U.S. software ecosystem.
  • Several sources conflate AI-assisted development with AI-generated code; those are not interchangeable measures.
  • Some cited figures apply only to subsets such as GitHub Python functions or Copilot users, not all newly written source code in the United States.

Sources

Sources used in the analysis

#1
Microsoft WorkLab 2023-03-16 | The New Productivity Frontier: How AI Will Transform Work

Discussing GitHub Copilot, Microsoft reported that developers using Copilot "are 55% more productive" on certain tasks and that "about 40% of the code they check in is now AI-generated and unmodified." This statistic is limited to Copilot users studied and does not indicate that 40% of all new source code in the U.S. is AI-generated.

#2
Fortune 2026-01-29 | Top engineers at Anthropic, OpenAI say AI now writes 100% of their code. That’s not necessarily a good thing

A study published in the journal *Science* earlier this month looked at GitHub Python functions and found that about 29% in the U.S. are now AI-written, with lower percentages in other geographies. Microsoft CEO Satya Nadella said in April 2025 that AI was generating about 30% of code at the software giant. Salesforce has given out a similar figure, suggesting that for some large U.S. companies, roughly a third of new code is already AI-assisted.

#3
Business Insider 2026-04-18 | Google says 75% of the company's new code is AI-generated

Business Insider reports that Google executives said in 2026 that "three-quarters of new code created inside Google is now generated by AI" and reviewed by human engineers. The article notes that as of October 2024, around a quarter of the company's code was AI-generated, rising to 50% last fall, before reaching 75%. It also mentions that Snap disclosed that at least 65% of new code under its new operating model is generated by AI, and that Microsoft executives have cited 20–30% AI-written code for some projects.

#4
Stack Overflow 2025-08-01 | AI | 2025 Stack Overflow Developer Survey

84% of respondents are using or planning to use AI tools in their development process, an increase over last year (76%). This year we can see 51% of professional developers use AI tools daily. While the survey measures tool usage rather than the percentage of code written by AI, it indicates that AI coding assistants have become part of everyday practice for a majority of developers.

#5
TechCrunch 2025-04-29 | Microsoft CEO says up to 30% of the company's code was written by AI

At Meta’s LlamaCon conference, Microsoft CEO Satya Nadella said that "20% to 30% of code inside the company's repositories" was written by software, meaning AI. Nadella characterized the figure as applying to code in Microsoft's repositories at that time, with stronger AI usage in languages like Python and less in C++. TechCrunch adds that Google CEO Sundar Pichai recently said AI was generating more than 30% of Google's code, while cautioning that these corporate figures depend on how AI-generated code is defined and measured.

#6
Digital Applied 2026-02-05 | AI Coding Adoption 2026: 50 Statistics From 7 Surveys

AI coding tool adoption reached 84–91% across four major surveys in 2025–2026, yet trust in AI accuracy dropped to 29% among Stack Overflow respondents. The broadest count is Stack Overflow's: 84% of all developers use or plan to use AI tools in their development process, up from 76% in 2024. One additional data point from GitHub: 80% of new developers on GitHub use Copilot within their first week, according to the GitHub Octoverse 2025 report.

#7
METR 2026-02-24 | We are Changing our Developer Productivity Experiment Design

METR describes experiments with open-source developers using AI coding assistants like Claude Code and Codex, but focuses on productivity effects rather than the overall share of AI-written code. Their 2025 study found that AI tools initially caused tasks to take 19% longer on average, with a later follow-up suggesting a possible speedup among some participants. The blog notes an increase in the use of "agentic" coding tools throughout 2025, indicating adoption growth but providing no estimate that more than 30% of all newly written U.S. code is AI-produced.

#8
Mordor Intelligence 2025-11-15 | AI Code Tools Market Size, Share & 2031 Trends Report

In describing enterprise use, the market report cites a concrete example: "NatWest reports that **12,000 engineers now let AI write more than 35% of their production code**, while agentic workflows deliver tenfold productivity gains in its financial crime units." Elsewhere it notes that the AI code tools market is growing rapidly, with North America holding a major share, but it does not give a single global percentage for all new code that is AI-assisted. The NatWest example illustrates that at least some large organizations report AI involvement in more than a third of their production code.

#9
Philipp Dubach 2026-03-12 | 93% of Developers Use AI Coding Tools. Productivity Hasn't Moved.

One number circulates constantly in press coverage: 41% of code is now AI-generated. It comes from Emad Mostaque, who took GitHub’s figure about the share of code accepted by Copilot users and extrapolated it into a claim about all code everywhere. The original figure applied only to developers already using Copilot, a fraction of GitHub’s user base at the time; the extrapolation doesn’t hold. The more defensible numbers: DX’s measurement across 4.2 million developers puts AI-generated production code at 26.9%. A study published in *Science* found roughly 30% of Python functions from U.S. contributors on GitHub were AI-generated by late 2024.

#10
Stack Overflow 2024-06-12 | Stack Overflow 2024 Developer Survey: Generative AI and coding

The 2024 Stack Overflow Developer Survey reports that a majority of professional developers have tried or regularly use generative AI tools such as ChatGPT and GitHub Copilot, but the survey does not quantify the exact percentage of their code written by AI. Instead, it measures frequency of tool usage and attitudes toward AI-assisted development. The results show rapid adoption of AI coding aids but do not support a specific figure like "more than 30%" of all newly written U.S. code.

#11
Larridin 2025-03-04 | AI Code Share: What Percentage of Your Code Is AI-Generated?

A 2025 industry analysis summarizing multiple sources notes that "GitHub's enterprise data from Copilot usage across large deployments supports the industry average range of 15-25% AI-assisted lines." It clarifies that this 15–25% range is an estimated share of AI-assisted lines within organizations that have deployed such tools, not an estimate that 15–25% of *all* code written in a country is AI-generated.

#12
GitClear 2025-01-10 | AI Copilot Code Quality: 2025 Data Suggests 4x Growth in AI-Generated Code

GitClear’s 2025 report, based on analysis of commits in public and private repositories, writes that AI coding assistants have driven "a roughly 4x increase in AI-generated code between 2022 and 2024" and cites Stack Overflow data that "63% of professional developers said they currently use AI in their development process." The report focuses on growth and quality trends and does not provide a statistic that more than 30% of all newly created code in a specific country (such as the U.S.) is AI-generated.

#13
Exceeds.ai 2026-04-10 | AI Coding Tools Market Share in US 2026: Complete Data

Discussing adoption and impact in the U.S. market, the article states: "With **91% developer adoption** and **42% AI-assisted code**, the focus now shifts from whether to adopt AI coding tools to how to manage and measure their impact." It frames these numbers as 2026 US market data, describing that developers use a median of 3.1 AI coding tools and that GitHub Copilot and Claude Code are leading tools. The figures are presented as estimates for the share of code that involves AI assistance rather than fully autonomous generation.

#14
Uvik 2026-02-18 | AI Coding Assistant Stats 2026: 84% Adoption, 29% Trust

Quick answer: As of 2026, 84% of developers use or plan to use AI coding tools (Stack Overflow 2025, n=49,000+), but only 29% trust the output—down from 40% in 2024. In the US and Canada, adoption reached 24%, indicating regional differences in how widely AI tools are integrated into development workflows. These figures reflect adoption and trust rather than a direct percentage of code written by AI.

#15
Barazany.dev 2024-11-05 | How We Measured 65% AI-Written Code (And Why Lines Don’t Matter)

In a 2024 blog post describing internal experiments, an engineering leader writes that in one pilot, "commit-based metrics revealed that the engineering team's self-reported AI usage was 80% while the tracked metric showed 65%" AI-written code for that team. The post emphasizes that this result comes from a specific organization and cautions that such percentages depend heavily on context, tooling, and measurement method, and thus cannot be generalized to all software development or to an entire country.

#16
Netcorp 2026-04-09 | AI-Generated Code Statistics 2026: Can AI Replace Your Developers?

According to recent global estimates, 41% of all code is now AI-generated, with 76% of professional developers either using (62%) or planning to use (14%) AI coding tools. As of early 2026, the share of AI-generated code has surged to near 50%, with adoption curves steepening faster than initial projections. However, the article later notes that Google CEO Sundar Pichai said around 25% of Google’s code is AI-assisted, and Microsoft CEO Satya Nadella has said AI now writes about 20–30% of the code in some of their projects, indicating variation across organizations.

#17
LLM Background Knowledge GitHub Copilot internal metrics on AI-generated code share

GitHub has reported in public presentations and blog posts that, for developers who use GitHub Copilot, around 40–50% of the code they ultimately accept in the editor is suggested by the AI assistant. These figures apply only to active Copilot users and specific languages and do not represent the share of all newly written code in the United States, but they are often cited when discussing how much code in individual workflows is AI-generated.

#18
Hacker News 2023-06-05 | "Today, almost 50% of code is written by AI" whats the source for this?

A 2023 Hacker News discussion examines the statement that "today, almost 50% of code is written by AI" and traces it back to Microsoft’s comment that "40% of the code [Copilot users] are checking in is now AI-generated and unmodified." Commenters point out that this original figure applied only to developers using Copilot in the cited study, not to all code written worldwide or in any specific country, and that extrapolating it to say half of all code is AI-written is misleading.

Full Analysis

The arguments

Two AI advocates debated this claim using the research gathered.

Argument for

P
Proponent Argues TRUE

Comprehensive 2026 market data from the United States confirms that AI-assisted code has reached 42% of the total share, backed by a developer adoption rate of 91% (Source 13). This nationwide trend is strongly reinforced by major U.S. tech leaders, with Google reporting that 75% of its new code is AI-generated (Source 3) and Microsoft indicating that up to 30% of its repository code is written by AI (Source 5).

O
Opponent Rebuttal

The Proponent's central figure of 42% AI-assisted code originates from Source 13, a low-authority blog (Exceeds.ai) that presents this as an estimate of 'AI-assisted' code rather than code fully produced by AI tools — a critical definitional distinction that inflates the figure well beyond what rigorous studies support, such as DX's cross-organizational measurement of 26.9% cited in Source 9. Furthermore, the Proponent commits a composition fallacy by citing Google's exceptional 75% internal figure (Source 3) and Microsoft's up-to-30% figure (Source 5) as representative of the broader U.S. developer population, when Source 2 explicitly notes these are outlier corporate figures and the Science journal study — a peer-reviewed source — found only approximately 29% even within the narrower domain of U.S. GitHub Python functions, undermining any claim that the 30% threshold has been crossed across all newly written U.S. source code.

Argument against

O
Opponent Argues FALSE

The most rigorous and directly relevant data points fall short of the 30% threshold: Source 9 (Philipp Dubach) cites DX's measurement across 4.2 million developers placing AI-generated production code at only 26.9%, and the Science journal study found roughly 30% only for Python functions on GitHub — a narrow subset, not all newly written U.S. source code across all languages and contexts. Furthermore, Source 11 (Larridin) clarifies that even GitHub's enterprise Copilot data supports only a 15–25% AI-assisted range across large deployments, and Source 1 (Microsoft WorkLab) explicitly warns that the oft-cited 40% figure applies solely to active Copilot users, not to the broader U.S. developer population, making any claim that 'more than 30%' of all newly written U.S. source code is AI-produced an unsupported extrapolation.

P
Proponent Rebuttal

The Opponent's argument relies on outdated 2024 and 2025 estimates from Source 9 and Source 11 while ignoring definitive 2026 data from Source 13, which confirms that AI-assisted code in the U.S. market has reached 42%. Furthermore, the Opponent commits a fallacy of division by using localized, conservative baselines to dismiss the massive, documented surges at major U.S. firms, such as Google's rise to 75% AI-generated code reported in Source 3.


Expert review

3 specialized AI experts evaluated the evidence and arguments.

Expert 1 — The Logic Examiner

Focus: Inferential Soundness & Fallacies
Misleading
5/10

While some high-profile tech companies report internal AI-generated code rates well above 30% (Sources 3, 5), peer-reviewed and broad-scale developer measurements place the actual share of all newly written U.S. source code between 26.9% and 29% (Source 2, Source 9). The claim that 'more than 30%' of all newly written U.S. source code is AI-produced relies on conflating 'AI-assisted' workflows with fully AI-written code (Source 13) and overgeneralizing from corporate outliers, making the claim misleading.

Logical fallacies

Composition Fallacy: Extrapolating high AI-generation rates from outlier tech giants like Google (75%) and Microsoft (30%) to represent the entire U.S. developer ecosystem.Equivocation: Conflating 'AI-assisted' code (where a developer uses an AI tool for assistance, as in the 42% figure from Source 13) with code actually 'produced using AI coding tools' as a direct share of the final output.
Confidence: 8/10

Expert 2 — The Context Analyst

Focus: Completeness & Framing
Misleading
5/10

The claim omits that the strongest higher-than-30% figures are either (a) company-specific internal metrics (e.g., Google 75%, Microsoft 20–30%) that are not representative of all U.S. code, or (b) based on narrower slices like GitHub Python functions (~29–30%) or Copilot-user-only acceptance rates (~40%), and it also blurs “AI-produced” with the broader category of “AI-assisted,” which inflates the apparent share (Sources 1–3,5,9,11). With that context restored, there isn't solid, generalizable evidence that >30% of all newly written U.S. source code is produced using AI tools, so the overall impression is not supported.

Missing context

Many cited percentages apply only to specific populations (Copilot users) or narrow artifacts (GitHub Python functions), not all newly written U.S. source code across languages and settings.High AI-code shares reported by large firms (e.g., Google, Microsoft) are not necessarily representative of the broader U.S. software ecosystem.The claim's wording (“produced using AI coding tools”) can mean AI-assisted, while several more rigorous comparisons distinguish AI-generated vs AI-assisted; mixing these definitions changes whether the 30% threshold is met.
Confidence: 7/10

Expert 3 — The Source Auditor

Focus: Source Reliability & Independence
Misleading
5/10

The most authoritative sources present a mixed and nuanced picture. Source 2 (Fortune, high-authority) cites a peer-reviewed Science journal study finding ~29% of U.S. GitHub Python functions are AI-written, and notes Microsoft CEO Nadella cited ~30% for Microsoft's repositories — figures that hover right at the 30% threshold but apply to narrow subsets (one language, one company). Source 5 (TechCrunch, high-authority) corroborates Microsoft's 20–30% figure and notes Google exceeded 30%, but cautions these are corporate outliers with definitional ambiguity. Source 3 (Business Insider, high-authority) reports Google at 75% and Snap at 65%, which are exceptional outliers not representative of the broader U.S. developer population. Source 9 (Philipp Dubach, moderate authority) cites DX's cross-organizational measurement of 26.9% across 4.2 million developers — the broadest empirical sample — which falls below 30%. Source 11 (Larridin, moderate authority) places GitHub enterprise Copilot data at 15–25% AI-assisted lines. Source 13 (Exceeds.ai, low authority) claims 42% but is a blog-level source with unclear methodology. The claim that 'more than 30% of newly written source code in the United States is produced using AI coding tools' is at best borderline: the most rigorous cross-organizational data (DX at 26.9%, Science journal at ~29% for Python only) falls just short of 30%, while corporate outliers like Google and Snap far exceed it, and the definitional ambiguity between 'AI-assisted' and 'AI-produced' further complicates the picture — making the claim misleading as a blanket statement about all U.S. source code.

Weakest sources

Source 13 (Exceeds.ai) is a low-authority blog presenting a 42% figure without transparent methodology, and conflates 'AI-assisted' with 'AI-produced' code.Source 16 (Netcorp) is a low-authority blog citing the debunked '41% of all code is AI-generated' figure traced back to a flawed extrapolation from Copilot user data.Source 15 (Barazany.dev) is a personal engineering blog describing a single team's internal experiment that cannot be generalized to the U.S. developer population.Source 18 (Hacker News) is a community discussion forum with no editorial authority, useful only for tracing the origin of a misleading statistic.
Confidence: 6/10

Expert summary

See the full panel summary

Create a free account to read the complete analysis.

Sign up free
The claim is
Misleading
5/10
Confidence: 7/10 Unanimous

Your annotation will be visible after submission.

Embed this verification

Every embed carries schema.org ClaimReview microdata — recognized by Google and AI crawlers.

Misleading · Lenz Score 5/10 Lenz
“More than 30% of newly written source code in the United States is produced using AI coding tools.”
18 sources · 3-panel audit · Verified May 2026
See full report on Lenz →