United States · Public high schools · Code.org 2025 data

High school computer science access by state

Can a high school student in your state take a computer science class at their own school? The answer depends heavily on where they live. In the latest national figures, 60% of public high schools offer foundational computer science, ranging from every high school in Arkansas and Maryland to about a third in Alaska and Minnesota. This page gives every state’s count, the share of students who actually enroll, and how access has moved since 2019, with every figure tied to its source year.

Live classes since 2020 · 10,000+ students · CS for students whose school has none

In short

In Code.org (2025), 2025 State of AI + CS Education, 14,805 of 24,405 US public high schools, or 60%, offer foundational computer science, but only 871,490 of 14,364,449 high school students, about 6.1%, were enrolled, a figure based on the states that report participation (42 in 2024 to 2025). Arkansas (301 of 301) and Maryland (219 of 219) report every high school offering CS; Alaska (34.2%) and Minnesota (34.4%) report the lowest shares. Modern Age Coders teaches this live online for US students, in a batch or one to one, and the first class is free.

If your school has no CS class

Three ways to learn computer science outside school

Chosen for students in the four in ten high schools without a foundational CS course.

Every state and DC

Share of public high schools offering computer science

Each state’s most recent year in the 2025 data. Some states last reported for 2023 to 2024, others for 2024 to 2025, so the year column matters when you compare two states.

Public high schools offering foundational computer science, by state, most recent year (Code.org, 2025)
StateSchool yearHigh schools offering CSShare
Alabama2024 to 2025351 of 38291.9%
Alaska2024 to 202589 of 26034.2%
Arizona2023 to 2024278 of 64343.2%
Arkansas2024 to 2025301 of 301100.0%
California2023 to 20241,325 of 2,28258.1%
Colorado2023 to 2024344 of 51966.3%
Connecticut2023 to 2024173 of 20783.6%
Delaware2024 to 202536 of 5763.2%
District of Columbia2024 to 202527 of 4560.0%
Florida2023 to 2024463 of 1,19238.8%
Georgia2024 to 2025399 of 49580.6%
Hawaii2024 to 202546 of 6966.7%
Idaho2024 to 2025117 of 26644.0%
Illinois2023 to 2024418 of 72158.0%
Indiana2023 to 2024368 of 41488.9%
Iowa2024 to 2025306 of 35586.2%
Kansas2023 to 2024153 of 40437.9%
Kentucky2024 to 2025270 of 35875.4%
Louisiana2024 to 2025144 of 36639.3%
Maine2024 to 202572 of 12358.5%
Maryland2024 to 2025219 of 219100.0%
Massachusetts2023 to 2024325 of 40081.2%
Michigan2023 to 2024674 of 1,22854.9%
Minnesota2023 to 2024275 of 79934.4%
Mississippi2024 to 2025204 of 23487.2%
Missouri2023 to 2024310 of 55156.3%
Montana2024 to 202566 of 17238.4%
Nebraska2023 to 2024141 of 27651.1%
Nevada2023 to 2024143 of 14697.9%
New Hampshire2024 to 202589 of 9593.7%
New Jersey2023 to 2024377 of 43786.3%
New Mexico2023 to 2024126 of 23553.6%
New York2023 to 2024674 of 1,36049.6%
North Carolina2024 to 2025513 of 73569.8%
North Dakota2023 to 2024148 of 17684.1%
Ohio2023 to 2024635 of 1,04560.8%
Oklahoma2023 to 2024334 of 46771.5%
Oregon2023 to 2024195 of 34756.2%
Pennsylvania2023 to 2024530 of 68477.5%
Rhode Island2023 to 202450 of 6379.4%
South Carolina2024 to 2025276 of 30092.0%
South Dakota2023 to 202497 of 17854.5%
Tennessee2024 to 2025384 of 46482.8%
Texas2023 to 20241,036 of 2,16048.0%
Utah2024 to 2025175 of 21382.2%
Vermont2023 to 202433 of 5560.0%
Virginia2023 to 2024229 of 33568.4%
Washington2024 to 2025396 of 77451.2%
West Virginia2024 to 202594 of 12177.7%
Wisconsin2023 to 2024318 of 58554.4%
Wyoming2024 to 202559 of 9264.1%

