§ 4052. Mandatory retirement

(a)
(1) Except as provided in subsection (b) of this section, any participant shall be retired from the Service at the end of the month in which the participant has reached age 65 and has at least 5 years of service credit toward retirement under the System (excluding military and naval service), and shall receive retirement benefits in accordance with section 4046 of this title.
(2) Notwithstanding paragraph (1)—
(A) an individual described in section 4(a)(2) of the Department of State Special Agents Retirement Act of 1998 who is otherwise eligible for immediate retirement under this subchapter; or
(B) a Foreign Service criminal investigator/inspector of the Office of Inspector General of the Agency for International Development who would have been eligible for retirement pursuant to either section 8336 (c) or 8412 (d) of title 5, as applicable, had the employee remained in civil service,
shall be separated from the Service on the last day of the month in which such individual under subparagraph (A) or such Foreign Service criminal investigator/inspector under subparagraph (B) attains 57 years of age or completes 20 years of service if then over that age. If the head of the agency judges that the public interest so requires, that agency head may exempt such an employee from automatic separation under this subsection until that employee attains 60 years of age. The employing office shall notify the employee in writing of the date of separation at least 60 days before that date. Action to separate the employee is not effective without the consent of the employee, until the last day of the month in which the 60-day notice expires.
(b)
(1) Any participant who is otherwise required to retire under subsection (a) of this section while occupying a position to which he or she was appointed by the President, by and with the advice and consent of the Senate, may continue to serve until that appointment is terminated.
(2) Whenever the Secretary determines it to be in the public interest, any participant who is otherwise required to retire under subsection (a) of this section may be retained on active service for a period not to exceed 5 years.
(3) Any participant who completes a period of service authorized by this subsection shall be retired at the end of the month in which such authorized service is completed.