Road and rail movement between the two countries had already been suspended earlier in the week.
The decision comes a day after two cases of coronavirus were reported in Pakistan. Both the infected people had recently visited Iran, where the number of people affected by the virus has grown drastically in the past few days.