Short answer

  • The Soviet invasion of Afghanistan began in late December 1979, when troops from the Soviet Union entered Afghanistan in support of the Afghan communist government in its conflict with anti-communist Muslim guerrillas known as the mujahideen. Soviet forces toppled the short-lived government of Hafizullah Amin and installed Babrak Karmal in his place. What Moscow appears to have expected to be a short stabilization became a war that lasted until February 1989. Soviet troops held the cities, larger towns, and major garrisons, while mujahideen fighters moved through much of the countryside. The war ended not with a Soviet military victory but with a negotiated withdrawal under the Geneva Accords of April 1988, completed on February 15, 1989. The Kabul government that the Soviets left behind survived until 1992, and civil war continued after the withdrawal.

What the Phrase Means

People searching for Afghanistan the Soviet invasion usually want a plain account of one event inside a longer war. The invasion itself was the entry of Soviet forces in December 1979. The war that followed is often called the Soviet Afghan War, and Britannica dates the wider Afghan War from 1978 to 1992. Keeping those two things apart helps avoid confusion. December 1979 was the start of direct Soviet combat involvement, not the start of fighting in Afghanistan. Fighting between the Kabul government and its opponents had already begun after the April 1978 coup that brought a Marxist government to power.

The Soviet government did not describe its action in the same words as its critics. Moscow said it was sending a limited military contingent at the invitation of the Afghan government to repel aggression from abroad. The United States government, the United Nations General Assembly, and many other governments described the same entry as an invasion and an act of aggression. This article uses the word invasion because that is the term in the brief and in the most widely used English language histories, but it reports the Soviet justification as the Soviet government stated it, rather than adopting it as fact.

Afghanistan Before December 1979

Afghanistan in the 1970s was a poor, largely rural country with a weak central state, strong regional and tribal loyalties, and a population that was overwhelmingly Muslim. The monarchy of King Zahir Shah had been overthrown in 1973 by Mohammed Daoud Khan, a former prime minister. The State Department history records that Daoud depended on pro-Soviet military and political factions for his coup, and that Moscow had provided military training and equipment to Afghanistan since 1955. By 1973, according to that history, a third of Afghan active troops had trained on Soviet soil. Daoud himself was more nationalist than socialist, and he later tried to steer Afghanistan away from Soviet influence and toward better relations with the United States. That balancing act did not hold.

The decisive break came in April 1978. On April 27 and 28, 1978, military officers sympathetic to the People’s Democratic Party of Afghanistan, the PDPA, overthrew and killed Daoud and his family. The event is known as the Saur Revolution, named for the month of Saur in the Afghan calendar. Nur Mohammad Taraki, leader of the Khalq, or People’s, faction of the PDPA, became head of the new government. Babrak Karmal, leader of the rival Parcham, or Banner, faction, became deputy prime minister in an uneasy coalition. The two factions had come from a single party founded in 1965, had split in 1967, and had reunited shortly before the coup. Their rivalry did not end with the reunion. It shaped everything that followed.

The new government forged close ties with the Soviet Union. In December 1978, Taraki signed a friendship treaty in Moscow that included a provision for Soviet military assistance if the regime were threatened. At home, the government launched rapid land and social reforms, including land redistribution, changes to marriage and education policy, and campaigns against what it called feudal and religious backwardness. Britannica describes the government as having little popular support, launching ruthless purges of domestic opposition, and introducing reforms that were bitterly resented by a devoutly Muslim and largely anti-communist population. The reforms were presented by the government as modernization. They were experienced by many Afghans, especially in rural areas, as an attack on landholding, custom, and religion. Armed revolt spread through the countryside during 1978 and 1979.

The Carter administration in Washington recognized the new government, hoping that engagement might limit Soviet influence. That hope faded quickly. In February 1979, U.S. Ambassador Adolph Dubs was kidnapped in Kabul and died during a rescue attempt by Afghan and Soviet authorities. The State Department history describes the kidnapping and death as the point at which U.S. Afghan relations deteriorated sharply. By mid 1979, Washington had begun a modest covert program of nonlethal aid to Afghan insurgents, funneled through Pakistan. The State Department history notes that lethal aid was at first considered too risky, and that the program began with communications equipment, nonlethal combat materiel, and cash.

