List of presidents of the United States by military rank

The United States Constitution names the president of the United States the commander-in-chief of the United States armed forces. Many presidents, however, also served in the military before taking office; all but 13 of the 44 men to become president as of 2019 have served.

Of the 33 presidents with military service, 31 have been commissioned officers, of whom five began their careers as regular officers (Jimmy Carter transferred to the Naval Reserve after five years in the Navy). 13 presidents have been general officers (four regular officers, six militia officers, three volunteers).