Suggested citation: Code.org (2025). 2025 State of AI + CS Education. Figures from the raw data, Most Recent Access Data tab; shares rounded to one decimal by us from the published counts. North Dakota’s row includes cybersecurity courses; under the national definition the report puts it at 53% for 2023 to 2024. The data come largely from state education agencies, with course catalogs and teacher surveys where a state does not report. We are not connected with Code.org, now called CodeAI.

The top of the table

Arkansas and Maryland report all of their high schools offering a foundational CS course. Nevada (143 of 146), New Hampshire (89 of 95), South Carolina (276 of 300) and Alabama (351 of 382) are all above 90%.

Four of those six, Alabama, Arkansas, Nevada and South Carolina, are also listed in the same report as states with a CS graduation requirement.

The bottom of the table

Alaska (34.2%), Minnesota (34.4%), Kansas (37.9%), Montana (38.4%), Florida (38.8%) and Louisiana (39.3%) all report fewer than four in ten high schools offering CS.

The report flags Alaska specifically: Code.org says it "encountered some challenges collecting data for Alaska this year", so treat its drop with care.

Change since 2019

Which states have expanded access fastest

Our arithmetic on the Access Percent over the Years tab: each state’s whole-number share for 2019 to 2020 against its most recent year. These are percentage points, not percent growth.

Largest increases in high school CS access, 2019 to 2020 vs most recent year (our calculation from Code.org, 2025)
State2019 to 2020Most recentChange (points)
Mississippi48%87% (2024 to 2025)+39
Alabama57%92% (2024 to 2025)+35
Oklahoma37%72% (2023 to 2024)+35
Tennessee50%83% (2024 to 2025)+33
Kentucky45%75% (2024 to 2025)+30
New Hampshire67%94% (2024 to 2025)+27
Georgia55%81% (2024 to 2025)+26
Wyoming41%64% (2024 to 2025)+23
New Mexico32%54% (2023 to 2024)+22
Nevada77%98% (2023 to 2024)+21
States where the most recent share is below 2019 to 2020 (our calculation from Code.org, 2025)
State2019 to 2020Most recentChange (points)
Rhode Island86%79% (2023 to 2024)-7
Delaware68%63% (2024 to 2025)-5
Virginia73%68% (2023 to 2024)-5
Massachusetts82%81% (2023 to 2024)-1
Texas49%48% (2023 to 2024)-1

The national line

Nationally, the sheet shows 47% of high schools offering CS in 2019 to 2020, rising to 51%, 53%, 57.7% and then 60% in both 2023 to 2024 and 2024 to 2025. An earlier 45% for 2018 to 2019 rests on only 39 states.

The flat last two years are why the report describes access as having plateaued, except in states with a graduation requirement.

Reading a decline

A falling share does not always mean courses were cut. If a state opens new high schools, or counts schools differently from one year to the next, the share can move without any class disappearing.

Where a figure surprises you, compare the counts as well as the percentage. The access table above gives both.

Who actually enrolls

Share of high school students taking computer science

Access means a course exists. Participation means students take it. The second number is far smaller everywhere, and nine places did not report it.

