WAR ATLAS / Afghanistan War / War in Afghanistan: America’s Longest War, 2001–2021
War in Afghanistan: America’s Longest War, 2001–2021
The war in Afghanistan was the longest war in American history. It began on 7 October 2001, less than a month after the attacks of 11 September, and it ended on 30 August 2021, almost twenty years later, with the last American aircraft leaving Kabul as the Taliban took the city.
It was a war that began with a clear purpose, the destruction of al-Qaeda and the overthrow of the Taliban, and it ended with a chaotic withdrawal that undid much of what had been achieved. It cost more than two trillion dollars, it cost more than two thousand four hundred American lives, and it cost the lives of tens of thousands of Afghans.
This article tells the story of that war, from the first bombs to the last flight out of Kabul. It explains how the Taliban were overthrown in weeks, why the war then lasted for twenty years, what the surge achieved and what it did not, and how the war ended in a withdrawal that shocked the world. The numbers in this article have been checked against the record, including the death toll at Abbey Gate, which older accounts gave too low.

The war began because of the attacks of 11 September 2001, when al-Qaeda, a terrorist organisation led by Osama bin Laden and sheltered by the Taliban government of Afghanistan, hijacked four American airliners and flew them into the World Trade Center in New York and the Pentagon in Washington. Nearly three thousand people were killed, and the United States, which had never been attacked on its own soil on such a scale, demanded that the Taliban hand over bin Laden and close the terrorist camps in Afghanistan. The Taliban refused, and the United States went to war.
The Attack That Started a War
11 September 2001
On the morning of 11 September 2001, nineteen hijackers took control of four airliners departing from airports on the east coast of the United States. Two of the aircraft were flown into the twin towers of the World Trade Center, which collapsed within two hours, and a third was flown into the Pentagon. The fourth aircraft, United Airlines Flight 93, crashed into a field in Pennsylvania after its passengers fought the hijackers for control of the plane.
The attacks killed 2,977 people, and they changed the United States, and the world, in ways that are still felt today. They were the worst terrorist attack in history, and they were carried out by a group that had planned them for years, in camps in Afghanistan, under the protection of the Taliban. The United States would not forget who had done it, and it would not forget where they had done it from.
The ultimatum to the Taliban
In the days after the attacks, the United States demanded that the Taliban surrender Osama bin Laden and close every terrorist training camp in Afghanistan. The Taliban, who were themselves a product of war and who believed that surrendering a guest was a violation of their code, refused. They offered to try bin Laden in an Afghan court, or to hand him to a third country, but they would not hand him to the United States, and the United States would not accept anything less.
On 20 September 2001, President George W. Bush addressed a joint session of Congress, and he told the world that the United States would pursue the terrorists and the states that harboured them, and that the nations of the world would have to choose. His words were the clearest statement of American policy after the attacks, and they were a warning to every government that sheltered terrorists.
“Either you are with us, or you are with the terrorists.”
— President George W. Bush, address to a joint session of Congress, 20 September 2001
The speech was a triumph, and it united the country behind the war that was coming. It also set a standard that the United States would struggle to live up to, because the war that followed would be longer, harder and more complicated than anyone in that chamber imagined.


The Fall of the Taliban
7 October 2001
On 7 October 2001, American and British aircraft began bombing Taliban and al-Qaeda targets in Afghanistan, and the war began. The bombing was followed by the insertion of American special operations forces, who worked with the Northern Alliance, the Afghan opposition to the Taliban, to drive the Taliban from power. The Northern Alliance, supported by American air power and American advisers, advanced rapidly, and the Taliban, who had ruled Afghanistan for five years, collapsed in a matter of weeks.
Kabul, the capital, fell on 13 November 2001, and Kandahar, the Taliban’s spiritual home, fell on 6 and 7 December. By the end of the year, the Taliban were gone from power, and al-Qaeda’s camps were destroyed. It was a remarkable military success, achieved with a small number of American troops on the ground, and it seemed, at the time, that the war was over.
Tora Bora
It was not over, because Osama bin Laden had escaped. In November and December 2001, American and Afghan forces fought the Battle of Tora Bora, in the mountains on the border with Pakistan, where bin Laden was believed to be hiding. The battle was fought in a maze of caves and tunnels, and bin Laden slipped away, across the border into Pakistan, where he would remain for almost a decade.
The failure to capture bin Laden at Tora Bora was the first great missed opportunity of the war, and it would haunt the American effort for years. The man who had ordered the attacks of 11 September was free, and the organisation he led was wounded but not destroyed, and the war that had seemed over was only beginning.

