# List of wars involving El Salvador

This is a list of wars involving the Republic of El Salvador.

## 1800s

| Conflict | Allies | Opponents | Results |
| First Central American Civil War (1827–1829) | El Salvador  Honduras  Costa Rica  Nicaragua | Guatemala | Victory |
| War of 1832 (1832) | El Salvador | Honduras  Nicaragua | Defeat |
| Malespín's War (1844) | El Salvador Honduras | Nicaragua | Victory |
| Honduran-Salvadoran War of 1845 | El Salvador | Honduras | Status Quo Ante Bellum |
| Filibuster War (1856–1857) | Costa Rica Nicaragua Mosquitia Guatemala Honduras El Salvador United States United Kingdom (naval support) | Filibusters | Victory William Walker's army is defeated and he is arrested by the American Navy |
| War of 1863 (1863) | El Salvador Honduras | Guatemala Salvadoran Deserters | Defeat Overthrow of Gerardo Barrios Francisco Dueñas becomes President |
| Honduran-Salvadoran War of 1871 (1871) | El Salvador | Honduras | Defeat •Francisco Dueñas is overthrown •Santiago González becomes president |
| First Guatemalan–Salvadoran intervention in Honduras (1872) | El Salvador  Guatemala | Honduras | Victory |
| Second Guatemalan–Salvadoran intervention in Honduras (1873) | El Salvador  Guatemala | Honduras | Victory |
| Barrios' War of Reunification (1885) | El Salvador Mexico Costa Rica Nicaragua | Guatemala Honduras | Victory Death of Justo Rufino Barrios |
| First Totoposte War (1890) | El Salvador | Guatemala Salvadoran Exiles | Stalemate Status quo ante bellum |
| Revolution of the 44 (1894) | Salvadoran government | Anti-government rebels Supported by:  Guatemala  Honduras | Rebel victory Carlos Ezeta deposed Rafael Antonio Gutiérrez becomes president |

## 1900s

| Conflict | Allies | Opponents | Results |
| Second Totoposte War (1903) | El Salvador Mexico Guatemalan Exiles | Guatemala | Stalemate Status quo ante bellum |
| Third Totoposte War (1906) | El Salvador Mexico Guatemalan Exiles | Guatemala | Stalemate |
| War of 1907 (1907) | El Salvador | Nicaragua Salvadoran Exiles American Filibusters Honduras | Victory Status quo ante bellum |
| World War II (1941–1945) | United States Soviet Union United Kingdom China France Poland Canada Australia New Zealand India South Africa Yugoslavia Greece Denmark Norway Netherlands Belgium Luxembourg Czechoslovakia Brazil Mexico Chile Panama Costa Rica El Salvador Guatemala Honduras Nicaragua Dominican Republic Cuba | Germany Japan Italy Hungary Romania Bulgaria Croatia Slovakia Finland Thailand Manchukuo Mengjiang | Victory Collapse of the Third Reich Fall of Japanese and Italian Empires Creation of the United Nations Emergence of the United States and the Soviet Union as superpowers Beginning of the Cold War |
| Dominican Civil War (1965–1966) | Dominican Loyalists United States Brazil Paraguay Honduras Nicaragua Costa Rica El Salvador | Dominican Constitutionalists | Victory Juan Bosch excluded from Presidency Election of Joaquín Balaguer |
| Football War (1969) | El Salvador | Honduras | Ceasefire Status quo ante bellum Ceasefire by OAS intervention |
| Salvadoran Civil War (1979–1992) | El Salvador | FMLN | Ceasefire Chapultepec Peace Accords of 1992 Restructuring of Salvadoran Armed Forces National and Treasury Police are dissolved (new civilian-overseen police created) FMLN becomes a political party, its combatants are exonerated |

## 2000s-present

| Conflict | Allies | Opponents | Results |
| Iraq War (2003–2009) | Iraq United States United Kingdom South Korea Italy Poland Australia New Zealand Georgia Ukraine Netherlands Romania Japan Denmark Spain El Salvador Honduras Nicaragua Dominican Republic MNF–I  United States  United Kingdom  Australia  Romania  El Salvador  Estonia  Bulgaria  Moldova  Albania  Ukraine  Denmark  Czech Republic  South Korea  Azerbaijan  Singapore  Bosnia and Herzegovina  Republic of Macedonia  Latvia  Poland  Kazakhstan  Mongolia  Georgia  Tonga  Armenia  Slovakia  Lithuania  Italy  Norway  Japan  Hungary  Netherlands  Portugal  New Zealand  Thailand  Philippines  Honduras  Dominican Republic  Spain  Nicaragua  Iceland | Baath Loyalists ISI al-Qaeda in Iraq Mahdi Army Special Groups IAI Ansar al-Sunnah  Ba'athist Iraq | Victory Invasion and occupation of Iraq Defeat of Ba'ath Party government and execution of Saddam Hussein Iraqi insurgency, emergence of al-Qaeda in Iraq, and civil war Subsequent depletion of Iraqi insurgency, improvements in public security Establishment of democratic elections and formation of new Shia led government U.S.–Iraq Status of Forces Agreement Withdrawal of U.S. forces from Iraq |
| Afghanistan War (2011–2014) | Afghanistan United States United Kingdom Canada Australia New Zealand Germany Italy France Denmark Georgia Poland Romania Turkey Bulgaria Romania Spain El Salvador ISAF  Albania  Armenia  Austria  Azerbaijan  Bahrain  Belgium  Bosnia and Herzegovina  Bulgaria  Croatia  Czech Republic  Denmark  El Salvador  Estonia  Finland  Greece  Hungary  Iceland  Ireland  Jordan  Latvia  Lithuania  Luxembourg  Malaysia  Mongolia  Montenegro  Netherlands  New Zealand  Norway  Portugal  Republic of Macedonia  Singapore  Slovakia  Slovenia  South Korea  Spain  Sweden  Switzerland  Tonga  Ukraine  United Arab Emirates Northern Alliance | Taliban al-Qaeda Islamic Movement of Uzbekistan HI-Gulbuddin Hezb-e Islami Khalis Haqqani network Lashkar-e-Taiba Jaish-e-Mohammed East Turkestan Islamic Movement Tehrik-i-Taliban Pakistan Islamic Emirate of Waziristan Tehreek-e-Nafaz-e-Shariat-e-Mohammadi Islamic Jihad Union | Defeat American victory in the 2001 United States invasion of Afghanistan leading to the destruction of al-Qaeda and Taliban militant training camps and fall of the Taliban government (2001) Establishment of the Islamic Republic of Afghanistan Start of Taliban insurgency Osama bin Laden killed by DEVGRU operators in Abbottabad, Pakistan in May 2011 "Afghanization" of Afghan conflict. Withdrawal of most US troops after 2014 End of Operation Enduring Freedom; start of 2015 phase of war, and Operation Freedom's Sentinel. End of US and ISAF led combat mission; beginning of NATO-led training and assistance mission. Doha Agreement and progressive withdrawal of remaining US troops after 2020 Renewed Taliban offensive in 2021 Taliban forces capture Kabul on August 15, 2021, and overthrow the U.S.-backed Islamic Republic of Afghanistan Re-establishment of the Taliban-run Islamic Emirate of Afghanistan Panjshir Province held out against the Taliban for 3 weeks after Kabul was conquered but ended up also being conquered by the Taliban On 30 August 2021 the last American military plane departed Afghanistan. Billions of dollars of foreign-origin military hardware that was formerly in custody of the Islamic Republic of Afghanistan seized by Taliban |