Facebook says it has banned the Taliban and all content supporting it from its platforms as it considers the group to be a terrorist organisation.
Its rapid takeover of Afghanistan raises fresh challenges for technology firms on how to deal with content related to the group.
"The Taliban is sanctioned as a terrorist organization under US law and we have banned them from our services under our Dangerous Organization policies. This means we remove accounts maintained by or on behalf of the Taliban and prohibit praise, support, and representation of them," a Facebook spokesperson told the BBC.
"We also have a dedicated team of Afghanistan experts, who are native Dari and Pashto speakers and have knowledge of local context, helping to identify and alert us to emerging issues on the platform," they added.
The social media giant said it does not make decisions about the recognition of national governments but instead follows the "authority of the international community".