Building a New Afghanistan
Bonn and Karzai
In December 2001, Afghan leaders met in Bonn, Germany, and agreed on a plan for a new Afghanistan. Hamid Karzai, a Pashtun tribal leader who had opposed the Taliban, was chosen as the interim leader, and a new constitution was written, and elections were held. In 2004, Karzai was elected president, and Afghanistan had, for the first time in decades, a government chosen by its people.
The new government faced enormous challenges, because Afghanistan was one of the poorest countries in the world, with little infrastructure, a largely illiterate population, and a history of war that had destroyed its institutions. The international community promised billions of dollars in aid, and the United States promised to help rebuild the country, but the promises were easier to make than to keep, and the rebuilding was slower than anyone had hoped.
The constitution and the elections
Afghanistan adopted a new constitution in 2004, and it held presidential and parliamentary elections in 2004 and 2005. The elections were a triumph, with millions of Afghans voting, many of them women voting for the first time, and the country seemed, for a moment, to be on the path to democracy. Schools reopened, girls returned to education, and the cities began to recover.
But the countryside remained insecure, and the Taliban, who had never been destroyed, began to regroup in Pakistan, and to return to Afghanistan. By 2006, the Taliban were fighting again, and the war that had seemed won was being lost, slowly, in the villages and valleys of the south and east.
Pakistan was the war’s open secret, because the Taliban’s leadership lived there, its fighters recruited there, and its wounded were treated there. The United States knew this, and it pressed Pakistan to act, but Pakistan’s military saw the Taliban as a tool of its own policy in Afghanistan, and it would not give them up. The war in Afghanistan was, in that sense, a war that could not be won in Afghanistan alone, because the enemy’s sanctuary was across a border that American troops were not allowed to cross in force.


The War That Would Not End
The Taliban return
The Taliban returned because the American effort in Afghanistan was never given the resources it needed, and because the attention of the United States turned, in 2003, to Iraq. The war in Iraq absorbed troops, money and attention, and Afghanistan became the forgotten war, fought with too few troops, too little money, and too little strategy. The Taliban took advantage of that neglect, and they rebuilt their forces in Pakistan, and they returned to Afghanistan in strength.
By 2008, the situation in Afghanistan was deteriorating, and the Taliban controlled large areas of the south and east. The Afghan government was weak and corrupt, and the Afghan army was not yet able to fight on its own.
The United States faced a choice, to commit more troops and try to win the war, or to accept that the war could not be won and to leave. President Barack Obama chose the first option, and he ordered a surge.
The surge of 2009
In 2009, Obama ordered about 30,000 additional American troops to Afghanistan, bringing the total number of American troops to a peak of about 100,000 in 2011. The surge was modelled on the surge in Iraq, and it was commanded, from 2010, by General David Petraeus, the general who had commanded the surge in Iraq. The idea was the same, to protect the population, to drive the Taliban from their strongholds, and to give the Afghan government time to build an army that could take over.
The surge achieved some of its aims, and it failed in others. It drove the Taliban from some areas, and it reduced violence in others, but it did not defeat the Taliban, and it did not build an Afghan army that could fight on its own.
The Afghan army remained dependent on American air power, American logistics and American money, and when those were withdrawn, it collapsed. The surge bought time, but it did not buy victory.
The Bin Laden raid
On 2 May 2011, American special operations forces killed Osama bin Laden in Abbottabad, Pakistan, in a raid that was the most famous special operations mission in history. The raid was a triumph, and it removed the man who had ordered the attacks of 11 September, but it did not end the war, because the war had long since become about Afghanistan, not about bin Laden. The man was dead, but the Taliban were still fighting, and the war went on.
Bin Laden’s death raised a question that the United States never answered, whether the war should have ended with his death, and whether the years that followed were necessary. The question is still debated, and it is a question that has no easy answer, because the war had acquired a momentum of its own, and the institutions that fought it had reasons to keep fighting it, even after its original purpose had been achieved.

