Sign up for our special edition newsletter to get a daily update on the coronavirus pandemic.

The US-Mexico border could be shut down to contain the coronavirus outbreak — by Mexico, health officials said.

Mexico, where there are 26 confirmed cases, is preparing to ban non-essential services like classes and seminars this weekend to prevent spread, among other measures.

The US, where there 2,174 cases and 47 deaths, is a danger to the county, its health minister said Friday.

“If it were technically necessary to consider mechanisms of restriction or stronger surveillance we would have to take into account not that Mexico would bring the virus to the United States, rather that the United States could bring it here,” Deputy Health Minister Hugo Lopez-Gatell said.

President Trump, meanwhile, has said the epidemic is another reason why the US should build a wall between the two countries.

“Because we have had a very strong border policy, we have had 40 deaths related to CoronaVirus. If we had weak or open borders, that number would be many times higher!” he tweeted.

With Post wires