France and Spain maintain bilateral relations, in which both share a long border across the Pyrenees, other than one point which is cut off by Andorra. As two of the most powerful kingdoms of the early modern era, France and Spain fought a 24-year war (the Franco-Spanish War) until the signing of the Treaty of the Pyrenees in 1659. The treaty was signed on Pheasant Island between the two nations, which has since been a condominium, changing its allegiances each six months. Louisiana was under French and Spanish control.

Both nations are member states of the European Union (and both nations utilize the euro as currency); both are also members of the Council of Europe, OECD, NATO, Union for the Mediterranean, and the United Nations as well as the former colonial legacies of Cuba as a Spanish colony and Saint-Domingue (Haiti) as a French colony.

History Antiquity Trade networks predated the Roman conquest, with Phoenician and Greek foundations in southern Hispania and southern Gaul from the 8th century BC.Konstantinos Thodis, Aegean Greeks in Iberia and southern Gaul: The flourishing Greek colonies as transit trade hubs (Sofia 2017).

The entire mainlands of both Gaul and Hispania were possessions of the Roman Empire during Antiquity. Under Roman rule, exchange intensified to secure stable supply chains for luxury goods and essential resources, binding Hispania and Gaul into an integrated economic system.Ainhoa Alonso-Olazabal, Maria Cruz Zuluaga, Ana Martínez-Salcedo, Milagros Esteban-Delgado, Maria Teresa Izquierdo-Marculeta, François Rechin, Luis Ángel Ortega, Trade Networks in the Neighbouring Roman Provinces of Aquitania-Tarraconensis on the Bay of Biscay: Evidence from Petrographic and Chemical Analyses of Common Coarse Ware Pottery, Minerals 13,7 (MDPI 2023).

Maritime routes constituted the principal axis of exchange, with important trading hubs such as Massalia and Empúries. Overland transport relied on major roads like the Via Augusta and Via Domitia. From the 2nd century BC onward, increasing incorporation into the Roman economy led to the specialization of regional industries in accordance with wider roman demand.Verònica Martínez Ferreras, Claudio Capelli, Roberto Cabella, Xavier Nieto Prieto, From Hispania Tarraconensis (NE Spain) to Gallia Narbonensis (S France). New data on Pascual 1 amphora trade in the Augustan period, Applied Clay Science 82, 2013, p. 70–78.

The Roman trading network facilitated the circulation of high-value commodities: Hispania notably exported wine, olive oil, and garum, while Gaul supplied Terra sigillata, textiles, and agricultural produce. Iron also formed a significant component of trade, moving in raw and semi-finished forms between Gallic production centers into nearby provices, including Hispania.Gaspard Pagès, Philippe Dillmann, Enrique Vega, Marion Berranger, Sylvain Bauvais, Luc Long, Philippe Fluzin, Vice-versa: The iron trade in the western Roman Empire between Gaul and the Mediterranean, PLOS one 17,5 (Ghent 2022).

Medieval While the term "Spain" may be improper when used to refer to France–Spain relations before the union of the Crown of Castile and the Crown of Aragon in 1476, there has always been important relations between what are now France and Spain.

One important feature of those early relations was that counts from the Marca Hispanica and Navarre fought shoulder to shoulder with Frankish Kings (during the Carolingian dynasty), against the Al Andalus Muslim kingdom. Barcelona was a County of the Frankish Empire, under protection of the Frankish King/Emperor.

This vassalty of Marca Hispanica and Navarre to the Frankish empire remained effective up to 985. At that point, because his armies were mobilized in the Verdum's county, Lothair of France and his Byzantine allies did not assist Navarre and Marca Hispanica in its defense against the Caliph, implying that they failed to defend Barcelona from the Arabs. Almanzor did not stay in the cities (the first assault was launched 6 July 985; withdrew their troops 23 July), but this incursion was arguably the first step of a process of independence of the county of Barcelona from the kingdom of France, and heralded what would become the Aragon kingdom. While independent of France and integrated in the Crown of Aragon, Barcelona remained legally a county of France and the King of France retained a de jure right to vote in the Barcelone Courts in the next centuries. This situation generated numerous territorial conflicts between the two kingdomsBernerd C. Weber, The Conference of Bayonne, 1565: An Episode in Franco-Spanish Diplomacy, The Journal of Modern History, Vol. 11, No. 1 (Mar., 1939), pp. 1-22. to control what is now the south of France and the north of Spain (the support of Aragon to the Count of Toulouse, death in Perpignan of Philip III of France married to Isabel of Aragon, and Albigenses Crusades are some of the most famous examples) and played a significant political role in the start of the Catalan Revolt which ended with the treaty of Pyrenees.

17th century

