Military spokesman Major General Asif Ghafoor said that an "official" of Afghan embassy was called to the General Headquarters (GHQ) in Rawalpindi, the seat of military power.
However, the military did not disclosed the name of terrorists in the list.
The move came after a wave of terrorist attacks in Pakistan within a week, including a suicide bombing by the Islamic State group that killed 76 worshippers at a Sufi shrine in southern Pakistan.
Pakistan closed its border with Afghanistan to press Kabul to take action against militants hiding across the border.
"The Pakistan-Afghanistan border closed with immediate effect till further orders due to security reasons," Ghafoor said.
Official said that movement of all sorts of goods, transport and people has been stopped with Afghanistan.
Pakistan and Afghanistan often accuse each other of nurturing militants who operate across the porous border between the two countries.
(This story has not been edited by Business Standard staff and is auto-generated from a syndicated feed.)