Relations · Middle East

Iran-Iraq relations

FriendlyClose partners, 38 years after an eight-year war

Iran and Iraq are close partners, but not allies. Iraq's ruling bloc is led by Shia parties aligned with Iran, and Iran sold Iraq $11.9 billion of non-oil goods in the year to March 2025. The two fought an eight-year war from 1980 to 1988 that killed hundreds of thousands and ended with the border unchanged. Iran has struck Iraq's Kurdistan Region during the 2026 war, but Iraq's federal government kept working with Iran's. Iraq also works with the United States and says it will stay neutral in the US-Iran war.

Updated November 18, 2026 · Votes from the UN

The Azadi Tower in Tehran under a blue sky A lit reed guesthouse, a mudhif, and a canoe on the water of the Mesopotamian Marshes at dusk
Azadi Tower, Tehran. Photo: Bernard Gagnon, Wikimedia Commons, CC BY-SA 4.0 · A mudhif reed house in the Mesopotamian Marshes. Photo: Ahmed Abdul Amiralem, Wikimedia Commons, CC BY-SA 4.0
  • April 1929Diplomatic relations since
  • $11.9bnIran's non-oil sales to Iraq, year to March 2025
  • 8 yearsTheir only war as modern states, 1980-1988
  • 95%Same UN votes in 2025
  • ~5mForeign pilgrims at Arbaeen 2026, many Iranian
  • $11bnIran says Iraq owes for gas and electricity

Where relations stand today

Checked November 18, 2026

Iraq says it is not part of any axis and will stay neutral in the US-Iran war. Prime Minister Ali al-Zaidi visited Tehran in November 2026 to help restart Iran-US talks, and he wants Iran-backed armed groups disarmed by mid-2027.

Latest

  • Kataib Hezbollah, an Iran-backed group, said it would fight if Iraqi forces entered its stronghold at Jurf al-Sakhar, south of Baghdad. Iran's Quds Force commander, Esmail Qaani, held talks in Baghdad, and reports of a withdrawal deal were not confirmed.
  • Iraq closed the Mandali crossing with Iran for what officials called upgrade work. On November 7, Foreign Minister Fuad Hussein had said the United States wanted Iraq to close all but two of its land crossings with Iran.
  • Prime Minister Ali al-Zaidi made an unannounced visit to Tehran, meeting President Masoud Pezeshkian and Parliament Speaker Mohammad Bagher Qalibaf. Iraq said the aim was to narrow the differences between Iran and the United States.
Map of Iran and Iraq showing the Shatt al-Arab waterway and Halabja Iran Iraq Shatt al-Arab Halabja

Why are Iran and Iraq so close after their war?

What ties them

  • Shia politics. Iraq's ruling Coordination Framework is a bloc of Shia parties aligned with Iran. One of them, the Supreme Council for the Islamic Revolution in Iraq, was founded in Iran in 1982, and its armed wing, the Badr Brigade, was formed there with Iranian backing.
  • Trade. Iran sold Iraq $11.9 billion of non-oil goods in the year to March 2025, making Iraq its second-largest market after China. Food, petrochemicals and construction materials lead the list.
  • Energy. Before the 2026 war, Iranian gas fed nearly a third of Iraq's power generation capacity. Flows dropped to about a sixth of Iraq's needs after Israeli strikes on South Pars in March 2026.
  • Pilgrimage. Najaf and Karbala hold the shrines of Imam Ali and Imam Hussein, the holiest Shia sites outside Arabia. Karbala's governor counted about 5 million foreign visitors at Arbaeen in August 2026, and Iranians came in large numbers.

What divides them

  • The United States. The United States wants Iraq to curb Iran-backed militias and cut border trade with Iran. Iraq's foreign minister says Iraq is "not part of any axis," and Iranian hardliners urge Iraq to resist US pressure.
  • Strikes on Kurdistan. Iran says it strikes "separatist terrorist groups" and US forces in Iraq's Kurdistan Region. An Iranian missile strike at Soran in March 2026 killed six Peshmerga soldiers, and Iraq summoned Iran's ambassador.
  • Gas debt. Iran says Iraq owes about $11 billion for gas and electricity. Iraq says it cannot pay the full amount now, and US sanctions block payments to Iran.
  • The Strait of Hormuz. Iraq has lost more than $60 billion in oil revenue since Iran closed the strait at the start of the war in February 2026. Iran says Iraqi ships are exempt, but Iraq's parliament speaker said in September that Iran did not exempt Iraqi tankers.

How much do Iran and Iraq trade?

UN trade data shows almost no Iran-Iraq trade because neither country reports to the UN. Iran's customs agency (IRICA) counted $11.9 billion of non-oil goods sold to Iraq in the Iranian year to March 2025, making Iraq Iran's second-largest market after China. The Iran-Iraq Joint Chamber of Commerce says Iran bought about $754 million from Iraq in 2024.

