List of the lengths of United States participation in wars

This article contains the length and list of major conflicts, invasions and wars participated by the United States Armed Forces since its creation in 1775.

Lengths of U.S. combat forces' participation in wars
War in the context of this list is broadly construed to be a direct armed conflict between organized U.S. military forces and organized forces of (a) belligerent(s).

(Note: Ongoing wars are indicated in bold and with red bars.)

{| class="wikitable sortable mw-collapsible" style="border:1px solid #cccccc;" bgcolor="#cccccc" ! scope="col" | Rank ! scope="col" | War ! scope="col" | Dates ! scope="col" | Duration ! scope="col" class="unsortable" |Duration (graphical representation)
 * style="text-align:right" | 1 ||War in Afghanistan|| 2001 – 2021 || years (19 years, 10 months)
 * style="text-align:right" | 2 ||Vietnam War|| 1955 – 1975   || years (19 years, 5 months)||
 * style="text-align:right" | 2 ||Vietnam War|| 1955 – 1975   || years (19 years, 5 months)||
 * style="text-align:right" | 2 ||Vietnam War|| 1955 – 1975   || years (19 years, 5 months)||
 * style="text-align:right" | 2 ||Vietnam War|| 1955 – 1975   || years (19 years, 5 months)||


 * style="text-align:right" | 3 || Occupation of Haiti ||1915 – 1934 || years ||
 * style="text-align:right" | 4 || Philippine–American War and Moro Rebellion ||1899 – 1913 || years ||
 * style="text-align:right" | 4 || Philippine–American War and Moro Rebellion ||1899 – 1913 || years ||
 * style="text-align:right" | 4 || Philippine–American War and Moro Rebellion ||1899 – 1913 || years ||


 * style="text-align:right" | 5 || War in North-West Pakistan ||2004 – 2017 || years ||
 * style="text-align:right" | 6 || Northwest Indian War ||1785 – 1795 || years ||
 * style="text-align:right" | 6 || Northwest Indian War ||1785 – 1795 || years ||
 * style="text-align:right" | 6 || Northwest Indian War ||1785 – 1795 || years ||


 * style="text-align:right" | 7 ||War on ISIS|| 2014 – present || years (10 years) ||
 * style="text-align:right" | 8 || Iraq War || 2003 – 2011     ||  years (8 years, 9 months)||
 * style="text-align:right" | 9 || American Revolutionary War || 1775 – 1783 || years (8 years, 5 months) ||
 * style="text-align:right" | 8 || Iraq War || 2003 – 2011     ||  years (8 years, 9 months)||
 * style="text-align:right" | 9 || American Revolutionary War || 1775 – 1783 || years (8 years, 5 months) ||
 * style="text-align:right" | 9 || American Revolutionary War || 1775 – 1783 || years (8 years, 5 months) ||


 * style="text-align:right" | 10 ||Second Seminole War
 * 1835 – 1842 || years (6 years, 7 month) ||
 * style="text-align:right" | 11 ||First Barbary War || 1801 – 1805 || years (4 years, 1 month) ||
 * style="text-align:right" | 11 ||First Barbary War || 1801 – 1805 || years (4 years, 1 month) ||
 * style="text-align:right" | 11 ||First Barbary War || 1801 – 1805 || years (4 years, 1 month) ||


 * style="text-align:right" | 12 ||American Civil War || 1861 – 1865 || years||
 * style="text-align:right" | 13 ||World War II || 1941 – 1945 || years (3 years, 8 months) ||
 * style="text-align:right" | 13 ||World War II || 1941 – 1945 || years (3 years, 8 months) ||
 * style="text-align:right" | 13 ||World War II || 1941 – 1945 || years (3 years, 8 months) ||


 * style="text-align:right" | 14 ||Korean War || 1950 – 1953 || years (3 years, 1 month)  ||
 * style="text-align:right" | 15 ||War of 1812 || 1812 – 1814 || years (2 years, 6 months) ||
 * style="text-align:right" | 15 ||War of 1812 || 1812 – 1814 || years (2 years, 6 months) ||
 * style="text-align:right" | 15 ||War of 1812 || 1812 – 1814 || years (2 years, 6 months) ||


 * style="text-align:right" | 16 ||Red Cloud's War || 1866 – 1868 || years (1 year, 9 months) ||
 * style="text-align:right" | 17 ||Mexican–American War || 1846 – 1848 || years (1 year, 9 months) ||
 * style="text-align:right" | 17 ||Mexican–American War || 1846 – 1848 || years (1 year, 9 months) ||
 * style="text-align:right" | 17 ||Mexican–American War || 1846 – 1848 || years (1 year, 9 months) ||


 * style="text-align:right" | 18 ||World War I || 1917 – 1918 || years (1 year, 7 months) ||
 * style="text-align:right" | 19 || Russian Civil War || 1918 – 1920 || years (1 year, 7 months) ||
 * style="text-align:right" | 19 || Russian Civil War || 1918 – 1920 || years (1 year, 7 months) ||
 * style="text-align:right" | 19 || Russian Civil War || 1918 – 1920 || years (1 year, 7 months) ||


 * style="text-align:right" | 20 || Great Sioux War of 1876 ||1876 – 1877 || years (1 year, 3 months) ||
 * style="text-align:right" | 21 || Gulf War || 1990 – 1991 || years (7.2 months)   ||
 * style="text-align:right" | 21 || Gulf War || 1990 – 1991 || years (7.2 months)   ||
 * style="text-align:right" | 21 || Gulf War || 1990 – 1991 || years (7.2 months)   ||


 * style="text-align:right" | 22 || Whiskey Rebellion || 1794 – 1794 || years (4.8 months) ||
 * style="text-align:right" | 23 || Spanish–American War || 1898 – 1898 || days  ||
 * style="text-align:right" | 23 || Spanish–American War || 1898 – 1898 || days  ||
 * style="text-align:right" | 23 || Spanish–American War || 1898 – 1898 || days  ||


 * style="text-align:right" | 24 || Kosovo War ||1999 – 1999 || days ||
 * style="text-align:right" | 25 || Invasion of Panama ||1989 – 1990 || days ||
 * style="text-align:right" | 25 || Invasion of Panama ||1989 – 1990 || days ||
 * style="text-align:right" | 25 || Invasion of Panama ||1989 – 1990 || days ||


 * style="text-align:right" | 26 ||Invasion of Grenada ||1983-10-25 – 1983-10-29 || (3.5) days  ||
 * style="text-align:right" | 27 || Bay of Pigs Invasion || 1961-04-19 || 1 day
 * style="text-align:right" | 27 || Bay of Pigs Invasion || 1961-04-19 || 1 day
 * style="text-align:right" | 27 || Bay of Pigs Invasion || 1961-04-19 || 1 day


 * }
 * }

Sources are found in the main articles of each war, as well as the Associated Press.