Midshipman was a Starfleet designation for an officer cadet; a student at Starfleet Academy in training to become a commissioned officer. In 2285, the rank of midshipman was divided into at least two grades: midshipman and midshipman first class.
|Enlisted personnel||Commissioned officers||Flag officers|
|ENS||LT JG||LT||LT CMDR||CMDR||CAPT||FCAPT||CDORE||RADM||VADM||ADM||FADM|
|2nd LT||1st LT||CAPT||MAJ||LT COL||COL||BRIG||MAJ GEN||LT GEN||GEN||MARSHAL|
|Services:||Andorian • Bajoran • Cardassian • Ferengi • Human (CSA • Third Reich • UE MACO • USA) • Jem'Hadar • Klingon • Romulan • United Earth/Federation Starfleet • Vulcan|
Mirror universe: Terran Empire Starfleet • Terran Empire MACO
In ultimately excised dialogue from the final revised draft script of TOS: "The Conscience of the King", Kirk was referred to as having been a midshipman even shortly after leaving the Academy. One of the scripted references to Kirk having been a midshipman was even included in a deleted scene from "The Conscience of the King", which referred to him as having held the rank at the time of a massacre on Tarsus IV. ("Swept Up: Snippets from the Cutting Room Floor", Star Trek: The Original Series - The Roddenberry Vault special features)
Several non-canon reference manuals, such as Star Trek: The Next Generation Officer's Manual, have attempted to explain the difference between midshipman and cadet with the common reasoning being that cadet is the standard training rank at Starfleet Academy with midshipman a rank held during advanced leadership studies or in a fifth year status. Regardless of the difference, later Star Trek series have never mentioned the rank of midshipman.