The Franco-Spanish War broke out in 1635, when French king Louis XIII felt threatened that his entire kingdom was bordered by Habsburg territories, including Spain. In the Caribbean island of Martinica, Spain had ceded to France on 15 September 1635. In 1659, the Treaty of the Pyrenees ended the war and ceded the Spanish-possessed Catalan county of Roussillon to France, which had supported the Principality of Catalonia in a revolt against the Spanish crown. Western Flanders, roughly equivalent to the modern French department of Nord, was also ceded. An anomaly of the treaty was that although all villages in Roussillon were ceded to France, Llívia was deemed to be a city and was therefore retained by Spain to the present day as an exclave into France. The treaty was signed on Pheasant Island, an uninhabited, unserviced island in the Bidasoa river between the French commune of Hendaye and the Spanish municipality of Irun. Both settlements, and therefore their countries, took sovereignty of the island for six months out of each year. After Philip IV of Spain defeat, Marie-Thérèse of Austria, Infant of Spain, was married to the king of France Louis XIV. In 1697, The Spanish ceded the western part of Hispaniola to France of what will become known as French Saint-Domingue (later known as Haiti).

18th century

In 1701, after the death of the last Habsburg king of Spain, Charles II, the French House of Bourbon, led by Louis XIV, staked a claim to the Spanish throne. The war ended with the Bourbon Philip V being recognised as King of Spain. The House of Bourbon remains on the Spanish throne to the present day.James Falkner, The War of the Spanish Succession 1701–1714 (2015) excerpt The wars were very expensive; despite Mexican silver Spain declines economically.Carlos Marichal, Bankruptcy of empire: Mexican silver and the wars between Spain, Britain, and France, 1760-1810 (Cambridge University Press, 2007).

19th century

Revolutionary France and Bourbon Spain signed the Treaty of San Ildefonso in 1796 as part of their shared opposition to Britain. In 1804, after the Haitian Revolution had ended, France was almost defeated and driven out of the colony by Toussaint Louverture's successors Jean-Jacques Dessalines and Henri Christophe which declared Haiti independent and become the world's first and oldest black republic in human history and the second independent nation in the Western Hemisphere after the United States. The relationship spoiled after defeat in 1805 at the Battle of Trafalgar, and in 1808, French Emperor Napoleon invaded Spain and named his brother Joseph as King of Spain as part of a plan to get closer to invading Britain's ally, Portugal. The British under the Duke of Wellington drove the French out of Spain in 1813 following the Battle of Vitoria.

The Bourbon king Ferdinand VII was imprisoned by Napoleon, but still remained recognized as Spanish monarch by Napoleon's adversaries. He returned to the throne in 1813 after the defeat of the French in the Peninsular War.Charles Esdaile, Fighting Napoleon: Guerrillas, Bandits and Adventurers in Spain, 1808–1814 (Yale UP, 2004).

In 1820, a military uprising in Spain lead to a liberal government, the Trienio Liberal, to come to power. Two years later, Ferdinand VII lobbied the monarchs of Europe to help him restore his power, to which France responded by sending 60,000 troops which overthrew the liberal government and re-installed Ferdinand as the absolute monarch.

20th century

Aftermath of the Spanish Civil War and the outbreak of World War II, 1939–1945

When the Nationalist forces of General Francisco Franco were victorious at the end of the Spanish Civil War in 1939, there was discussion of Llívia, a small exclaved Spanish city into France, becoming territory of the defeated Republican Army. No conclusion was reached and the French authorities allowed the Nationalists to occupy Llívia.

France had tentatively supported the Spanish Republicans during the civil war, and had to readjust its foreign policy towards Spain in the fact of the Nationalists' imminent victory. On 25 February 1939, France and Francoist Spain signed the Bérard-Jordana Agreement, in which France recognized the Franco government as the legitimate government of Spain and agreed to return Spanish property of various types (including, among others. weapons and munitions, gold reserves, art and livestock) previously in the possession of the Republicans to the Nationalists. In return, the new Spanish government agreed to good neighborly relations, colonial cooperation in Morocco, and made informal assurances to repatriate the more than 400,000 refugees that had fled from the Nationalists' Catalonia Offensive into France in early 1939. Philippe Pétain, later the leader of the Vichy regime during the German occupation of France, became the French ambassador to the new Spanish government. Spain would later undermine the spirit of the Bérard-Jordana Agreement when the Spanish entry into the Anti-Comintern Pact and subsequent alignment with the German and Italian fascists resulted in a military buildup in colonial Morocco, in spite of the promise of cooperative policy in that area. Spain was however unwilling to be drawn into World War II, and had announced its intentions to remain neutral in German expansionist designs to France as early as the 1938 Sudeten crisis. This scepticism towards Spanish involvement on German behalf was further strengthened when the Spanish government got news of German cooperation with the Soviet Union, formerly a supporter of the Spanish Republicans during the civil war, under the 1939 Molotov–Ribbentrop Pact. Although Spain remained neutral, Spanish volunteers were allowed to fight on the side of the Axis powers as part of the German "Blue" 250th Infantry Division.

With the restoration of the French government in the latter part of the Second World War, relations between Spain and France became more complex. Exiled Spanish Communists had infiltrated northern Spain from France via the Val d'Aran but were repelled by Franco's army and police forces. The border between the two countries was temporarily closed by the French in June 1945.

Between World War and Cold War, 1945–1949