During Wednesday's meeting with the Taliban, China vowed to recognise the group's sovereignty.
"The Taliban in Afghanistan is a pivotal military and political force in the country, and will play an important role in the process of peace, reconciliation, and reconstruction there," said Chinese Foreign Minister, Wang Yi.
China, which shares a 75km border with Afghanistan, is seeking to boost ties with the group to avoid any spillover of violence into its tightly controlled eastern Xinjiang province.
Taliban officials have promised to cut ties with the East Turkestan Islamic Movement, a group China has accused of carrying out attacks in Xinjiang.
Other nations have so far been less forthcoming about engaging with the Taliban publicly. The group is accused of gross human rights violations by the United Nations, including the killing of hundreds of Afghan civilians in Kandahar province in recent weeks.
However, many states are coming to the realisation that they will have to work with the Taliban through more formal channels in the future after previously facing off against the group's soldiers on the battlefield.
Earlier in July, British Defence Minister Ben Wallace told the Telegraph the United Kingdom would be prepared to work with the group if they came to power in Afghanistan.