Except as provided in subsection (b) and as provided under section 637(b) or 637a of this title, each officer of the Regular Army, Regular Air Force, or Regular Marine Corps who holds the regular grade of colonel, and each officer of the Regular Navy who holds the regular grade of captain, who is not on a list of officers recommended for promotion to the regular grade of brigadier general or rear admiral (lower half), respectively, shall, if not earlier retired, be retired on the first day of the month after the month in which he completes 30 years of active commissioned service.
Subsection (a) does not apply to the following:
(1) An officer of the Navy who is designated for limited duty to whom section 8372(a)(4) of this title applies.
(2) An officer of the Navy or Marine Corps who is a permanent professor at the United States Naval Academy.
(Added Pub. L. 96–513, title I, § 105, Dec. 12, 1980, 94 Stat. 2862; amended Pub. L. 97–86, title IV, § 405(b)(1), Dec. 1, 1981, 95 Stat. 1105; Pub. L. 98–525, title XIV, § 1405(13), Oct. 19, 1984, 98 Stat. 2622; Pub. L. 99–145, title V, § 514(b)(1), Nov. 8, 1985, 99 Stat. 628; Pub. L. 102–484, div. A, title V, § 504(b), Oct. 23, 1992, 106 Stat. 2403; Pub. L. 103–160, div. A, title V, § 561(e), Nov. 30, 1993, 107 Stat. 1667; Pub. L. 105–261, div. A, title V, § 504(b), Oct. 17, 1998, 112 Stat. 2004; Pub. L. 109–163, div. A, title V, § 509(a)(2), Jan. 6, 2006, 119 Stat. 3229; Pub. L. 114–328, div. A, title V, § 505(b)(2), Dec. 23, 2016, 130 Stat. 2108; Pub. L. 115–232, div. A, title VIII, § 809(a), Aug. 13, 2018, 132 Stat. 1840.)