The Department of Education is getting ready for the possibility that city public schools might have to be closed amid the ever-widening coronavirus emergency, The Post has learned.

The nation’s largest school system sent out surveys this week to city principals to gauge their capacity for remote teaching should schools be closed down for an extended period.

“It’s our responsibility to be prepared for every scenario, and we’re gathering information from principals as a precaution, including their remote learning capabilities,” said DOE spokeswoman Miranda Barbot.

Despite several scares, no city public school teachers or students had tested positive for coronavirus as of Friday afternoon.

A handful of city private schools shuttered temporarily in light of potential coronavirus exposures.

Several city teachers told The Post Friday that they have already been told to prepare for a shutdown by readying various apps that can help facilitate remote instruction.

The DOE has not specifically stated what might trigger a shutdown that would impact roughly one million kids across the five boroughs.

A systemwide closure would also pose a daunting challenge to countless city parents who would suddenly be unable to send their kids to school while still having to work.