The history of Afghanistan has always been accompanied by insecurity, military occupation, intra-sectarian and religious differences, foreign interventions and poverty of the society, which did not turn this country into a field to protect the interests of foreign powers. The relationship between Afghanistan and other countries such as Russia, China and Iran has always been considered in the foreign policy equations of the American governments. Occurrences subsequent to the incidents of September 11 and the military occupation of Afghanistan in 2001 removed the Taliban from power until 2021, simultaneously as the withdrawal of American troops and the fall of Afghan cities. The Taliban put the power at their disposal after two decades. The main question is how can the US foreign policy approach be explained prior to the establishment of the Taliban group? The current research, with the explanatory method according to the theory of realism, seeks to test this hypothesis that the domination of the Taliban at the top of Afghanistan's power did not mean the complete withdrawal of America from that country, but rather for various reasons such as concern about the growing power of China, heavy military expenditures, the presence of regional powers. Like Russia, China, and Iran, the failure to destroy terrorism, disagreement with the Afghan government and agreement with the Taliban can be explained.