Under President George H. W. Bush, the United States took a lead role in the UN–sanctioned Gulf War. The longest economic expansion in modern U.S. history—from March 1991 to March 2001—encompassed the Bill Clinton administration and the dot-com bubble.A civil lawsuit and sex scandal led to Clinton's impeachment in 1998, but he remained in office. The 2000 presidential election, one of the closest in American history, was resolved by a U.S. Supreme Court decision—George W. Bush, son of George H. W. Bush, became president.

On September 11, 2001, al-Qaeda terrorists struck the World Trade Center in New York City and The Pentagon near Washington, D.C., killing nearly three thousand people. In response, the Bush administration launched a "War on Terrorism". In late 2001, U.S. forces led an invasion of Afghanistan, removing the Taliban government and al-Qaeda training camps. Taliban insurgents continue to fight a guerrilla war. In 2002, the Bush administration began to press for regime change in Iraq on controversial grounds.Lacking the support of NATO or an explicit UN mandate for military intervention, Bush organized a Coalition of the Willing; coalition forces preemptively invaded Iraq in 2003, removing dictator Saddam Hussein. In 2005, Hurricane Katrina caused severe destruction along much of the Gulf Coast, devastating New Orleans. On November 4, 2008, amid a global economic recession, Barack Obama was elected president. He is the first African American to hold the office. In 2010, he oversaw the enactment of major health care and financial system reform. The Deepwater Horizon oil spill in the Gulf of Mexico that began in April 2010 became the largest peacetime oil disaster in history.