1. Short title This Act may be cited as the Stop Shackling and Detaining Pregnant Women Act . 2. Limitation on detention of pregnant women and mothers of newborns (a) Presumption of release (1) In general Except as provided in paragraph (2), the Secretary— (A) shall not detain a person under any provision of the Immigration and Nationality Act ( 8 U.S.C. 1101 et seq.) during pregnancy or postpartum recovery, pending a decision with respect to whether the person is to be removed from the United States; and (B) shall immediately release any detainee found to be pregnant. (2) Exceptions The Secretary may detain pursuant to the Immigration and Nationality Act ( 8 U.S.C. 1101 et seq.) a person during pregnancy or postpartum recovery under extraordinary circumstances in which the Secretary makes an individualized determination that credible, reasonable grounds exist to believe that the person presents an immediate and serious threat of hurting herself or others. (3) Removal In a case in which detention is the least restrictive means of effectuating the removal from the United States of a pregnant person who is the subject of a final order of deportation or removal, the Secretary may, solely for the purpose of such removal, detain the pregnant person for a period that is— (A) the shortest possible period immediately preceding the removal of the person from the United States