The Long Goodbye
The end of the combat mission
On 28 December 2014, the NATO combat mission in Afghanistan, the International Security Assistance Force, formally ended, and it was replaced by a smaller mission to train and advise the Afghan forces. The number of American troops fell, and the war became, for the United States, a smaller and quieter war, fought by a few thousand troops and by Afghan forces that were supposed to be taking over. The Taliban continued to fight, and they continued to gain ground, slowly, year by year.
By 2020, the Taliban controlled more territory than at any time since 2001, and the United States was looking for a way out. President Donald Trump negotiated with the Taliban, and his administration signed the Doha Agreement on 29 February 2020, in which the United States promised to withdraw all its troops by May 2021, in exchange for a Taliban promise not to allow Afghanistan to be used by terrorists, and to negotiate with the Afghan government. The Afghan government was not a party to the agreement, and it was not consulted about it.
The withdrawal
President Joe Biden, who succeeded Trump, kept the withdrawal, but he extended the deadline to 31 August 2021. The withdrawal was carried out in the summer of 2021, and as American troops left, the Afghan army collapsed, and the Taliban advanced across the country, taking city after city with little resistance. The Afghan government, which had been built over twenty years at a cost of billions of dollars, fell apart in a matter of weeks.
The speed of the collapse surprised everyone, including the Taliban, and it surprised the American intelligence agencies, which had predicted that Kabul would hold for months. It did not hold for months, and it did not hold for weeks. It fell in a day.

The Fall of Kabul
15 August 2021
On 15 August 2021, the Taliban entered Kabul, and President Ashraf Ghani fled the country. The Afghan government ceased to exist, and the Taliban, who had been overthrown twenty years earlier, were back in power. The scenes at Kabul airport, where thousands of Afghans crowded the runways, desperate to leave, became the defining image of the war’s end, and they were broadcast around the world.
The evacuation that followed was one of the largest airlifts in history, with about 120,000 people evacuated in two weeks, by American, British and allied aircraft. It was a remarkable feat of logistics, carried out under fire, in chaos, and it saved the lives of tens of thousands of Afghans who had worked with the coalition. It was also a failure, because tens of thousands more were left behind, and because the evacuation itself was a sign of how badly the withdrawal had been planned.
Abbey Gate
On 26 August 2021, a suicide bomber attacked Abbey Gate at Kabul airport, killing thirteen American service members and at least 170 Afghans. The attack was carried out by the Islamic State’s Afghan branch, a rival of the Taliban, and it was the deadliest attack on American forces in Afghanistan in a decade. It was also a reminder that the war had not ended, and that the enemies of the United States were still there, even as the last American troops were leaving.
The Abbey Gate bombing was the last great tragedy of the war, and it was a tragedy that could have been avoided, if the withdrawal had been planned better, and if the evacuation had been carried out earlier. It was, in the end, a fitting end to a war that had been marked, from beginning to end, by missed opportunities and by failures of planning.
The last flight
On 30 August 2021, the last American aircraft left Kabul, and the war was over. President Biden defended the withdrawal, saying that he was not going to extend a war that had already lasted twenty years, and that he was not going to extend an exit that would only prolong the suffering. His words were the last word on a war that had cost so much and achieved so little.
“I was not going to extend this forever war, and I was not extending a forever exit.”
— President Joe Biden, address to the nation, 31 August 2021
The war ended as it had begun, with a decision made in Washington, and with consequences that would be felt in Afghanistan for a generation. The Taliban were back in power, the girls who had gone to school were sent home, and the country that had been promised a future was left to a past that it had tried to escape.

