Pakistani security forces on Monday were preparing to reopen major border crossings with neighbouring Afghanistan, a month after they were closed.
"The necessary documentation is underway ... we hope to open the crossings in a few hours," Shahid Khattak, a spokesman for the Frontier Corps border patrol force, told dpa from the north-western Pakistani city of Peshawar.
Pakistani Prime Minister Nawaz Sharif ordered the reopening of the country's borders earlier on Monday.
"We have taken this decision on humanitarian grounds," a statement by Sharif's office quoted him as saying.
The border closure had left hundreds of thousands of people and lorries carrying food and other goods to Afghanistan stranded at the two major crossings of Torkham and Chamman.
The Pakistani military closed the border on February 16 after a suicide bomber, allegedly from a militant group operating out of Afghanistan, killed nearly 90 people at Sufi Islam's most revered shrine in Pakistan.
Sharif's decision comes days after top diplomatic and security officials from Pakistan and Afghanistan met in London for talks to address each other's concerns on alleged terrorist hideouts in the border regions.