Iran–United States relations during the Obama administration (2009–2017) were defined by a shift from confrontation to cautious engagement, culminating in the landmark nuclear agreement of 2015.

At the start of Obama's presidency, both sides exchanged public messages signaling a possible thaw, with Iran voicing long-standing grievances and the United States calling for mutual respect and responsibility. However, after Mahmoud Ahmadinejad's disputed re-election in 2009, which sparked mass protests and allegations of fraud, the United States responded with skepticism and concern. In late 2011 and early 2012, Iran threatened to close the Strait of Hormuz and warned a U.S. aircraft carrier not to return to the Persian Gulf. The U.S. rejected the warning and maintained its naval presence, while experts doubted Iran's ability to sustain a blockade.

The 2013 election of President Hassan Rouhani, seen as a moderate, marked a shift in tone, with his outreach at the UN and a historic phone call with Obama signaling renewed diplomatic engagement.Obama speaks with Iranian President Rouhani NBC News 27 September 2013Obama talks to Rouhani: First direct conversation between American and Iranian presidents in 30 years National Post 27 September 2013 While high-level contact resumed and symbolic gestures were exchanged, conservative backlash in Iran highlighted internal divisions over rapprochement. In 2015, the United States and other world powers reached the Joint Comprehensive Plan of Action (JCPOA) with Iran, under which Iran agreed to limit its nuclear program in exchange for sanctions relief. The agreement marked a major diplomatic achievement for the Obama administration, though it faced skepticism in Congress and mixed public support in the U.S.

Despite the JCPOA, tensions between the United States and Iran persisted over ballistic missile tests, continued U.S. sanctions, and European business hesitancy due to fear of U.S. penalties. The administration also faced criticism for its handling of these issues, both from Iran and from political opponents.

State of Iran–U.S. relations in January 2009

At the outset of the Obama administration in January 2009, Iran was led by President Mahmoud Ahmadinejad, a hardline conservative known for his confrontational rhetoric toward the West and refusal to halt Iran's nuclear program, while ultimate authority rested with Supreme Leader Ali Khamenei, who held decisive power over Iran's foreign and security policies. Relations between Iran and the United States were tense, marked by escalating concerns over Iran's nuclear activities, growing sanctions, and the absence of direct diplomatic ties since 1980.

Initial outreach and early responses Two days after Barack Obama was elected president in November 2008, Ahmadinejad issued the first congratulatory message to a newly elected American president since 1979: "Iran welcomes basic and fair changes in U.S. policies and conducts. I hope you will prefer real public interests and justice to the never-ending demands of a selfish minority and seize the opportunity to serve people so that you will be remembered with high esteem". In his inaugural speech, President Obama said: To the Muslim world, we seek a new way forward, based on mutual interest and mutual respect. To those leaders around the globe who seek to sow conflict, or blame their society's ills on the West—know that your people will judge you on what you can build, not what you destroy. To those who cling to power through corruption and deceit and the silencing of dissent, know that you are on the wrong side of history; but that we will extend a hand if you are willing to unclench your fist.

Ahmadinejad issued a list of grievances, including the 1953 coup, support for Saddam Hussein in the Iran–Iraq War, and the Iran Air Flight 655 incident. In March 2009, an official delegation of Hollywood actors and filmmakers met with their Iranian counterparts in Tehran as a symbol of United States–Iran relations, but Javad Shamghadri, the Arts Adviser to Ahmadinejad, rejected it and said, "Representatives of Iran's film industry should only have an official meeting with representatives of the academy and Hollywood if they apologize for the insults and accusations against the Iranian nation during the past 30 years".

On 19 March 2009, the beginning of the festival of Nowruz, Obama spoke to the Iranian people in a video saying, "The United States wants the Islamic Republic of Iran to take its rightful place in the community of nations. You have that right—but it comes with real responsibilities".

Detentions

In April 2009, Iranian-American journalist Roxana Saberi was sentenced to eight years in prison after being convicted of spying for the United States. She was accused of possessing a classified document but denied the charge. After spending four months in prison, she was released in May, and the charge was dropped.

Iranian nuclear scientist Shahram Amiri disappeared from Iran during 2009–2010 in May 2009, and Iran accused the United States of abducting him. On 13 July 2010, the BBC reported that Amiri had taken refuge in the Iranian interests section of Pakistani Embassy Washington, D.C., and sought help to reach Iran. However, after his return to Iran, he was sentenced to ten years in prison and in August 2016 was reported to have been executed for treason.

On July 9, 2009, the United States released five Iranian diplomats (Mohsen Bagheri, Mahmoud Farhadi, Majid Ghaemi, Majid Dagheri and Abbas Jami), who had been held since January 2007. Some analysts believe this was a part of hostage exchange deal between the countries. The U.S. State Department said the release was not part of a deal with Iran but was necessary under an American–Iraqi security pact.

2009 Iranian presidential election

