Schools face falling enrolments as the number of school-aged children drops over the coming decade.
The latest Ministry of Education forecast shows the number of school children dipped this year and will increase slightly next year before beginning a steady decline.
By 2032 there could be about 789,000 children at school, the lowest figure since 2016 and about 30,000 fewer than this year.
The forecast said the decline would affect primary schools first and secondary schools after 2025.
Primary school rolls would drop by 5 percent or 27,520 children between 2022 and 2032.
"This is driven by a lower number of births, a reduction in primary-aged net migration and larger birth cohorts which peaked in 2008 and 2010 transitioning from primary school to secondary school," the forecast said.
Secondary school rolls would increase 5 percent or 15,017 students between 2022 and 2025 before declining by almost 6 percent or 17,000 students by 2032.
The forecast said homeschooling enrolments were likely to exceed 12,000 within two years and then decline slightly.
Enrolments in specialist schools for children with disabilities were expected to increase by 25 percent or 1561 children to 7708 by 2032.
The forecast said specialist school enrolments had been growing at about 6 percent per year for the past five years.
It showed school rolls peaked last year at 824,075, dropped to 817,369 this year, and were expected to grow again to 822,231 next year.
Statistics New Zealand data suggested the biggest proportional drops in the number of children under the age of 15 could happen in Kawerau, Gisborne, and Porirua.
It showed the number of children under the age of 15 could fall by about 20,000 in Auckland and 5000 in Wellington by 2032.