It is bordered by Pakistan in the south and east , Iran in the west , Turkmenistan , Uzbekistan and Tajikistan in the north , and a narrow piece of land known as the Vakhan , or Wakhan Corridor , connects Afghanistan with China to the northeast . It is bordered by Pakistan in the south and east , Iran in the west , Turkmenistan , Uzbekistan and Tajikistan in the north , and China in the far northeast .