From the earliest days of the republic through modern times, several U.S. presidents have brought military experience from the battlefield to the Oval Office. Military service has shaped their leadership styles, decision-making, and public image. Their history often influenced how they approached issues like national security, foreign policy, and potential warfare. A look at presidents with military service reveals how wartime experience has aligned with political power. Duty, discipline, and command, all of which are highly valued within the military, helped shape some of the nation’s most important leaders.
Presidents throughout America history have had varying degrees of service within the military. John F. Kennedy was a lieutenant in the U.S. Navy. He commanded the patrol torpedo boat PT-109 in the Solomon Islands when it was sunk by a Japanese destroyer in 1943. Despite severe back injuries, he led his surviving crew members through dangerous waters to safety. He even pulled an injured sailor by gripping the strap of the man’s life jacket between his teeth while he swam to shore.
Dwight D. Eisenhower is the U.S. president best known for reaching the highest rank in the military before taking office. He served as a five-star General of the Army during World War II and was Supreme Commander of the Allied Expeditionary Forces in Europe. During this time, he oversaw the D-Day invasion and the liberation of Western Europe.
Here, 24/7 Wall St. explored which presidents served in the military. We ranked them in ascending order along with their dates of presidency, military rank, and branch last served in. When two or more presidents had the same rank, we ranked earlier presidents higher than later ones. We used the U.S. Department of Defense chart of officer insignia to find equivalencies between ranks for different branches of the military.
This post was updated on November 25, 2025 to include how military experience helped shape presidents’ time in office, as well as brief descriptions of Kennedy’s and Eisenhower’s time in the military.
Why You Should Know This

When we elect the person who’s going to effectively lead the United States for the next four years, we’re searching for someone we trust. For many voters, knowing that the president participated in military service is a huge boon. Not every president has served in the military. While 31 presidents have joined the armed forces in some way, the following 14 have not:
- Joe Biden
- Donald Trump
- Barack Obama
- Bill Clinton
- Franklin D. Roosevelt
- Herbert Hoover
- Calvin Coolidge
- Warren G. Harding
- Woodrow Wilson
- William Howard Taft
- Grover Cleveland
- Martin Van Buren
- John Quincy Adams
- John Adams
Interestingly, Woodrow Wilson and Franklin Roosevelt, who led the country through World War I and II respectively, never served in the military themselves. Still, looking at the presidents who did serve offers a better look into how they handled major crises and how their service influenced their presidential leadership styles. It also helps us learn what qualities voters appreciated in different eras.
Here are the 31 presidents with military service and the highest rank they achieved:
31. James Buchanan

- Presidency: 1857-1861
- Rank: Private
- Branch: Pennsylvania Militia
30. George W. Bush

- Presidency: 2001-2009
- Rank: First Lieutenant
- Branch: Air National Guard
29. George H.W. Bush

- Presidency: 1989-1993
- Rank: Lieutenant
- Branch: U.S. Navy Reserve
28. Ronald Reagan

- Presidency: 1981-1989
- Rank: Captain
- Branch: United States Army Reserve
27. John F. Kennedy

- Presidency: 1961-1963
- Rank: Lieutenant
- Branch: U.S. Navy Reserve
26. Jimmy Carter

- Presidency: 1977-1981
- Rank: Lieutenant
- Branch: U.S. Navy
25. William McKinley

- Presidency: 1897-1901
- Rank: Captain
- Branch: U.S. Army
24. Abraham Lincoln

- Presidency: 1861-1865
- Rank: Captain
- Branch: Illinois State Militia
23. John Tyler

- Presidency: 1841-1845
- Rank: Captain
- Branch: Virginia Militia
22. Gerald Ford

- Presidency: 1974-1977
- Rank: Lieutenant Commander
- Branch: U.S. Navy Reserve
21. Millard Fillmore

- Presidency: 1850-1853
- Rank: Major
- Branch: New York Militia
20. Richard Nixon

- Presidency: 1969-1974
- Rank: Commander
- Branch: U.S. Navy Reserve
19. Lyndon B. Johnson

- Presidency: 1963-1969
- Rank: Commander
- Branch: U.S. Navy Reserve
18. Harry S. Truman

- Presidency: 1945-1953
- Rank: Colonel
- Branch: United States Army Reserve
17. Theodore Roosevelt

- Presidency: 1901-1909
- Rank: Colonel
- Branch: U.S. Army
16. James K. Polk

- Presidency: 1845-1849)
- Rank: Colonel
- Branch: Tennessee Militia
15. James Monroe

- Presidency: 1817-1825
- Rank: Colonel
- Branch: Virginia Militia
14. James Madison

- Presidency: 1809-1817
- Rank: Colonel
- Branch: Virginia Militia
13. Thomas Jefferson

- Presidency: 1801-1809
- Rank: Colonel
- Branch: Virginia Militia
12. Benjamin Harrison

- Presidency: 1889-1893
- Rank: Brigadier General
- Branch: U.S. Army
11. Chester A. Arthur

- Presidency: 1881-1885
- Rank: Brigadier General
- Branch: New York Militia
10. Andrew Johnson

- Presidency: 1865-1869
- Rank: Brigadier General
- Branch: U.S. Army
9. Franklin Pierce

- Presidency: 1853-1857
- Rank: Brigadier General
- Branch: U.S. Army
8. James A. Garfield

- Presidency: 1881
- Rank: Major General
- Branch: U.S. Army
7. Rutherford B. Hayes

- Presidency: 1877-1881
- Rank: Major General
- Branch: U.S. Army
6. Zachary Taylor

- Presidency: 1849-1850
- Rank: Major General
- Branch: U.S. Army
5. William Henry Harrison

- Presidency: 1841
- Rank: Major General
- Branch: U.S. Army
4. Andrew Jackson

- Presidency: 1829-1837
- Rank: Major General
- Branch: U.S. Army
3. Dwight D. Eisenhower

- Presidency: 1853-1961
- Rank: General of the Army
- Branch: U.S. Army
2. Ulysses S. Grant

- Presidency: 1869-1877
- Rank: Ulysses S. Grant
- Branch: General of the Armies
1. George Washington

- Presidency: 1789-1797
- Rank: General of the Armies
- Branch: U.S. Army