High school students enrolled in foundational CS, most recent year each state reported (Code.org, 2025)
StateStudents in CSShare
Alabama17,488 of 222,0897.9%
AlaskaNot reportedNot reported
Arizona14,180 of 368,8293.8%
Arkansas37,330 of 148,45725.1%
California103,362 of 1,936,5265.3%
ColoradoNot reportedNot reported
Connecticut12,411 of 164,9217.5%
DelawareNot reportedNot reported
District of ColumbiaNot reportedNot reported
Florida20,233 of 894,0642.3%
Georgia43,559 of 545,9248.0%
Hawaii1,317 of 51,9612.5%
Idaho1,751 of 99,3361.8%
Illinois35,902 of 595,7656.0%
Indiana18,146 of 325,6635.6%
Iowa8,124 of 156,3425.2%
Kansas3,654 of 146,2662.5%
Kentucky17,236 of 201,0958.6%
Louisiana5,494 of 212,7722.6%
MaineNot reportedNot reported
Maryland46,157 of 276,48416.7%
Massachusetts23,127 of 292,4287.9%
MichiganNot reportedNot reported
Minnesota5,152 of 280,8481.8%
Mississippi14,211 of 130,03710.9%
Missouri7,804 of 273,3382.9%
Montana1,655 of 45,3783.6%
Nebraska4,451 of 98,9724.5%
NevadaNot reportedNot reported
New HampshireNot reportedNot reported
New Jersey35,941 of 408,9638.8%
New Mexico3,335 of 101,6543.3%
New York24,454 of 783,2233.1%
North Carolina27,384 of 481,7415.7%
North Dakota5,492 of 34,18516.1%
Ohio15,883 of 535,5563.0%
Oklahoma15,486 of 204,5947.6%
Oregon12,717 of 183,2216.9%
Pennsylvania19,506 of 551,9963.5%
Rhode Island8,172 of 44,53318.4%
South Carolina61,733 of 240,46325.7%
South DakotaNot reportedNot reported
Tennessee39,819 of 300,91113.2%
Texas85,625 of 1,668,7415.1%
Utah24,445 of 214,80011.4%
Vermont766 of 24,3843.1%
Virginia19,801 of 400,4974.9%
Washington15,821 of 348,8144.5%
West Virginia2,051 of 76,9002.7%
Wisconsin8,377 of 262,6273.2%
Wyoming1,938 of 29,1516.6%

Source: Code.org (2025). 2025 State of AI + CS Education, Most Recent Participation Data tab. The sheet notes that total student numbers come from the NCES Digest of Education Statistics, Table 203.04, Fall 2022, so the denominator is not always the same year as the enrollment count. Shares are rounded by us.

Highest and lowest

South Carolina (25.7%) and Arkansas (25.1%) report about one high school student in four enrolled in CS. Rhode Island (18.4%), Maryland (16.7%) and North Dakota (16.1%, including cybersecurity) follow.

At the other end, Idaho and Minnesota each report 1.8%, and Florida 2.3%.

Why access and enrollment differ

A single elective section in a school of 2,000 students counts that school as offering CS, yet only a few dozen students may take it. Maryland shows the gap clearly: every high school offers CS, while 16.7% of students are enrolled.

For families, the lesson is that "my school offers CS" is the start of the question. Ask how many sections run, at what level, and whether they fit around other required classes.

Schools without CS

How many high schools still have no CS course

Our subtraction of the published counts: total high schools minus those offering CS. It turns a percentage into a number of buildings.

High schools without a foundational CS course, largest counts (our subtraction from Code.org, 2025)
PlaceYearHigh schools without CS
United States (national row)Combined years9,600
Texas2023 to 20241,124
California2023 to 2024957
Florida2023 to 2024729
New York2023 to 2024686
Michigan2023 to 2024554
Minnesota2023 to 2024524

How we worked it: Texas reports 1,036 of 2,160 high schools offering CS, so 2,160 - 1,036 = 1,124 do not. The national figure is 24,405 - 14,805 = 9,600, using the published national row rather than adding up states, because states report different years. Large states dominate the count even when their share looks middling.

Ask the counselor

Find out whether an online or dual enrollment CS course is approved for credit in your state.

Ask about AP

Ask the school’s AP coordinator whether a student can sit an AP CS exam without taking the course there.

Learn live elsewhere

Outside classes build the skill even when they cannot give school credit. A portfolio of projects speaks for itself.

Check the numbers

Recompute and rank the shares in Python

Our example for a first data lesson: start from counts, compute each share, and sort. It shows why a published percentage is only as good as the two numbers behind it.

rank_access.py (our example)Python 3
# offering, total: five rows typed from the access table (Code.org, 2025)
access = {
    "Alabama": (351, 382),
    "Florida": (463, 1192),
    "Maryland": (219, 219),
    "Minnesota": (275, 799),
    "Texas": (1036, 2160),
}

shares = {state: offering / total
          for state, (offering, total) in access.items()}

