---
kind: "section"
citation: "8 U.S.C. § 1226a"
title: "8"
title_heading: "Aliens and Nationality"
number: "1226a"
heading: "Mandatory detention of suspected terrorists; habeas corpus; judicial review"
release: "119-102"
date: "2026-07-12"
url: "https://uscodex.org/usc/8/1226a"
units:
  - "Chapter 12 — Immigration and Nationality"
  - "Subchapter II — Immigration"
  - "Part IV — Inspection, Apprehension, Examination, Exclusion, and Removal"
---

# §1226a. Mandatory detention of suspected terrorists; habeas corpus; judicial review

- (a) **Detention of terrorist aliens—**
  - (1) **Custody—** The [Attorney General](/usc/8/1101.md?p=a-5) shall take into custody any [alien](/usc/8/1101.md?p=a-3) who is certified under [paragraph (3)](#a-3).
  - (2) **Release—** Except as provided in paragraphs [(5)](#a-5) and [(6)](#a-6), the [Attorney General](/usc/8/1101.md?p=a-5) shall maintain custody of such an [alien](/usc/8/1101.md?p=a-3) until the [alien](/usc/8/1101.md?p=a-3) is removed from the [United States](/usc/8/1101.md?p=a-38). Except as provided in [paragraph (6)](#a-6), such custody shall be maintained irrespective of any relief from removal for which the [alien](/usc/8/1101.md?p=a-3) may be eligible, or any relief from removal granted the [alien](/usc/8/1101.md?p=a-3), until the [Attorney General](/usc/8/1101.md?p=a-5) determines that the [alien](/usc/8/1101.md?p=a-3) is no longer an [alien](/usc/8/1101.md?p=a-3) who may be certified under [paragraph (3)](#a-3). If the [alien](/usc/8/1101.md?p=a-3) is finally determined not to be removable, detention pursuant to this subsection shall terminate.
  - (3) **Certification—** The [Attorney General](/usc/8/1101.md?p=a-5) may certify an [alien](/usc/8/1101.md?p=a-3) under this paragraph if the [Attorney General](/usc/8/1101.md?p=a-5) has reasonable grounds to believe that the [alien](/usc/8/1101.md?p=a-3)—
    - (A) is described in section [1182(a)(3)(A)(i)](/usc/8/1182.md?p=a-3-A-i), [1182(a)(3)(A)(iii)](/usc/8/1182.md?p=a-3-A-iii), [1182(a)(3)(B)](/usc/8/1182.md?p=a-3-B), [1227(a)(4)(A)(i)](/usc/8/1227.md?p=a-4-A-i), [1227(a)(4)(A)(iii)](/usc/8/1227.md?p=a-4-A-iii), or [1227(a)(4)(B)](/usc/8/1227.md?p=a-4-B) of this title; or
    - (B) is engaged in any other activity that endangers the [national](/usc/8/1101.md?p=a-21) security of the [United States](/usc/8/1101.md?p=a-38).
  - (4) **Nondelegation—** The [Attorney General](/usc/8/1101.md?p=a-5) may delegate the authority provided under [paragraph (3)](#a-3) only to the Deputy [Attorney General](/usc/8/1101.md?p=a-5). The Deputy [Attorney General](/usc/8/1101.md?p=a-5) may not delegate such authority.
  - (5) **Commencement of proceedings—** The [Attorney General](/usc/8/1101.md?p=a-5) shall place an [alien](/usc/8/1101.md?p=a-3) detained under [paragraph (1)](#a-1) in removal proceedings, or shall charge the [alien](/usc/8/1101.md?p=a-3) with a criminal offense, not later than 7 days after the commencement of such detention. If the requirement of the preceding sentence is not satisfied, the [Attorney General](/usc/8/1101.md?p=a-5) shall release the [alien](/usc/8/1101.md?p=a-3).
  - (6) **Limitation on indefinite detention—** An [alien](/usc/8/1101.md?p=a-3) detained solely under [paragraph (1)](#a-1) who has not been removed under [section 1231(a)(1)(A) of this title](/usc/8/1231.md?p=a-1-A), and whose removal is unlikely in the reasonably foreseeable future, may be detained for additional periods of up to six months only if the release of the [alien](/usc/8/1101.md?p=a-3) will threaten the [national](/usc/8/1101.md?p=a-21) security of the [United States](/usc/8/1101.md?p=a-38) or the safety of the community or any [person](/usc/8/1101.md?p=b-3).
  - (7) **Review of certification—** The [Attorney General](/usc/8/1101.md?p=a-5) shall review the certification made under [paragraph (3)](#a-3) every 6 months. If the [Attorney General](/usc/8/1101.md?p=a-5) determines, in the [Attorney General](/usc/8/1101.md?p=a-5)’s discretion, that the certification should be revoked, the [alien](/usc/8/1101.md?p=a-3) may be released on such conditions as the [Attorney General](/usc/8/1101.md?p=a-5) deems appropriate, unless such release is otherwise prohibited by law. The [alien](/usc/8/1101.md?p=a-3) may request each 6 months in writing that the [Attorney General](/usc/8/1101.md?p=a-5) reconsider the certification and may submit documents or other evidence in support of that request.
- (b) **Habeas corpus and judicial review—**
  - (1) **In general—** Judicial review of any action or decision relating to this section (including judicial review of the merits of a determination made under subsection [(a)(3)](#a-3) or [(a)(6)](#a-6)) is available exclusively in habeas corpus proceedings consistent with this subsection. Except as provided in the preceding sentence, no court shall have jurisdiction to review, by habeas corpus petition or otherwise, any such action or decision.
  - (2) **Application—**
    - (A) **In general—** Notwithstanding any other provision of law, including [section 2241(a) of title 28](/usc/28/2241.md?p=a), habeas corpus proceedings described in [paragraph (1)](#b-1) may be initiated only by an application filed with—
      - (i) the Supreme Court;
      - (ii) any justice of the Supreme Court;
      - (iii) any circuit judge of the [United States](/usc/8/1101.md?p=a-38) Court of Appeals for the District of Columbia Circuit; or
      - (iv) any district court otherwise having jurisdiction to entertain it.
    - (B) **Application transfer—** [Section 2241(b) of title 28](/usc/28/2241.md?p=b) shall apply to an application for a writ of habeas corpus described in [subparagraph (A)](#b-2-A).
  - (3) **Appeals—** Notwithstanding any other provision of law, including [section 2253 of title 28](/usc/28/2253.md), in habeas corpus proceedings described in [paragraph (1)](#b-1) before a circuit or district judge, the final order shall be subject to review, on appeal, by the [United States](/usc/8/1101.md?p=a-38) Court of Appeals for the District of Columbia Circuit. There shall be no right of appeal in such proceedings to any other circuit court of appeals.
  - (4) **Rule of decision—** The law applied by the Supreme Court and the [United States](/usc/8/1101.md?p=a-38) Court of Appeals for the District of Columbia Circuit shall be regarded as the rule of decision in habeas corpus proceedings described in [paragraph (1)](#b-1).
- (c) **Statutory construction—** The provisions of this section shall not be applicable to any other provision of this chapter.

## Source credit

(June 27, 1952, ch. 477, title II, ch. 4, § 236A, as added Pub. L. 107–56, title IV, § 412(a), Oct. 26, 2001, 115 Stat. 350.)

## Notes

### Editorial Notes

### References in Text

This chapter, referred to in subsec. (c), was in the original, “this Act”, meaning act June 27, 1952, ch. 477, 66 Stat. 163, known as the Immigration and Nationality Act, which is classified principally to this chapter. For complete classification of this Act to the Code, see Short Title note set out under section 1101 of this title and Tables.

### Statutory Notes and Related Subsidiaries

### Abolition of Immigration and Naturalization Service and Transfer of Functions

For abolition of Immigration and Naturalization Service, transfer of functions, and treatment of related references, see note set out under section 1551 of this title.

### Reports

Pub. L. 107–56, title IV, § 412(c), Oct. 26, 2001, 115 Stat. 352, provided that: “Not later than 6 months after the date of the enactment of this Act [Oct. 26, 2001], and every 6 months thereafter, the Attorney General shall submit a report to the Committee on the Judiciary of the House of Representatives and the Committee on the Judiciary of the Senate, with respect to the reporting period, on— the number of aliens certified under section 236A(a)(3) of the Immigration and Nationality Act [8 U.S.C. 1226a(a)(3)], as added by subsection (a); the grounds for such certifications; the nationalities of the aliens so certified; the length of the detention for each alien so certified; and the number of aliens so certified who— were granted any form of relief from removal; were removed; the Attorney General has determined are no longer aliens who may be so certified; or were released from detention.”
