US foreign policy under Donald Trump has taken a sharply divergent path in its dealings with Morocco and Spain. Washington has shown a clear preference for Rabat, while relations with Madrid have grown increasingly tense. The contrast is clear in public gestures and official statements as the Trump administration strengthens its alliance with King Mohamed VI and distances itself from the Spanish government led by Pedro Sánchez.
One of the most visible signs of this shift is a prominent post on Trump's Truth Social network, where he thanks Mohamed VI for naming a major Moroccan highway after him. The post, which highlights the countries' long-standing ties, has remained pinned for a week, illustrating the importance Trump places on the relationship. The attached video recalls Morocco's early recognition of the United States in 1777 and the enduring diplomatic connection, now symbolized by a 1,055-kilometer highway project costing nearly 850 million euros.
Diplomatic warmth between Washington and Rabat intensified after Trump announced US recognition of Moroccan sovereignty over Western Sahara on 10 December 2020, alongside Morocco's decision to restore diplomatic relations with Israel. A joint declaration signed by Morocco, Israel and the United States on 22 December formalized the restoration of official Moroccan-Israeli relations. The move broke with Washington's longstanding position of supporting negotiations without formally recognizing Moroccan sovereignty over the disputed territory; the Biden administration did not reverse the recognition.
The Western Sahara dispute remains contested. The Frente Polisario rejects Morocco's claim, with Algeria backing the Sahrawi position. Spain administered the territory during the colonial period before withdrawing in 1975, giving Washington's policy shift particular resonance in Madrid. In 2026, a reported US draft proposal to renew the UN mission MINURSO would put “genuine autonomy under Moroccan sovereignty” at the center of negotiations and propose reducing the mission's military presence. The proposal would bring the negotiating structure closer to Rabat's position.
By contrast, the US relationship with Spain has deteriorated. Tensions escalated after the Spanish government, led by Pedro Sánchez, condemned a mass crossing of Moroccan youths into Ceuta as a violation of Spain's territorial integrity. Coverage of the late-July 2026 episode described arrivals in the tens of thousands, with some estimates approaching 80,000. The White House response showed little sympathy: the US State Department, headed by Estructura Rubio, criticized Spain's handling of migration and suggested Madrid had facilitated illegal flows into Europe. The department expressed support for the Spanish people, but its message carried more reproach than solidarity.
The episode has also drawn scrutiny within Spain. Audiencia Nacional judge María Tardón requested information from the Ministry of Defence about the possible presence of Moroccan military vessels in Spanish waters between 29 July and 10 August 2026. The inquiry concerns the circumstances of the mass entry and the state's response. Trump, meanwhile, accused Spain of failing to act, saying migrants “came by tens of thousands, flooded Spain, and Spain has done nothing.”
Trump's administration has also clashed with Spain over military and defense issues. The US president has threatened tariffs in response to Spain's refusal to raise military spending to 5% of GDP, as required by NATO. Tensions grew further when Spain denied US requests to use the joint military bases at Rota and Morón de la Frontera for operations related to the conflict with Iran. Sánchez's support for Palestine and criticism of Israel, a close Trump ally, have also strained ties. Trump has even labeled Spain a “terrible ally” and threatened its status within NATO.
The diplomatic divide is also evident in congressional actions. A recent US congressional report controversially listed Ceuta and Melilla as Moroccan territory “under Spanish administration,” nearly sparking a crisis. The language was introduced by Mario Díaz-Balart, a Florida Republican with ties to the pro-Morocco caucus. Meanwhile, conservative think tanks close to the White House have published articles urging Morocco to assert claims over the Spanish enclaves, stoking unease in Madrid.
Military cooperation between the US and Morocco has reached new heights. In May, the US organized the African Lion military exercises in Western Sahara for the first time. Morocco has increased its purchases of US defense equipment and became the first Arab country to join Trump's controversial Peace Board for Gaza. The move drew international criticism for bypassing the UN and concentrating power in Washington's hands. Morocco also became the first Arab nation to send security forces to Gaza under the initiative.
The recent crisis in Ceuta, where tens of thousands crossed the border from Morocco, has been a flashpoint in Spain's relations with both Rabat and Washington. As reported in coverage of King Felipe VI's call for action after the Ceuta border crisis, the incident has put further pressure on Spanish authorities and highlighted Madrid's diplomatic challenges.
Spain's position is complicated by the broader geopolitical field. The US-Morocco partnership reflects shared interests in security and rare earth resources, alongside influence in the Sahel and Strait of Gibraltar. Morocco's strategic importance to Washington also stems from its role as a regional security partner and its diplomatic relationship with Israel. For Spain, the shift in US policy raises concerns about territorial integrity and migration management, as well as the country's standing within NATO. The ongoing disputes show how fragile alliances can be and how shifts in global power affect regional stability. Spain must handle diplomatic and military pressures alongside economic ones, while balancing its own interests with those of its allies and neighbors.