Pakistan's Prime Minister Imran Khan has said preventing women from accessing education in neighbouring Afghanistan would be un-Islamic.
In an interview with the BBC, Mr Khan laid out the conditions that would need to be met for Pakistan to formally recognise the new Taliban government.
He called for the leadership to be inclusive and to respect human rights.
Mr Khan also said Afghanistan should not be used to house terrorists who could threaten Pakistan's security.
Last week, the Taliban excluded girls from secondary schools with only boys and male teachers allowed back. But Pakistan's leader said he believed girls would soon be able to attend.
"The statements they have made since they came to power have been very encouraging," he told the BBC's John Simpson.
"I think they will allow women to go to schools," he said. "The idea that women should not be educated is just not Islamic. It has nothing to do with religion."