The New South Wales Auditor General released a report that warned the state could run out of space for school enrolments within two years.

The Education Department said it is developing a ten year plan to fund the building of new schools to combat the shortage.

180,000 students are expected to enrol in public schools over the next twenty years.

Education Minister Sarah Mitchell said the government is committed to ensuring both growth areas and existing communities receive funding.