The Alien and Sedition Acts were a series of four laws passed by the U.S. Congress in 1798 during the administration of President John Adams amid widespread fear that a foreign war against France was imminent. The laws—which remain controversial to this day—restricted the activities of foreign residents in the country and limited freedom of speech and of the press, particularly when it was critical of the president or the government.

The Naturalization Act increased the requirements to seek citizenship, the Alien Friends Act allowed the president to imprison and deport non-citizens, the Alien Enemies Act gave the president additional powers to detain non-citizens during times of war, and the Sedition Act criminalized false and malicious statements about the federal government.

The Alien and Sedition Acts were controversial. They were supported by the Federalist Party, and supporters argued that the bills strengthened national security during the Quasi-War, an undeclared naval war with France from 1798 to 1800. The acts were denounced by Democratic-Republicans as suppression of voters and violation of free speech under the First Amendment. While they were in effect, the Alien and Sedition Acts, and the Sedition Act in particular, were used to suppress publishers affiliated with the Democratic-Republicans, and several publishers were arrested for criticism of the Adams administration. The Democratic-Republicans took power in 1800, in part because of backlash to the Alien and Sedition Acts, and all but the Alien Enemies Act were eliminated by the next Congress.