Inside Kabul, the PDPA tore itself apart. In the summer of 1979, Hafizullah Amin, Taraki’s deputy, moved against the Parcham faction, purging and executing many Parcham members. In September 1979, Taraki was removed from power. In October 1979, forces loyal to Amin executed Taraki. Moscow, which had lost confidence in both men at different points, was infuriated by Taraki’s killing. The State Department history records that Moscow began amassing combat units along its border and, by the winter of 1979, was sending motorized divisions and special forces toward Afghanistan. The Afghan army, weakened by mutinies and uncertain leadership, could no longer provide basic security for the government against insurgents nearing Kabul. That combination, a collapsing client government, a spreading insurgency, and a leadership struggle in Kabul, set the conditions for the decision to invade.

Why Moscow Decided to Invade

Historians do not agree on a single motive, and the honest answer is that several motives reinforced each other. The first was the preservation of a client state. The Soviet leadership, following the Brezhnev Doctrine, held that once a country had become socialist, Moscow would not permit it to return to the capitalist camp. The State Department history presents the invasion as an attempt to secure Afghanistan as an exemplar of that doctrine. From Moscow’s point of view, losing Kabul to an Islamic insurgency would have been a political defeat on its southern border, close to the Soviet Central Asian republics, where Moscow also worried about Islamic political influence.

The second motive was the character of Amin himself. Soviet leaders had come to distrust Amin, suspecting him of seeking contacts with the United States and of being unable to hold the country. Replacing him with Karmal, a Parcham leader who was already aligned with Moscow, offered a leader the Soviets believed they could control. That calculation proved wrong in a different way. Karmal, as Britannica notes, was unable to attain significant popular support, and his government remained dependent on Soviet backing throughout the war.

The third motive was strategic anxiety. Afghanistan bordered the Soviet Union, Iran, Pakistan, and China. The Iranian revolution of 1979 had already transformed the region, replacing a pro-Western monarchy with an Islamic republic. Soviet leaders worried about instability spreading, about American influence in the region, and about the security of their southern frontier. Some analysts have suggested Moscow wanted warm water ports, but that claim should be treated as speculation, not as a documented war aim.

A fourth factor was miscalculation about cost and duration. The State Department history says Kremlin leaders hoped that a rapid and complete military takeover would secure Afghanistan’s place in the Soviet camp. Soviet planners expected Afghan army units to cooperate, major cities to be secured quickly, and the insurgency to be suppressed by the Afghan government once Soviet troops had stabilized Kabul. None of those expectations held for long. The Afghan army suffered mass desertions, the insurgency spread to all parts of the country, and Soviet troops found themselves fighting a guerrilla war rather than holding a stabilized capital.

The Invasion: December 1979

Soviet forces crossed into Afghanistan on the night of December 24, 1979, according to Britannica, which records that some 30,000 troops were sent in during the initial operation. The State Department history dates the start to Christmas Eve and records that Soviet troops immediately assumed military and political control of Kabul and large portions of the country. Other detailed accounts give December 25 as the date of the formal crossing order for the 40th Army. The difference of one day reflects the difference between the start of movement on the night of December 24 and the formal order timed for December 25. This article follows Britannica’s dating for the initial entry, on the night of December 24, and notes the formal order date where relevant, rather than pretending the sources agree to the hour.

On December 27, 1979, Soviet special forces stormed the Tajbeg Palace outside Kabul, where Amin had moved his offices, and killed Amin. Karmal, who had been outside Afghanistan, was installed as head of government. The speed of the palace operation, combined with the seizure of Kabul airport, government buildings, and communications centers, showed that the operation was planned as a political decapitation as well as a military entry. Soviet troops did not merely reinforce an allied government. They removed its head and replaced him.

The Course of the War: Stalemate in the Cities, War in the Countryside

The war that followed did not follow the pattern of a conventional front line war. Soviet and Afghan government forces held Kabul, provincial capitals, major roads, airfields, and garrisons. Mujahideen groups, organized by region, tribe, ethnicity, and political party, held much of the countryside, moved through mountain valleys, and attacked convoys, outposts, and patrols. Britannica describes the result as a stalemate, with Soviet troops trying to crush the insurgency by various tactics while the guerrillas generally eluded their attacks.

The mujahideen were not a single army. Britannica notes that they were fragmented politically into a handful of independent groups and that their military efforts remained uncoordinated throughout the war. The main Sunni parties, based in Pakistan, included groups led by commanders such as Ahmad Shah Massoud in the Panjshir Valley, Gulbuddin Hekmatyar, Burhanuddin Rabbani, and Jalaluddin Haqqani, among others. Shiite groups, including Hazara groups supported by Iran, operated in central Afghanistan. Their rivalries, which later shaped the civil war after 1989, were present during the Soviet war as well, even when they shared an enemy. Foreign volunteers, often called Afghan Arabs regardless of their ethnicity, also traveled to join the opposition, although their military importance during the Soviet war is debated and should not be overstated.