The War in Afghanistan: The Cost
Lives
The human cost of the war was enormous. More than 2,400 American service members were killed, and more than 1,100 allied troops, and more than 46,000 Afghan civilians.
The Costs of War project at Brown University estimated that about 176,000 people were killed directly in the war, including Afghan soldiers, police, Taliban fighters and civilians. Those numbers do not include the indirect deaths, from disease, from displacement, and from the collapse of the Afghan health system, which were many times greater.
Those numbers are, in the end, the truest measure of the war, because they are the measure of what it cost the people who fought it and the people who lived through it. The war was fought for twenty years, and it ended with the Taliban back in power, and the question that remains is whether any of it was worth it. That question has no answer that will satisfy everyone, and it is a question that will be debated for as long as the war is remembered.
Money
The financial cost of the war was also enormous. The United States spent about 2.3 trillion dollars on the war, including the cost of the fighting, the cost of reconstruction, and the cost of caring for veterans. Of that total, about 88 billion dollars was spent on training and equipping the Afghan army, an army that collapsed in a matter of weeks when the American support was withdrawn.
That collapse is the most damning fact about the war, because it shows that the money was spent, but the army was not built. The Afghan army was a force that existed on paper, and on the payroll, but not in the field, and when it was tested, it failed. The money was real, and the failure was real, and the two together are the legacy of the war in Afghanistan.

Counting the Cost: Two Point Three Trillion Dollars
The war in Afghanistan lasted twenty years, from October 2001 to August 2021, and it was the longest war in American history. Brown University’s Costs of War project put the total American financial cost at about 2.3 trillion dollars, counting military operations, related spending, care for veterans, and interest on the money borrowed to pay for the war. The same project put the wider cost of the post-9/11 wars at about 8 trillion dollars, with about 900,000 deaths across all of the war zones.
The human cost fell hardest on Afghans. More than 176,000 people died in the war in Afghanistan, including 46,319 Afghan civilians, about 66,000 Afghan soldiers and police, more than 2,400 American service members, 3,846 American contractors, 1,144 allied troops, 444 aid workers, and 72 journalists. The figures count direct deaths from bombs, bullets and blasts, and they do not include the indirect deaths caused by the collapse of food supplies, health care and infrastructure.
The American military cost was measured in more than money. At its peak in 2010 and 2011, about 100,000 American troops were deployed in Afghanistan, after President Obama added 30,000 troops in the surge of 2009. By the end of the war, 20,722 American service members had been wounded in action, and about 980,000 American veterans of the war were counted by the Bureau of Labor Statistics, of whom about 507,000 had served in both Afghanistan and Iraq.
The money was also spent on building an Afghan state that did not survive. The United States spent about 88 billion dollars training and equipping the Afghan army, and that army dissolved in eleven days when the Taliban returned in August 2021. The government that the war had built collapsed on 15 August 2021, before the American withdrawal was complete, and the Taliban walked into Kabul without firing a shot.
The end of the war was marked by a huge airlift. In the final weeks, American forces moved about 123,000 troops, diplomats and allies out of Kabul, and the last American aircraft left on 30 August 2021. Thirteen American troops were killed in an attack by ISIS-K at the airport on 26 August, and those deaths are counted among the 2,455 American service members killed in the war as a whole.
The war also left a bill that will keep growing. The Costs of War project estimated that the United States would spend more than 1 trillion dollars in the coming years on health care for veterans of the post-9/11 wars, and a further 2.2 trillion dollars had already been set aside for future veterans’ care across the wars as a whole. The fighting ended in 2021, but the cost of the war will be paid for decades.
Related articles
- Airborne Tactics — the tactics of the paratroopers who fought in Afghanistan.
- Berlin Blockade — the first great Cold War crisis, and the first airlift that saved a city.
- Cold War — the conflict whose end made the war in Afghanistan possible.
Sources
- Wikipedia — War in Afghanistan (2001–2021)
- Steve Coll, Directorate S: The C.I.A. and America’s Secret Wars in Afghanistan and Pakistan (Penguin, 2018)
- Carter Malkasian, The American War in Afghanistan: A History (Oxford University Press, 2021)
- Brown University, Costs of War Project — Human and Budgetary Costs to Date of the U.S. War in Afghanistan
- United States Department of Defense — Reports on Progress Toward Security and Stability in Afghanistan