Have Iran and Iraq fought a war?

1623-1639

Ottoman-Safavid War

Sides
Safavid Persia against the Ottoman Empire (which ruled Iraq)
Fought over
Control of Baghdad and the border between them
Result
The Ottomans won, and the Treaty of Zuhab drew the first frontier
Deaths
One account says about 30,000 were killed in a day after Baghdad fell

1821-1823

Ottoman-Persian War

Sides
Qajar Persia against the Ottoman Empire (which ruled Iraq)
Fought over
Kurdistan and control of the border
Result
The Treaty of Erzurum left the border unchanged

1980-1988

Iran-Iraq War

Sides
Iraq, backed by France, the Soviet Union and Gulf states, against Iran, largely isolated
Fought over
The Shatt al-Arab, Khuzestan and fears of Khomeini's revolution spreading
Result
Neither side won. No territory changed hands, and the UN later named Iraq as the side that started the war.
Deaths
Britannica estimates about 500,000 killed. The Correlates of War project counts 1.25 million.
Encyclopedia entry →

A short history of Iran-Iraq relations

WarTreaty or peaceCrisis

Empires · 1623-1918

  1. 1623Shah Abbas takes BaghdadSafavid Persia under Shah Abbas captured Baghdad from the Ottomans. Sultan Murad IV marched 110 days from Constantinople, retook the city on Christmas Day 1638 and had nearly all of its Persian garrison executed.
  2. 1639Treaty of ZuhabPersia and the Ottoman Empire drew the first frontier between the Zagros Mountains and the Tigris, roughly along today's border.
  3. 1823First Treaty of ErzurumThe treaty ended a war in which Persia's crown prince, Abbas Mirza, beat a larger Ottoman army at Erzurum. The border stayed the same.
  4. 1847Second Treaty of ErzurumPersia gained Khorramshahr, Abadan and the east bank of the Shatt al-Arab. The river itself stayed Ottoman.

Kingdoms and the Shah · 1929-1979

  1. 1929Iran recognizes IraqPersia recognized the new Kingdom of Iraq in April 1929, after Britain annulled a judicial agreement that had treated Persian nationals differently.
  2. 1969Iran voids 1937 treatyAfter Iraq claimed all the waters of the Shatt al-Arab, Iran declared void the 1937 treaty that had left most of the river to Iraq. An Iranian ship then entered the river with a naval escort.
  3. 1975Algiers AccordAlgeria's President Houari Boumediene brought the Shah and Saddam Hussein together. Iraq accepted a border along the deepest channel of the Shatt al-Arab, and the Shah stopped arming Iraq's Kurdish rebels.
  4. 1978Iraq expels KhomeiniAfter 13 years of exile in Najaf, Ayatollah Ruhollah Khomeini was expelled by Iraq in October 1978 at the Shah's request. Kuwait refused him entry, so he flew to Paris.

War · 1980-1990

  1. 1980Iraq invades IranIraq's army invaded Iran on September 22, 1980. Five days earlier, Saddam Hussein had scrapped the Algiers Accord and declared the Shatt al-Arab "totally Iraqi."
  2. 1982Iran retakes KhorramshahrIran retook Khorramshahr on May 24, 1982, and pushed Iraq's army back toward the border. Ayatollah Khomeini then chose to fight on to overthrow Saddam.
  3. 1988Halabja gas attackOn March 16, 1988, Iraqi aircraft dropped chemical agents on Halabja, a Kurdish town held by Iranian forces. Most accounts say about 5,000 civilians died.
  4. 1988Ceasefire under Resolution 598Khomeini said accepting the ceasefire was "more deadly than drinking from a poisoned chalice." The war ended on August 20, 1988, and no territory changed hands.
  5. 1990Saddam accepts the Algiers lineFacing war over Kuwait, Saddam Hussein accepted the 1975 border in an August 1990 letter to President Akbar Hashemi Rafsanjani. Iraqi troops left Iranian land, and the two countries restored ties in September.

After Saddam · 2003-today

  1. 2014Iran arms the Kurds vs ISISMasoud Barzani, then president of Iraq's Kurdistan Region, said Iran was the first country to send weapons when ISIS swept across Iraq in 2014. Iran-backed Shia militias joined the fight inside the state-funded Popular Mobilization Forces.
  2. 2020Soleimani killed in BaghdadA US strike at Baghdad airport on January 3, 2020 killed Iran's Qasem Soleimani and Abu Mahdi al-Muhandis, the founder of Kataib Hezbollah. Two days later, Iraq's parliament passed a non-binding resolution to end the foreign troop presence.
  3. 2026Iraq mourns KhameneiAfter the US-Israeli strike that killed Ali Khamenei on February 28, 2026, Iraq declared three days of national mourning. In July, Prime Minister al-Zaidi received Khamenei's coffin in Najaf for funeral processions.

