Resumen: How has Spain transitioned from historically having a relatively low meat production and being a net importer of meat in 1990 to becoming the world’s leading exporter of pork in 2020? This is the research question we aim to address in this article. In our quest for an answer, we constructed a gravity model to examine the determinants of Spanish meat exports. We posit that a significant surge in domestic meat consumption since the 1960s led to substantial economies of scale in the sector, rendering it highly competitive by the 1980s. Consequently, when Spain joined the European Union and liberalized the sector, it was sufficiently competitive to conquer international markets. In other words, we aim to study how a Home Market Effect has occurred in Spain and how it has been reinforced by the European Union adhesion. Ultimately, this high competitiveness has allowed Spain to capitalize on China’s demand for pork in recent years. Idioma: Inglés DOI: 10.1007/s11698-024-00292-5 Año: 2024 Publicado en: Cliometrica (2024), [33 pp.] ISSN: 1863-2505 Financiación: info:eu-repo/grantAgreement/ES/AEI/PID2022-138886NB-I00 Financiación: info:eu-repo/grantAgreement/ES/DGA/S55-23R Tipo y forma: Artículo (Versión definitiva) Área (Departamento): Área Fund. Análisis Económico (Dpto. Análisis Económico) Área (Departamento): Área Hª e Instituc.Económ. (Dpto. Economía Aplicada)