for state, share in sorted(shares.items(), key=lambda kv: kv[1], reverse=True):
    print(f"{state:<10} {share:6.1%}")

Output, highest first: Maryland 100.0%, Alabama 91.9%, Texas 48.0%, Florida 38.8%, Minnesota 34.4%. Each matches the table, which is the check: 1036 / 2160 = 0.4796, shown as 48.0%.

  1. Store pairs, not percentages. Keeping offering and total lets you recompute and catch typing errors.
  2. Use a dictionary comprehension to turn each pair into a share in one line.
  3. Sort with a key. key=lambda kv: kv[1] sorts by the share, not the state name.
  4. Format as a percentage. The :6.1% format multiplies by 100 and adds the percent sign.
  5. Extend it. Add the year as a third value and print it, so no one compares 2023 to 2024 with 2024 to 2025 by accident.

Where students start

Four starting points for students without school CS

What we usually see when a student comes to us from a high school with little or no computer science.

Starting points (ours)
Starting pointWhat it looks like
1. Never codedCurious, but no course has been available
2. Self-taught basicsSome videos or block coding, no feedback
3. One languageComfortable with Python or JavaScript basics
4. Exam-boundReady to prepare for an AP CS exam independently

For parents

A school without CS does not close the door. Students can still learn, build projects and, where the school allows it, sit an AP exam.

What they miss is a teacher and a timetable. That is what live classes replace.

For students

Start with one language and one project. Breadth comes later.

Keep your work in one folder or repository; it becomes your evidence when a school course is not on the transcript.

The catalogue

Nine courses for students whose school has no CS

Live lessons with one teacher across the course, available as a group class or one to one.

I

Beginners

Ages 13 and up
II

Exam routes

Grades 9 to 12
III

Projects

Build a portfolio

HSCS / III / 01

Data science for teens

Real datasets, real charts.

Open the syllabus

How lessons run

A computer science class when school does not have one

Weekdays or weekends, flexible: choose your batch, or for a very personalised plan choose 1-on-1 at your convenience, weekend mornings or weekdays.

Weekdays

After the school day, in your own time zone.

Weekends

Longer blocks for project work.

1-on-1

Paced toward an AP exam date if wanted.

A real teacher

Live feedback on every program.

A syllabus

Structured units, not random videos.

Portfolio work

Projects worth showing colleges.

Exam support

AP practice when the student is ready.

Anywhere

Rural or urban, any state.

Group or private

Fifteen to twenty, or one to one.

Student work

Student projects from our classes

Work by learners who started from scratch. Browse more on student labs.

NutriLife AI nutrition coach project screenshot

AI and ML

NutriLife

An AI nutrition coach that reads what you eat and works you toward a target.

by Bhavya · Open it

Misti AI chatbot for maths and coding screenshot

AI and ML

Misti

A chatbot that answers mathematics and programming questions, built and deployed by a student.

by Harshit · Open it

GuardianX AI internet safety assistant screenshot

AI and ML

GuardianX

An assistant that helps a young person recognise unsafe situations online.

by Vivaan · Open it

SkyCast weather forecast application screenshot

Web app

SkyCast

A weather forecasting site with live conditions for any location.

by Krish

Fees

Fees

One monthly fee in US dollars, no annual commitment. Students without a school CS course often join for a full school year and stop after an exam.

Free first class

USD 0

no card required

  • A free first lesson
  • A level check
  • No card details
Book it

Group batch

USD 100

a month, billed in US dollars

  • Fifteen to twenty learners
  • One regular teacher
  • Choose your batch
  • Monthly
Start here

One to one

USD 150

a month, billed in US dollars

  • A teacher to yourself
  • Built around your goals
  • Flexible scheduling
Enquire

What families say

Rated 4.9 across 547 Google reviews

Google reviews from parents, quoted unchanged.

★★★★★

"The one step solution for my son. Modern Age Coders make learning coding so simple that kids love it. The teachers explain complex concepts clearly with practical exercises and interactive content."

Ria Mukherjee

Parent

★★★★★

"Modern Age Coders has been a game-changer for me. I struggled to grasp IT concepts and coding before joining, but their classes transformed everything. I can now confidently write complex programs with ease."