The quality of mujahideen arms improved over time. At first, fighters used old rifles, captured weapons, and weapons supplied in small quantities through Pakistan. Over the 1980s, the United States, Pakistan, Saudi Arabia, China, and other states supplied larger quantities of arms and other war materiel through Pakistan. Britannica records that the mujahideen were eventually able to neutralize Soviet air power through shoulder-fired antiaircraft missiles supplied by the United States. Detailed histories date the first successful use of U.S. supplied Stinger ground-to-air missiles to late August 1986. The Stinger did not win the war on its own, but it reduced the freedom of Soviet helicopters and aircraft, which had been central to Soviet tactics in mountain terrain.

The International Response

The invasion shattered detente, the easing of U.S. Soviet tensions in the 1970s. President Jimmy Carter wrote a sharply worded letter to Soviet leader Leonid Brezhnev denouncing Soviet aggression, according to the State Department history. In his State of the Union address, Carter announced what became known as the Carter Doctrine, vowing to protect Middle Eastern oil supplies from encroaching Soviet power, using military force if necessary. The administration imposed economic sanctions and trade embargoes, including curtailing grain shipments to the Soviet Union, cutting off sales of high technology equipment, and limiting Soviet fishing privileges in U.S. waters. The most publicized response was the U.S. led boycott of the 1980 Moscow Olympics, which did not change Soviet policy.

At the United Nations, the Security Council considered a resolution calling for withdrawal, but the Soviet Union vetoed it. The issue then moved to the General Assembly under the Uniting for Peace procedure. In January 1980, at its sixth emergency special session, held from January 10 to 14, the General Assembly adopted resolution ES-6/2, calling for the immediate, unconditional, and total withdrawal of foreign troops from Afghanistan. The vote was 104 in favor, 18 against, with 18 abstentions, according to the record of that session. The resolution did not name the Soviet Union directly, speaking instead of foreign troops, but its target was clear to every delegation. It had no enforcement power, and Soviet troops stayed, but the breadth of the vote, including many nonaligned states, showed that condemnation was not limited to the Western bloc.

Human Cost and Displacement

Casualty figures for this war must be reported with attribution and with an explicit warning about uncertainty. No complete and agreed count exists, especially for Afghan civilian deaths. For Soviet military deaths, Britannica gives a rounded figure of some 15,000 dead. More precise official style counts often cited in reference works give 14,453 Soviet soldiers killed. The difference between those two figures is a matter of rounding and of which categories, such as deaths from disease and accidents, are included. This article therefore reports the Soviet death toll as about 15,000, following Britannica, and notes the more precise figure of 14,453 where a precise count is needed, with the understanding that both describe the same order of magnitude.

Afghan deaths are far less certain. Estimates cited in scholarly and reference literature range from under one million to as high as two million or more, depending on the period covered, whether mujahideen fighters are counted separately from civilians, and how deaths from indirect causes such as disease, famine, and displacement are treated. Some estimates put Afghan civilian deaths alone at several hundred thousand, while other estimates put total Afghan deaths above one million. Because the range is so wide, this article does not present a single Afghan death toll as fact. It reports that estimates vary widely, that most serious estimates run into the hundreds of thousands at least, and that the absence of a reliable wartime census in rural Afghanistan makes precision impossible.

Displacement is better documented, because refugee registration in Pakistan and Iran provides a partial record, even though it does not capture internal displacement fully. Britannica’s figures for 1982, 2.8 million in Pakistan and 1.5 million in Iran, show the scale within the first three years. By the later 1980s, the combined refugee population in those two countries is commonly described as about five million or more, with additional large numbers displaced inside Afghanistan, including movement toward Kabul, which grew sharply during the war. Britannica notes that by the late 1980s, an estimated one third of the Afghan population were refugees. That proportion, if accepted, conveys the scale better than any single total, but it too should be read as an estimate, not as a census result.

Gorbachev, Stalemate, and the Decision to Leave

Mikhail Gorbachev became Soviet leader in March 1985. He inherited a war that was costly, unpopular among parts of the Soviet public, and damaging to Soviet relations with the rest of the world, at a time when he wanted to reform the Soviet economy and reduce Cold War confrontation. At the 27th Congress of the Communist Party of the Soviet Union in February 1986, Gorbachev described the war in Afghanistan as a bleeding wound. The phrase, reported in U.S. Army War College analysis of the withdrawal, signaled that the new leadership no longer presented the war as a successful defense of a socialist ally.

