These releases are in addition to 26 Taliban detainees freed last year by Pakistan.
"In order to further facilitate the Afghan reconciliation process, Pakistan is releasing seven Taliban detainees namely Mansoor Dadullah, Said Wali, Abdul Manan, Karim Agha, Sher Afzal, Gul Muhammad and Muhammad Zai," Pakistan's Ministry of Foreign Affairs said in a statement.
Dadullah was the Taliban Commander of Southern Afghanistan.
The release of Taliban detainees was one of the main demands of Karzai, when he visited Pakistan in late August.
More From This Section
He had asked Pakistan "to facilitate peace talks" between his government and the Taliban.
On its part, Pakistan had promised all help.
"I assured President Karzai that Pakistan will continue to extend all possible facilitation to the international community's efforts for the realisation of this noble goal," Prime Minister Nawaz Sharif had said.
"I also reaffirmed Pakistan's strong and sincere support for peace and reconciliation in Afghanistan."
Karzai, who was initially here on a one-day visit, extended his stay by another day.