Spain has closed its airspace to US planes involved in attacks on Iran, Madrid's defence minister Margarita Robles has said.

We will not authorise the use of Moron and Rota [military bases] for any acts related to the war in Iran, she indicated, adding that Spain had made this clear to the American government from the beginning.

Foreign Affairs Minister José Manuel Albares stated the aim of the decision was to not do anything that could encourage an escalation in this war.

The US did not immediately comment but President Donald Trump has previously threatened to impose a full trade embargo on Spain over its opposition to the Iran war.

Since the start of the war in late February, the Spanish Prime Minister Pedro Sánchez has been one of the most vocal opponents of US and Israeli attacks on Iran, describing them as reckless and illegal.

In earlier statements, Sánchez emphasized that all flight plans related to the operation in Iran had been rejected. He reaffirmed that Spain is a sovereign country that does not wish to participate in illegal conflicts.

Some US bombers involved in operations in Iran are stationed at the RAF Fairford base in Gloucestershire in the UK, requiring them to reroute away from Spain's airspace.

In a broader context, Spanish leaders are addressing the implications of their position on oil supplies and regional stability. Approximately 20% of global oil trade passes through the Strait of Hormuz, with Spain's decision likely influencing ongoing negotiations with Iran.