War Dates Duration Duration (graphical representation) 1. War in Afghanistan 2001 / 10 -- present 16 years (15 years, 11 months) 2. Moro Rebellion 1899 -- 1913 14 years 3. Northwest Indian War 1785 -- 1795 10 years 4. Iraq War 2003 / 03 -- 2011 / 12 8.8 years (8 years, 9 months) 5. American Revolutionary War 1775 / 04 -- 1783 / 09 8.4 years (8 years, 5 months) 6. Vietnam War 1965 / 03 -- 1973 / 04 8.1 years (8 years, 1 month) 7. Second Seminole War 1835 / 12 -- 1842 / 08 6.7 years (6 years, 7 months) 8. First Barbary War 1801 / 05 -- 1805 / 06 4.1 years (4 years, 1 month) 9. American Civil War 1861 / 04 -- 1865 / 04 4 years 10. World War II 1941 / 12 -- 1945 / 08 3.7 years (3 years, 8 months) 11. War on ISIL 2014 / 06 -- present 3.3 years (3 years, 3 months) 12. Korean War 1950 / 06 -- 1953 / 07 3.1 years (3 years, 1 month) 13. War of 1812 1812 / 06 -- 1814 / 12 2.5 years (2 years, 6 months) 14. Red Cloud 's War 1866 / 07 -- 1868 / 04 1.8 years (1 year, 9 months) 15. Mexican - American War 1846 / 04 -- 1848 / 02 1.8 years (1 year, 9 months) 16. World War I 1917 / 04 -- 1918 / 11 1.6 years (1 year, 7 months) 17. Great Sioux War of 1876 1876 / 02 -- 1877 / 05 1.2 years (1 year, 3 months) 18. Persian Gulf War 1990 / 08 -- 1991 / 02 0.5 years (7 months) 19. Whiskey Rebellion 1794 / 05 -- 1794 / 10 0.4 years (5 months) 20. Spanish -- American War 1898 / 04 -- 1898 / 08 0.3 years (114 days) 21. Kosovo War 1999 / 03 -- 1999 / 06 0.2 years (79 days) 22. Invasion of Panama 1989 / 12 -- 1990 / 01 0.1 years (42 days)
what was the longest war in the us
War in Afghanistan