In February 2002, immediately after the Bonn Agreement, Anwarzai returned to Afghanistan and was assigned to the Afghan Foreign Ministry as the Director of the Fourth Political Department responsible for European countries.
From 2004 to 2005 Anwarzai was appointed as Minister Counselor at the Afghanistan Mission to the United Nations Office at Geneva.