In May 1986, Karmal was replaced as head of the PDPA by Mohammad Najibullah, the former head of the KhAD security service. Soviet leaders saw Najibullah as better organized and more pragmatic, and as a leader who understood the Soviet desire to disengage. The change was accompanied by a policy often called Afghanization: transferring more combat responsibility to Afghan government forces, while Soviet forces continued to provide aviation, artillery, and advisers. Combat intensified in 1985 and 1986, and Stinger missiles introduced in late 1986 further limited Soviet air power. By late 1986 and early 1987, according to the same U.S. Army War College analysis, the Soviet leadership moved from a general desire to leave toward an actionable decision to withdraw, shaped by a policy review and by the judgment that further escalation would waste Soviet political and military capital.

The Geneva Accords and the Withdrawal

On April 14, 1988, the Geneva Accords were signed. The accords consisted of several instruments: a bilateral agreement between Afghanistan and Pakistan on noninterference and nonintervention, a declaration on international guarantees signed by the Soviet Union and the United States, a bilateral agreement on the voluntary return of Afghan refugees, and an agreement on the interrelationships for the settlement of the situation relating to Afghanistan, signed by Afghanistan and Pakistan and witnessed by the Soviet Union and the United States. The accords set a phased withdrawal timetable. Under the timetable agreed between the Soviet Union and the Afghan government, half the Soviet troops were to leave by August 15, 1988, and all troops were to leave within nine months of the accords entering into force.

The withdrawal began on May 15, 1988, and was completed on February 15, 1989, the date set by the accords. Britannica records the completion date as February 15, 1989, and notes that Afghanistan returned to nonaligned status after the withdrawal. The last Soviet commander to cross back into the Soviet Union, General Boris Gromov, became a symbol of the departure in Soviet reporting, although the withdrawal was a phased military movement, not a single crossing. Soviet aid to the Najibullah government continued after the troops left, which is why the end of direct Soviet combat involvement should not be confused with the end of Soviet support for Kabul.

How Different Sides Remember the War

A neutral history must keep four perspectives visible at once. The Soviet government perspective, as stated at the time, was that Soviet troops entered at Afghan request to defend a socialist ally against foreign backed aggression, and that the operation was a limited contingent, not an occupation. In resolution No. 982-1 of December 24, 1989, the Second Congress of People’s Deputies of the Soviet Union stated that the decision to send troops to Afghanistan ‘deserves moral and political condemnation’.

The Afghan government perspective under Karmal and Najibullah was that the PDPA government represented a modernizing revolution, that its opponents were reactionary and foreign backed, and that Soviet assistance was necessary for national survival. That perspective explains why Kabul requested and accepted Soviet troops, but it does not explain why the government failed to win broader support, a failure that its own leaders acknowledged in later reconciliation efforts.

The mujahideen perspective was that the war was a jihad, a struggle in defense of Islam and Afghan independence against a foreign atheist occupier and its client government. Mujahideen leaders presented themselves as freedom fighters, a term used in much Western reporting at the time. Their perspective explains their endurance and their popular support in many rural areas, but it does not erase their internal divisions or the later civil war among former mujahideen factions.

The international perspective, expressed in the General Assembly vote and in Western government statements, was that the invasion violated Afghan sovereignty and the United Nations Charter, and that outside aid to the resistance was a legitimate response to aggression. That perspective explains the sanctions, the Olympic boycott, and the aid program, but it should not hide the fact that outside aid also prolonged the war and empowered armed groups whose later actions their sponsors did not control.

Why the Invasion Still Matters

The Soviet invasion of Afghanistan matters for at least two reasons. First, it reshaped the Cold War. It ended detente, increased U.S. defense spending, hardened Western attitudes toward Moscow, and became a central example in Western arguments that Soviet expansion had to be resisted. Second, it damaged the Soviet Union itself. The war cost lives, money, and political legitimacy, exposed the gap between official Soviet claims and the experience of soldiers and their families, and became part of the background to Gorbachev’s reforms and to the eventual dissolution of the Soviet Union in 1991. Historians disagree about how much weight to give the war compared with economic stagnation, nationalist pressures, and other factors, so this article presents the war as a contributing pressure, not as the sole cause of Soviet collapse.

Frequently Asked Questions

When did the Soviet Union invade Afghanistan?

Soviet troops entered Afghanistan on the night of December 24, 1979, and Soviet special forces killed President Hafizullah Amin in Kabul on December 27, 1979, installing Babrak Karmal in his place. The Soviet Union remained in Afghanistan until February 1989.

Why did the Soviet Union invade Afghanistan?

