The Non-Detention Act of 1971 is a United States statute enacted to repeal portions of the McCarran Internal Security Act of 1950, specifically Title II, the "Emergency Detention Act". The law repealed the Emergency Detention Act of 1950 provisioning the United States Attorney General with powers for detention of anyone in the US deemed to be a threat to the national security of the United States. The 64 Stat. 1019 statute was codified within Title 50 War and National Defense as 50 U.S.C. ch. 23, subch. II §§ 811-826.