linguistic:translation
Adams presidency

Washington chose to retire after serving two terms and, in advance of the 1796 presidential election, Madison helped convince Jefferson to run for the presidency. Despite Madison's efforts, Federalist candidate John Adams defeated Jefferson, taking a narrow majority of the electoral vote. Under the rules of the Electoral College then in place, Jefferson became vice president because he finished with the second-most electoral votes. Madison, meanwhile, had declined to seek re-election to the House, and he returned to Montpelier. On Jefferson's advice, Adams considered appointing Madison to an American delegation charged with ending French attacks on American shipping, but Adams's cabinet members strongly opposed the idea.

Though he was out of office, Madison remained a prominent Democratic–Republican leader in opposition to the Adams administration. Madison and Jefferson believed that the Federalists were using the Quasi-War with France to justify the violation of constitutional rights by passing the Alien and Sedition Acts, and they increasingly came to view Adams as a monarchist. Both Madison and Jefferson expressed the belief that natural rights were non-negotiable even in war. Madison believed that the Alien and Sedition Acts formed a dangerous precedent, by giving the government the power to look past the natural rights of its people in the name of national security. In response to the Alien and Sedition Acts, Jefferson argued that the states had the power to nullify federal law on the basis of the Constitution being a compact among the states. Madison rejected this view of nullification and urged that states respond to unjust federal laws through interposition, a process by which a state legislature declared a law to be unconstitutional but did not take steps to actively prevent its enforcement. Jefferson's doctrine of nullification was widely rejected, and the incident damaged the Democratic–Republican Party as attention was shifted from the Alien and Sedition Acts to the unpopular nullification doctrine.

In 1799, Madison was elected to the Virginia legislature. At the same time, Madison planned for Jefferson's campaign in the 1800 presidential election. Madison issued the Report of 1800, which attacked the Alien and Sedition Acts as unconstitutional. That report held that Congress was limited to legislating on its enumerated powers and that punishment for sedition violated freedom of speech and freedom of the press. Jefferson embraced the report, and it became the unofficial Democratic–Republican platform for the 1800 election. With the Federalists divided between supporters of Hamilton and Adams, and with news of the end of the Quasi-War not reaching the United States until after the election, Jefferson and his running mate, Aaron Burr, defeated Adams.