The Soviet leadership wanted to preserve a friendly socialist government in Kabul that was collapsing under insurgency and internal PDPA faction fighting, to replace Amin with a leader it trusted, and to prevent a hostile government on its southern border. Moscow presented the entry as assistance invited by the Afghan government. The United States, the United Nations General Assembly, and many other governments described it as an invasion and an act of aggression.

Who were the mujahideen?

The mujahideen were Afghan Muslim guerrilla fighters who opposed the Kabul communist government and the Soviet presence. The name is a collective term for many separate groups, divided by region, tribe, ethnicity, and political party, and not a single unified army. They received arms and funds from the United States, Pakistan, Saudi Arabia, China, and other states, largely through Pakistan, while Iran supported Shiite groups.

How long did the Soviet war in Afghanistan last?

Direct Soviet combat involvement lasted from December 1979 to February 15, 1989, about nine years. The wider Afghan War, including fighting before the invasion and civil war after the withdrawal, is dated by Britannica from 1978 to 1992.

When did Soviet troops leave Afghanistan?

The Geneva Accords of April 14, 1988, set a phased withdrawal timetable. The withdrawal began on May 15, 1988, and was completed on February 15, 1989.

How many people died in the Soviet Afghan War?

About 15,000 Soviet soldiers died, according to Britannica, with more precise counts often cited as 14,453. Afghan deaths are far less certain, with serious estimates ranging widely and commonly running into the hundreds of thousands at least, and some estimates above one million. No single Afghan death toll should be quoted without stating what it includes and who estimated it. Millions of Afghans were also displaced to Pakistan and Iran.

Did the war end when the Soviets left?

No. The mujahideen had not been party to the Geneva Accords and refused their terms, so civil war continued. The Soviet backed government of Mohammad Najibullah survived until 1992, when it collapsed after Soviet aid ended. Later fighting among mujahideen factions, and then the rise of the Taliban in the mid 1990s, grew out of that continued civil war.

What was the Carter Doctrine?

The Carter Doctrine was President Jimmy Carter’s January 1980 declaration, in his State of the Union address, that the United States would treat an attempt by an outside force to gain control of the Persian Gulf region as an assault on U.S. vital interests and would repel it by any means necessary, including military force. The State Department history describes it as Carter’s vow to protect Middle Eastern oil supplies from encroaching Soviet power after the invasion.

Sources & references

  • Encyclopaedia Britannica, Soviet invasion of Afghanistan. Checked 27 October 2026 for the December 1979 entry, the April 1978 coup, the Khalq and Parcham factions, the stalemate pattern, the 1982 refugee figures for Pakistan and Iran, the rounded Soviet death toll of some 15,000, the Geneva Accords agreement in 1988, and the completion of withdrawal on February 15, 1989.
  • U.S. Department of State, Office of the Historian, Milestones in the History of U.S. Foreign Relations: The Soviet Invasion of Afghanistan and the U.S. Response, 1978 to 1980. Checked 27 October 2026 for the 1973 Daoud coup background, the April 1978 Saur Revolution, the Taraki and Amin leadership struggle, the Brezhnev Doctrine framing, the Carter letter to Brezhnev, the Carter Doctrine, sanctions, the 1980 Moscow Olympics boycott, and increased aid to Afghan insurgents.
  • United Nations General Assembly, sixth emergency special session, January 10 to 14, 1980, resolution ES-6/2. Checked 27 October 2026 for the call for the immediate, unconditional, and total withdrawal of foreign troops from Afghanistan and for the vote of 104 in favor, 18 against, with 18 abstentions.
  • Geneva Accords, Agreements on the Settlement of the Situation Relating to Afghanistan, signed April 14, 1988. Checked 27 October 2026 for the instruments signed by Afghanistan and Pakistan with the United States and the Soviet Union as guarantors and witnesses, and for the phased withdrawal timetable ending February 15, 1989.
  • U.S. Army War College, Parameters, David G. Fivecoat, Leaving the Graveyard: The Soviet Union's Withdrawal from Afghanistan. Checked 27 October 2026 for Gorbachev's February 1986 bleeding wound description, the May 1986 replacement of Karmal by Najibullah, the Afghanization policy, and the move toward an actionable withdrawal decision in late 1986 and early 1987.
  • Library of Congress, Country Studies, Afghanistan: The Soviet Decision to Withdraw, 1986 to 1988. Checked 27 October 2026 for the late August 1986 first successful use of Stinger ground to air missiles and for the intensified 1985 and 1986 campaigns against mujahideen supply lines.

Emma Hudson

Editor of Amberaisle — clear, thoughtful explainers for curious readers. More about the editor →