Skip to content
Stack Overflow Dev Survey 2026

How developers learned AI programming

Our analysis

AI codegen tools are the #1 method for learning AI itself (51%), followed by online resources (45%) and technical docs (43%). People are learning AI by doing AI.
How developers learned AI programmingAll Respondents · n = 20,565All RespondentsHow developers learned AI programmingAI51%Other online resources45%Technical docs43%Videos38%Colleague or on-the-job32%Blogs or podcasts30%Online courses or certs17%Stack Overflow or Exchange11%Books / Physical media8%Other6%School or university6%Games or coding challenges4%Coding Bootcamp4%20,565Data licensed under Open Database License (ODbL) 1.0
All Respondents · n = 20,565
Download this chart
Format

Question

How did you learn to code for AI in the past year? Select all that apply.
  • multi select
  • Optional
  • v2026.1
  • Randomized

Data

RespondentsPercent
AI CodeGen tools or AI-enabled apps10,40750.6%
Other online resources (e.g. standard search, forum, online community)9,24445.0%
Technical documentation (is generated for/by the tool or system)8,73342.5%
Videos (not associated with specific online course or certification)7,78137.8%
Colleague or on-the-job training6,64832.3%
Blogs or podcasts6,06929.5%
Online Courses or Certification (includes all media types)3,51617.1%
Stack Overflow or Stack Exchange2,28111.1%
Books / Physical media1,5837.7%
Other1,2906.3%
School (i.e., University, College, etc)1,1325.5%
Games or coding challenges8284.0%
Coding Bootcamp7773.8%

Use this data

Response data is released under the ODbL 1.0, which asks that you attribute it.

Structured for code, with the question, the year and the source url alongside the numbers.

A formatted table, ready to paste into a document, an issue or a prompt.

Spreadsheet

.csv is a plain text format which most spreadsheet software can open.