Dissatisfaction with the NYC public schools in the midst of COVID-19 is driving tens of thousands of families to switch their children to private or parochial schools, homeschool their kids or move out of the city, sources say.

City schools have lost 31,000 students, about 3.4 percent of the roughly 1 million enrolled last year, according to preliminary data obtained by the education news site Chalkbeat.org.

The DOE’s enrollment has slipped to just over 901,000, Chalkbeat reports. But that number does not include about 130,000 students in charter schools, which are publicly funded, or 50,000 kids in early-childhood programs.

Far more NYC students from low-income families than wealthy ones have left or dropped out, although the percentage of exiting kids was higher in the rich schools.