The modern history of Spain refers to the period of Spanish history roughly spanning from the late 18th century to the present day. It encompasses the transformation of Spain from an absolute monarchy and a major colonial empire into a constitutional democratic state and member of the European Union. Historians typically divide this era into several sub‑periods: the Enlightenment and Napoleonic Wars (c. 1780–1814), the turbulent 19th century (1814–1898), the early 20th century, the Second Spanish Republic and Civil War (1931–1939), the Franco dictatorship (1939–1975), and the subsequent transition to democracy and contemporary Spain (1975–present).
18th–early 19th centuries: Enlightenment, Napoleonic invasion, and loss of empire
- Enlightenment reforms under Charles III (1759–1788) sought to modernize administration, education, and the economy.
- The Peninsular War (1808–1814), triggered by Napoleon’s invasion, led to widespread guerrilla resistance and the emergence of the Spanish Constitution of 1812 (the “Cádiz Cortes”).
- The restoration of Ferdinand VII in 1814 restored absolutist rule, reversing many liberal reforms and prompting cyclic conflicts between liberals and absolutists.
- The Latin American wars of independence (1810–1826) resulted in the loss of most overseas territories, culminating in the recognition of independence for most former colonies by 1825.
Mid‑to‑late 19th century: Political instability and colonial decline
- The Carlist Wars (1833–1876) were a series of civil conflicts over succession and the role of the Catholic Church, reflecting deep ideological divisions.
- A series of short‑lived governments and constitutional experiments (the 1812, 1837, 1845, and 1869 constitutions) alternated with periods of military rule.
- The Glorious Revolution of 1868 deposed Queen Isabella II, leading to the short-lived First Spanish Republic (1873–1874).
- The Restoration (1874–1931) under the Bourbon monarchy of Alfonso XIII and later Alfonso XIII’s son, Alfonso XIII, was characterized by a constitutional monarchy dominated by the turno pacífico system of alternating Liberal and Conservative parties.
- The Spanish–American War (1898) resulted in the loss of Cuba, Puerto Rico, the Philippines, and Guam, marking the end of Spain’s status as a global empire.
Early 20th century: Social unrest and the Second Republic
- Rapid industrialisation in Catalonia, the Basque Country, and other regions generated strong labor movements and anarchist activity.
- The Rif War (1920–1927) in Morocco strained the military and public finances.
- General Miguel Primo de Rivera established a dictatorial regime (1923–1930) with the tacit support of the monarchy but was forced to resign amid economic crisis.
- The Second Spanish Republic (1931–1939) was proclaimed after municipal elections led to the exile of King Alfonso XIII. The Republic implemented extensive reforms (land, military, education, church-state separation) but faced polarized political violence between leftist and right‑wing forces.
Spanish Civil War and Francoist Spain (1936–1975)
- The Spanish Civil War (1936–1939) began with a military uprising against the Republican government, leading to a three‑year conflict that resulted in approximately 500,000 deaths and massive displacement.
- General Francisco Franco emerged as the victor, establishing a single‑party authoritarian regime that lasted until his death in 1975.
- Francoist Spain pursued autarky in the 1940s, later shifting to limited market liberalisation in the 1950s and 1960s, resulting in “Spanish miracle” economic growth.
- Internationally, Spain remained isolated after World War II but gradually re‑integrated through United Nations membership (1955) and agreements with the United States (1949, 1953) that allowed American military bases.
Transition to democracy (1975–1982)
- After Franco’s death, King Juan Carlos I was appointed head of state and supported the Transition (la Transición) toward parliamentary democracy.
- The 1978 Constitution established a parliamentary monarchy, recognized regional autonomies, and enshrined civil liberties.
- The first democratic elections (1977) and the subsequent legalisation of political parties (including the Spanish Socialist Workers' Party, PSOE, and the Communist Party, PCE) consolidated civilian rule.
Contemporary Spain (1982–present)
- Socialist governments under Felipe González (1982–1996) modernised the welfare state, expanded European integration, and facilitated Spain’s entry into the European Economic Community (1986).
- The 2000s witnessed economic expansion followed by the severe Great Recession (2008–2014), leading to high unemployment and a sovereign debt crisis.
- The Rise of separatist movements, notably the Catalan independence referendum of 2017, created constitutional and political tensions.
- Spain remains a constitutional monarchy, a member of the European Union, NATO, the United Nations, and other international organisations. Current political landscape is characterised by a multi‑party system with alternating centre‑left (PSOE) and centre‑right (People’s Party, PP) governments, alongside emerging parties such as Podemos and Vox.
Historiographical notes
Modern Spanish historiography emphasizes the interplay between centralised state authority, regional identities, ideological conflicts (liberal vs. conservative, secular vs. religious), and economic development. Scholars also analyse Spain’s role in European integration, the legacy of the Franco dictatorship, and the ongoing debates over national identity and autonomy.
This overview reflects broadly accepted scholarly consensus on the modern history of Spain. For detailed study, consult specialized works on each sub‑period.