The United Nations said last week that the Taliban, who swept to power in 2021, had communicated that Afghan women would not be able to work for the global organization. Taliban officials have not commented on the order.
"Through this ban, the Taliban de facto authorities seek to force the United Nations into having to make an appalling choice between staying and delivering in support of the Afghan people and standing by the norms and principles we are duty-bound to uphold," the UN mission (UNAMA) said.
The UN has said that implementing the order would put the global organization in breach of its charter.
It has asked some 3,000 staff - men and women - to stay home until May 5 while it made "necessary consultations," made any required adjustments to its operations and accelerated contingency planning.
The restriction on female UN workers, coming in the wake of a ban on most female NGO workers in December, has prompted heavy international criticism.
Some officials have flagged concerns donors may pull back on support to Afghanistan's humanitarian aid program, the largest in the world, and that implementing some programs and reaching women in the conservative country without female workers would not be possible.
The Taliban have imposed a series of restrictions on women's access to work, education and public life. Taliban officials have said they respect women's rights in line with their strict interpretation of Islamic law.
Reuters