(a) If on the date prescribed for the discharge or transfer from an active status of a reserve commissioned officer he is entitled to be credited with at least 18, but less than 19, years of service computed under section 12732 of this title, he may not be discharged or transferred from an active status under chapter 843, 1407, or 1409 of this title or chapter 21 11 See References in Text note below.
of title 14, without his consent before the earlier of the following dates—(1) the date on which he is entitled to be credited with 20 years of service computed under section 12732 of this title; or
(2) the third anniversary of the date on which he would otherwise be discharged or transferred from an active status.
(b) If on the date prescribed for the discharge or transfer from an active status of a reserve commissioned officer he is entitled to be credited with at least 19, but less than 20, years of service computed under section 12732 of this title, he may not be discharged or transferred from an active status under chapter 843, 1407, or 1409 of this title or chapter 21 1 of title 14, without his consent before the earlier of the following dates—(1) the date on which he is entitled to be credited with 20 years of service computed under section 12732 of this title; or
(2) the second anniversary of the date on which he would otherwise be discharged or transferred from an active status.
(d) Subsections (a) and (b) do not apply to—(1) officers who are discharged or transferred from an active status for physical disability, for cause, or because they have reached the age at which transfer from an active status or discharge is required by law; or
(2) commissioned warrant officers.
(e)(1) A reserve commissioned officer on active duty (other than for training) or full-time National Guard duty (other than full-time National Guard duty for training only) who, on the date on which the officer would otherwise be removed from an active status under section 8373, 14513, or 14514 of this title or section 740 1 of title 14, is within two years of qualifying for retirement under section 7311, 8323, or 9311 of this title may, in the discretion of the Secretary concerned and subject to paragraph (2), be retained on that duty for a period of not more than two years.
(2) An officer may be retained on active duty or full-time National Guard duty under paragraph (1) only if—(A) at the end of the period for which the officer is retained the officer will be qualified for retirement under section 7311, 8323, or 9311 of this title; and
(B) the officer will not, before the end of that period, reach the age at which transfer from an active status or discharge is required by this title or title 14.
(3) An officer who is retained on active duty or full-time National Guard duty under this section may not be removed from an active status while on that duty.
(Added Pub. L. 85–861, § 1(22)(B), Sept. 2, 1958, 72 Stat. 1444, § 1006; amended Pub. L. 86–559, § 1(3)(A), June 30, 1960, 74 Stat. 264; Pub. L. 87–651, title I, § 105, Sept. 7, 1962, 76 Stat. 508; Pub. L. 90–130, § 1(4), Nov. 8, 1967, 81 Stat. 374; Pub. L. 93–586, § 3, Jan. 2, 1975, 88 Stat. 1920; Pub. L. 96–322, § 2, Aug. 4, 1980, 94 Stat. 1015; Pub. L. 96–513, title V, § 511(30), Dec. 12, 1980, 94 Stat. 2922; renumbered § 12646 and amended Pub. L. 103–337, div. A, title XVI, §§ 1662(h)(2), 1675(d)(3), Oct. 5, 1994, 108 Stat. 2996, 3018; Pub. L. 115–232, div. A, title VIII, § 809(a), Aug. 13, 2018, 132 Stat. 1840.)