Treaties between Iran and Iraq

  • 1639Treaty of ZuhabDrew the first frontier between Safavid Persia and the Ottoman Empire, roughly along today's border between the Zagros Mountains and the Tigris.Superseded
  • 1937Frontier Treaty of TehranSigned on July 4, 1937. It left most of the Shatt al-Arab to Iraq but moved the border to the deepest channel for about 8 km opposite Abadan. Iran declared it void in April 1969.Replaced 1975
  • 1975Algiers AccordSet the Shatt al-Arab border along the deepest channel for 105 km. Iraq scrapped it in 1980, and Saddam Hussein accepted it again in an August 1990 letter to President Rafsanjani. In March 2019 the two governments agreed to put it fully into effect.Restored 1990
  • 1987UN Security Council Resolution 598Passed unanimously on July 20, 1987. It demanded a ceasefire, withdrawal to recognized borders and an inquiry into who started the war. The ceasefire took effect on August 20, 1988.Implemented 1988
  • 2023Joint security agreement on Kurdish groupsSigned on March 19, 2023. Iraq agreed to disarm Iranian Kurdish opposition groups and move them from the border. Iran says it has not been fully carried out.In force
  • 202414 memoranda of understandingSigned on September 11, 2024 during President Pezeshkian's first foreign trip to Baghdad. They covered trade, agriculture, culture and tourism. Pezeshkian served as a medic and fighter in the Iran-Iraq War.In force

Both are in

OPECOPEC+NAM

Only Iran

BRICSSCO

Only Iraq

Arab League

How often do Iran and Iraq vote the same way at the UN?

In 2025, Iran and Iraq voted the same way on 95% of the recorded votes in the UN General Assembly. Iran and Iraq voted the same way on 95% of recorded UN General Assembly votes in 2025, one of their highest agreement rates in the last two decades. Compare their votes →

Abstaining while the other votes yes or no counts as half agreement. Data: UN Digital Library voting data, 1991 to 2025.

How well do you know Iran and Iraq?

10 questions on their wars, treaties, trade and size. About three minutes, no signup.

Iran vs Iraq: how they compare

All rankings →

Questions about Iran and Iraq

Who won the Iran-Iraq War?

Neither side won. The ceasefire of August 20, 1988 left the border almost where it was in 1980, and both governments survived. In 1990 Saddam Hussein accepted the 1975 border that Iran had demanded. In 1991 the UN Secretary-General named Iraq as the side that started the war in breach of international law, and Iraq rejected his report.

Are Iran and Iraq allies today?

They are close partners but have no defense treaty. Iraq's ruling bloc is led by Shia parties aligned with Iran, and Iraq declared three days of mourning after the US-Israeli strike that killed Ali Khamenei on February 28, 2026. But Iraq also hosted US troops until September 30, 2026, and says it will stay neutral in the US-Iran war.

Why did Iraq invade Iran in 1980?

Saddam Hussein wanted full control of the Shatt al-Arab, which the 1975 Algiers Accord had split along the deepest channel. He also feared Ayatollah Khomeini's calls for Iraq's Shia to rise up. Border clashes began in early September 1980. Iraq scrapped the accord on September 17 and invaded five days later.

How much do Iran and Iraq trade?

Iran sold Iraq $11.9 billion of non-oil goods in the year to March 2025, making Iraq its second-largest market after China. Iran bought about $754 million from Iraq in 2024, according to the Iran-Iraq Joint Chamber of Commerce. UN data misses most of this trade because neither country reports to the UN.

Does Iraq buy gas and electricity from Iran?

Yes. Before the 2026 war, Iranian gas fed nearly a third of Iraq's power generation capacity, and flows fell sharply after Israeli strikes on Iran's South Pars gas field in March 2026. The United States ended Iraq's sanctions waiver for Iranian electricity in March 2025. Iran says Iraq owes about $11 billion, and in July 2026 it refused an Iraqi offer to pay $1 billion of Iran's Hajj fees to Saudi Arabia instead.

What is the Shatt al-Arab dispute?

The Shatt al-Arab, which Iran calls the Arvand Rud, is the river formed where the Tigris and Euphrates meet before the Gulf. Treaties of 1847, 1913 and 1937 left most of the river to the Ottoman Empire and then Iraq. The 1975 Algiers Accord moved the border to the deepest channel. Iraq scrapped the accord in 1980, accepted it again in 1990, and agreed with Iran in 2019 to put it fully into effect.

More relations

All relations →
7 days free cancel anytime
Get the app