71%
suburban US public high schools offering foundational computer science in 2025; urban 59%, rural 57%

What the chart shows

Suburban public high schools are the most likely to offer foundational computer science: 71% did in 2025. Urban schools (59%) and rural schools (57%) are close to each other and well behind, with suburban schools 14 percentage points ahead of rural ones.

The AI Index suggests that the similar rural and urban rates may reflect shared constraints, such as the digital divide and less access to computer science teachers.

Key numbers

MeasureValue
Suburban71%
Urban59%
Rural57%
Gap, suburban vs rural14 percentage points

How to read it

  • Area categories as defined by Code.org. 2025 refers to the 2024–25 school year. US public high schools only.
  • Code.org also reports that 60% of Title I schools, which serve students from low-income families, offer foundational CS, against 65% of other schools; that two-value comparison is not charted separately.
Source: Code.org, 2025, via the AI Index Report 2026 (Stanford HAI), figure 7.3.5: Schools offering foundational CS courses by geographic area, 2025. Chart and text by AI Adoption.
Numbers checked against the published data on 20 October 2026.
Download the data (CSV) · Cite this chart