> ## Content Index
> Fetch the complete content index at: https://aiadoption.org/llms.txt
> Use this file to discover other available public pages before exploring further.

# 60% of US public high schools taught foundational computer science in 2024–25, the same as a year earlier
- URL: https://aiadoption.org/data/us-high-schools-teaching-computer-science/
- Published: 2026-10-19T17:22:29.000Z
- Updated: 2026-10-21T06:06:04.000Z
- Description: 60% of US public high schools taught foundational computer science in 2024–25, up from 35% in 2017–18 but unchanged from 2023–24, the first year without a rise in the series.
- Author: Manu
- Tags: Data, AI in Education, AI in the US, #chart, #ai-index-2026, #hub-education, #country-us

60%

▲ 25 pts since 2017–18

US public high schools teaching foundational computer science, 2024–25

20172024

## What the chart shows

Code.org counts 60% of US public high schools teaching foundational computer science in the 2024–25 school year, up from 35% in 2017–18\. The share rose every year until 2024–25, when it held at 60%.

The largest jump came between 2017–18 and 2018–19, from 35% to 45%; since then annual gains have been 2 to 5 percentage points. The AI Index notes growth in many states and declines in a few, which it says may reflect budget cuts or other priorities.

## Key numbers

| Measure | Value |
| ------- | ----- |
| 2024–25 | 60%   |
| 2023–24 | 60%   |
| 2022–23 | 58%   |
| 2018–19 | 45%   |
| 2017–18 | 35%   |

## How to read it

- Foundational computer science courses as counted by Code.org, in US public high schools only.
- The AI Index uses computer science as a stand-in because there is little standardised data on AI courses in US schools.
- The 2022–23 value is stored as 57.99999999999999 in the file, a rounding artefact; we show 58%.

**Source:** [Code.org](https://aiadoption.org/sources/#code-org), 2025, via the AI Index Report 2026 (Stanford HAI), figure 7.3.1: *Public high schools teaching foundational CS, 2017–18 to 2024–25*. Chart and text by AI Adoption.  
Numbers checked against the published data on 20 October 2026.  
[Download the data (CSV)](https://charts.aiadoption.org/ai-index/csv/us-high-schools-teaching-computer-science.csv?ref=aiadoption.org) · [Cite this chart](#source)