The 2009 Iranian presidential election was held on June 12, 2009. Incumbent President Mahmoud Ahmadinejad faced challengers including Mir-Hossein Mousavi, a former Prime Minister of Iran, and Mehdi Karroubi, a former Speaker of the Iranian Parliament. In the lead-up to the election, some reports suggested that the timing of potential U.S.–Iran talks was influenced by the election.

On the day of the election, President Obama expressed optimism about the "robust debate" in Iran. After Ahmadinejad's controversial landslide victory, allegations of widespread fraud sparked mass protests, later known as the Green Movement.Hooman Majd, Think Again: Iran's Green Movement: It's a civil rights movement, not a revolution, Foreign Policy (January 6, 2017). The protests were the largest in Iran since the 1979 revolution. The U.S. response was initially cautious, but as reports of violent crackdowns and voting irregularities emerged, the tone shifted. On June 15, the State Department raised concerns about arrests and irregularities, while U.S. Vice President Joe Biden criticized the suppression of speech.

As the protests grew, Obama condemned the Iranian government's response, stating, "In 2009 no iron fist is strong enough to shut off the world from bearing witness to the peaceful pursuit of justice. Despite the Iranian government's efforts to expel journalists and isolate itself, powerful images and poignant words have made their way to us through cell phones and computers, and so we have watched what the Iranian people are doing." He added: "This is not about the United States and the West. This is about the people of Iran, and the future that they—and only they—will choose." He emphasized that the U.S. respected Iranian sovereignty but said, "I am deeply troubled by the violence that I've been seeing on television. I think that the democratic process—free speech, the ability of people to peacefully dissent—all those are universal values and need to be respected."Josh Levs, Fact Check: Was Obama 'silent' on Iran 2009 protests?, CNN (October 9, 2012).

After further violence against protesters, Obama issued a stronger condemnation, stating that the U.S. and the international community were: "appalled and outraged by the threats, beatings and imprisonments of the last few days" and issued a strong condemnation of "these unjust actions." Some critics, including his 2012 presidential campaign rival Mitt Romney, argued that Obama should have done more to support the Green Movement. Others disagreed, arguing that direct U.S. support for the Iranian opposition could damage its credibility and reinforce the regime's claim that the movement is a foreign-backed plot threatening Iran's sovereignty.

Confrontation and coercion Stuxnet In 2010, Stuxnet was reportedly found in the Natanz Nuclear Facility. Stuxnet is a malicious computer worm thought to have been in development since at least 2005. Stuxnet targets supervisory control and data acquisition (SCADA) systems and is believed to be responsible for causing substantial damage to the Iran nuclear program. Although neither the United States nor Israel has openly admitted responsibility, multiple independent news organizations claim Stuxnet to be a cyberweapon built jointly by the two countries in a collaborative effort known as Operation Olympic Games. The program, started during the Bush administration, was rapidly expanded within the first months of Barack Obama's presidency. The resulting program eventually produced the computer virus Stuxnet that disabled nearly 1,000 centrifuges at Iran’s Natanz nuclear facility and accidentally spread beyond Iran in 2010. Even after the malware accidentally spread beyond Iran in 2010, Obama authorized continued attacks, judging the operation still effective despite the breach.

2010 Sanctions Act

On July 1, 2010, Obama signed the Comprehensive Iran Sanctions, Accountability, and Divestment Act of 2010 (CISADA) as part of the broader campaign to pressure Iran over its nuclear program. CISADA extended the U.S. economic sanctions imposed under the Iran Sanctions Act of 1996, targeting companies and individuals who aid Iran's petroleum sector and aiming to reduce Iranian dependence on gasoline imports. The restrictions in the new law were so stringent that some third countries have warned about interference with their trade."U.S. Iran Sanctions Threaten Ties With Russia – Official.", RIA Novosti, August 13, 2012. The sanctions have significantly impacted Iran, with its oil exports being halved during this period.

Drone incidents

On December 4, 2011, an American Lockheed Martin RQ-170 Sentinel UAV, operated by the CIA, was captured by Iranian forces near Kashmar. Iran claimed it seized the drone using cyber warfare, while the U.S. initially stated it had malfunctioned and crashed. Later, the U.S. admitted the drone was intact after Iranian TV aired footage of it. In November 2012, Iranian Su-25 jets fired on a U.S. drone over international waters and pursued it before returning to base. In March 2013, an Iranian F-4 jet also pursued a U.S. MQ-1 drone, but was warned off by U.S. fighter jets.

Strait of Hormuz dispute

In late December 2011, Iranian navy chief Admiral Habibollah Sayyari was reported to have said that it would be "very easy" for Iran to close the Straits of Hormuz. On 3 January 2012 Iran's army chief Ataollah Salehi warned "We recommend to the American warship that passed through the Strait of Hormuz and went to Gulf of Oman not to return to the Persian Gulf". However, this was later denied by the Defense Minister of Iran. The warship is believed to be the American aircraft carrier which recently vacated the area as Iran conducted a 10-day naval exercise near the Strait of Hormuz. Salehi was also quoted as saying "We have no plan to begin any irrational act but we are ready against any threat." The U.S. Navy responded that it will continue with its regularly scheduled deployments, in accordance with international maritime conventions.