Samriddha Mondal

Student

★★★★★

"One of the most wonderful education centres out there. Education is not limited to school syllabus but focuses on skill development."

Vansh Agarwal

Student

★★★★★

"My child Dhairya is really enjoying the Modern Age Coders classes. This is his first online class and he eagerly looks forward to it. I can already see his improvement, and the teachers are very cooperative."

Sonam Oswal

Parent of Dhairya

★★★★★

"Modern Age Coders have wonderful teachers who teach in a clear, easy and practical way. The teacher boosts students' confidence and inspires them to learn without hesitation."

Sonu Goyal

Parent

★★★★★

"I highly recommend this computer coding class! The teachers are incredibly knowledgeable and passionate about coding."

Ritu Kedia

Parent

Questions from families

High school CS access: common questions

What share of US high schools offer computer science?

About 60%: 14,805 of 24,405 public high schools, according to Code.org (2025), 2025 State of AI + CS Education. The national figure combines each state's most recent year.

Which states have the highest access?

Arkansas and Maryland report every high school offering CS. Nevada, New Hampshire, South Carolina and Alabama are each above 90% in their most recent year.

Which states have the lowest access?

Alaska (34.2%) and Minnesota (34.4%) report the lowest shares, followed by Kansas, Montana, Florida and Louisiana, all under 40%.

How many students actually take computer science?

Nationally, 871,490 of 14,364,449 high school students, about 6.1%, counting the states that report participation. State shares range from 25.7% in South Carolina to 1.8% in Idaho and Minnesota.

Why do some states show no enrollment figure?

Alaska, Colorado, Delaware, DC, Maine, Michigan, Nevada, New Hampshire and South Dakota had no participation figure in the most recent data. Not reported does not mean zero.

Has access improved over time?

Yes, from 47% in 2019 to 2020 to 60% in the latest two years nationally. Mississippi gained the most in our calculation, 39 percentage points.

My child's school has no CS class. What can we do?

Ask the counselor about state-approved online or dual enrollment courses, ask whether an AP exam can be taken without the school course, and learn live outside school. We teach students in exactly this situation.

When are your classes?

Weekdays or weekends, flexible: choose your batch, or for a very personalised plan choose 1-on-1 at your convenience, weekend mornings or weekdays.

Can I reuse these figures?

Cite the original: Code.org (2025). 2025 State of AI + CS Education. Code.org publishes the raw data and states the report licence on its site.

Are you part of Code.org?

No. Modern Age Coders is a separate online school. We quote Code.org's published data and link to it.

Elsewhere on this site

Related pages

More for US students finding computer science beyond their school.

Coding classes in the USA

All our US pages in one place.

AP Computer Science A online

When there is no school AP class.

AP CS Principles coaching

The broad AP CS course.

Online coding classes, USA

For younger students too.

CS extracurriculars

Clubs and competitions outside class.

North Carolina

One state’s numbers, in depth.

AI guidance for schools by state

State AI guidance for schools, all 50 states and DC, from the 2025 Code.org report.

Common Core math vs traditional math

Common Core and traditional math compared from the standards, with a worked example.

CS graduation requirements by state

Computer science graduation requirements in all 50 states and DC, with state sources.

Start here

Book a free first lesson

Let us know whether your school offers any computer science, and what your student has tried on their own. We will suggest a starting course and a weekly rhythm.

Before booking, see the way we teach or scan the complete catalogue.

WhatsApp us · +91 91233 66161 · connect@modernagecoders.com

There is no campus to visit: classes run live online from India, timed for American evenings and weekends. WhatsApp gets the quickest answer.

No payment details needed for the free lesson.

Want a class sooner? Book a priority demo

A priority demo is a full class of about 45 to 60 minutes. After the class the mentor sends a written skill report and a personal learning roadmap on WhatsApp. If you enrol, the demo fee is adjusted against your first month's fee. Share your demo Order ID with us on WhatsApp and we take it off.

Book a priority demo

Keep exploring Modern Age Coders

Related courses and guides

Learn more

Free resources

From the blog

Start here

Free classPriority demoCall us