List of Presidents of the United States by military service

Table columns:
President
Service
Rank
Active Service

Table rows:
cells: Donald Trump
None
None
None
cells: Barack Obama
None
None
None
cells: George W. Bush
Texas Air National Guard, United States Air Force
First Lieutenant
Stateside service as pilot during Vietnam War (1968–1973). [1] (See George W. Bush military service controversy)
cells: Bill Clinton
None
None
None.[2] Received student draft deferments, and planned to join Reserve Officers' Training Corps. Withdrew and entered draft, but received high number and was not drafted.[3] (See Bill Clinton: Vietnam War opposition and draft controversy.)
cells: George H. W. Bush
United States Naval Reserve
Lieutenant (Junior Grade)
Naval aviator in World War II (1942–1945). Shot down and received the Distinguished Flying Cross.
cells: Ronald Reagan
United States Army Reserve, United States Army Air Forces
Captain
Stateside service during World War II (1942–1945); Army Reserve (1937–1942).
cells: Jimmy Carter
United States Navy
Lieutenant (navy)
Served during World War II as a midshipman at the United States Naval Academy. Sea duty and stateside service 1946–1953 during the Korean War.
cells: Gerald Ford
United States Naval Reserve
Lieutenant Commander
World War II (1942–1945); combat on USS Monterey, discharged in 1946.
cells: Richard Nixon
United States Naval Reserve
Commander
World War II (1942–1945); earned two battle stars for service in the Pacific.
cells: Lyndon B. Johnson
United States Naval Reserve
Commander[4]
World War II received Silver Star medal after observation mission in which aircraft he was on allegedly came under Japanese attack. However, new evidence has come to light proving that the plane in fact developed mechanical problems and therefore turned around, having never come under fire. Johnson was the only member of the crew to receive a decoration, therefore leading historians to conclude that General MacArthur awarded him this to secure political influence.[5]
cells: John F. Kennedy
United States Naval Reserve
Lieutenant (navy)
Served in combat during World War II. Received the Navy and Marine Corps Medal and the Purple Heart.
cells: Dwight D. Eisenhower
United States Army
General of the Army
Stateside service during World War I. Served as Supreme Allied Commander in Europe during World War II (1942–1945). Entire active-duty career spanned from 1915 until 1969 (excepting his two terms as president).
cells: Harry S. Truman[6]
Missouri Army National Guard, United States Army, United States Army Reserve
Colonel
Stateside National Guard service in Missouri (1905–1911); served in combat in France during World War I (1917–1918); transferred to Army Reserve and retired in 1953.
cells: Franklin D. Roosevelt
None
None
None; Assistant Secretary of the Navy during World War I.
cells: Herbert Hoover
None
None
None; helped guide US Marines in 1900 during the Boxer Rebellion.
cells: Calvin Coolidge
None
None
None
cells: Warren G. Harding
None
None
None
cells: Woodrow Wilson
None
None
None
cells: William Howard Taft
Connecticut Home Guard
None
None; United States Secretary of War 1904–1908. Enlisted in Connecticut Home Guard for World War I. Was chairman of American Red Cross executive committee during World War I. President Wilson conferred military titles on Red Cross leaders to provide them authority to carry out their wartime responsibilities, and Taft was appointed a major general.
cells: Theodore Roosevelt
United States Army
Colonel
New York National Guard, 1882 to 1886, captain and company commander. Spanish–American War service as second in command and then commander of the 1st United States Volunteer Cavalry (Rough Riders). Only U.S. President to receive the Medal of Honor (awarded posthumously in 2001). Also a Navy Civilian, as Assistant Secretary of the Navy[7]
cells: William McKinley
United States Army
Brevet Major
American Civil War. Served in the 23rd Ohio Infantry under future President Rutherford B. Hayes; fought in the Battle of South Mountain, The Battle of Antietam, and in the Valley Campaigns of 1864.
cells: Benjamin Harrison
United States Army
Brigadier General
American Civil War; Commanded an Infantry Brigade at the battles of Resaca, New Hope Church, Kennesaw Mountain, Marietta, Peachtree Creek and Atlanta; also Commanded a brigade during Sherman's March to the Sea.
cells: Grover Cleveland
None
None
None.
cells: Chester A. Arthur
New York State Militia
Brigadier General
Judge Advocate General, Second Brigade of the New York Militia. Served as Engineer-in-Chief on the Governor's staff, Quartermaster General and Inspector General of the New York Militia before and during the American Civil War. Declined appointment as commander of the 9th New York Volunteer Infantry Regiment and command of four New York City regiments organized as the Metropolitan Brigade when Governor requested he remain Quartermaster General.
cells: James Garfield
United States Army
Major General
American Civil War (1861–1863; commanded an Ohio Infantry Brigade at the Battles of Shiloh and Corinth; served as Chief of Staff for General William Rosecrans at the Battle of Chickamauga; left the army to serve in the United States House of Representatives).
cells: Rutherford B. Hayes
United States Army
Major General
American Civil War. Served in the 23rd Ohio Infantry and commanded future President William McKinley; wounded at the Battle of South Mountain; also served at the Battle of Antietam and in the Valley Campaigns of 1864.
cells: Ulysses S. Grant
United States Army
General of the Army
Mexican–American War and American Civil War; served 1843–54 and 1861–68.
cells: Andrew Johnson
United States Army
Brigadier General
Served in Tennessee Militia in 1830s. American Civil War; served as Military Governor of Tennessee in 1862.
cells: Abraham Lincoln
Illinois State Militia
Captain
Black Hawk War (served three months in 1832); see Abraham Lincoln in the Black Hawk War.
cells: James Buchanan
Pennsylvania State Militia
Private
War of 1812
cells: Franklin Pierce
United States Army
Brigadier General
New Hampshire Militia, 1831–46; Mexican–American War; commanded Infantry Brigade at Battle of Contreras (where his leg was injured), Battle of Churubusco, and the Assault on Mexico City.
cells: Millard Fillmore
New York State Militia
Major
Served in New York Militia in 1820s and 1830s; Organized Union Continentals home guard unit in Buffalo, New York during the American Civil War.
cells: Zachary Taylor
United States Army
Major General
War of 1812, Black Hawk War, Second Seminole War, Mexican–American War; entire career spanned from 1808 until 1848.
cells: James K. Polk
Tennessee State Militia
Colonel
Joined cavalry unit in Tennessee Militia as a Captain. Subsequently appointed a Colonel on the staff of Governor William Carroll.
cells: John Tyler
Virginia militia
Captain
War of 1812.
cells: William Henry Harrison
United States Army
Major General
Northwest Indian War, War of 1812.
cells: Martin Van Buren
None
None
None.
cells: Andrew Jackson
Tennessee State Militia, Continental Army, United States Army
Major General
American Revolutionary War, War of 1812, Creek War, First Seminole War.
cells: John Quincy Adams
None
None
None
cells: James Monroe
Continental Army
Major
American Revolutionary War; depicted holding the American flag behind General George Washington in the famous painting Washington Crossing the Delaware; wounded at the Battle of Trenton, depicted in the painting The Capture of the Hessians at Trenton, December 26, 1776 by John Trumbull.
cells: James Madison
Virginia militia
Colonel
American Revolutionary War, did not see action.
cells: Thomas Jefferson
Virginia militia
Colonel
Commander of Albemarle County Militia at start of American Revolution, did not see action.
cells: John Adams
None
None
Adams served as chairman of the Continental Congress's Board of War (1776–77), making him the simultaneous equivalent of today's Secretary of Defense and Chairman of Senate Armed Services Committee; was a semi-participant in a naval engagement between a British and US ship during the American Revolution.
cells: George Washington
Virginia militia, Virginia Regiment, Continental Army, United States Army
Lieutenant General[8]
French and Indian War, American Revolutionary War.

Questions about this table:
originalText: who was the last military general to be elected president
answer: answerTexts: Dwight D. Eisenhower