The short answer
There is no single answer, because people count Afghanistan’s wars in different ways. If you count the Anglo-Afghan wars in order, the second ran from 1878 to 1880. Many people today mean a later conflict when they ask this, such as the Soviet war of 1979 to 1989 or the US-led war that began in 2001.
The main wars in Afghanistan
- First Anglo-Afghan War, 1839 to 1842. British forces invaded to place a ruler friendly to Britain on the throne. The campaign ended in a disastrous British retreat from Kabul in 1842.
- Second Anglo-Afghan War, 1878 to 1880. British forces returned after a dispute over Afghan foreign relations. The war ended in 1880 with Abdur Rahman Khan recognized as ruler.
- Third Anglo-Afghan War, 1919. A short conflict that ended with the Treaty of Rawalpindi, which recognized Afghanistan’s control of its own foreign affairs.
- Soviet-Afghan War, 1979 to 1989. Soviet forces entered in December 1979 to support the Afghan communist government. They withdrew by February 1989.
- Afghan Civil War, 1992 to 1996. Fighting among rival armed groups after the communist government fell in 1992. The Taliban took Kabul in 1996.
- US-led war, 2001 to 2021. The war began after the September 11 attacks and ended with the Taliban’s return to power in August 2021.
Which one counts as the second?
Historians usually number the Anglo-Afghan wars from 1839 onward, so the second is the 1878 to 1880 war. When people ask about a second war today, they often mean a later conflict instead. Some count the Soviet war of 1979 to 1989 as the first of the modern wars, which would make the 2001 war the second.
If you are not sure which war a source means, look at the dates and the countries involved. That will usually make the reference clear.
Not during the Second World War
If you came here looking for a war in Afghanistan during the years 1939 to 1945, the answer is that there was none. Afghanistan stayed neutral throughout the Second World War and did not fight in it.
Checking the dates
Start and end dates for these conflicts are sometimes given differently. A war can be marked from the first battle, a formal declaration, or the date of a peace treaty, and sources do not always use the same event. When you read about one of these wars, check which event the source is using.