Melilla is an autonomous city of Spain on the North African coast, facing the Mediterranean Sea and lying on the Morocco–Spain border next to the Moroccan port town of Beni Ansar. It covers an area of 12.3 square kilometres. Its population is mainly of Iberian and Riffian descent, with smaller communities of Sephardic Jews and Sindhi Hindus. Spanish is the official language, alongside the Riffian language Tarifit. As an enclave, it is one of the special territories of the European Union, and Morocco has made an irredentist claim to it.
Early history







A trading post called Rusadir was founded on the site by Phoenician seafarers, near what is now Cape Three Forks. It passed among several powers during Antiquity and the Middle Ages, including Carthage, Rome, and various Berber and Islamic dynasties. The place was often abandoned during conflicts between the Kingdoms of Fez and Tlemcen before Christian forces took it in 1497.
Spanish rule






After its capture, Melilla was administered jointly by the House of Medina Sidonia and the Crown of Castile until 1556. For much of the early modern period it remained a military garrison with a small civilian population. Its territory was expanded to its present limits after the Treaty of Wad Ras in 1860, and the area between the old fortress and the outer forts became urbanised. Local mining of iron ore in the eastern Rif supported the economy. Melilla was a municipality of the province of Málaga until its Statute of Autonomy in 1995.
Modern status






Melilla is a special territory of the European Union, and movement between it and the rest of the EU is governed by rules set out in Spain's accession agreement to the Schengen Convention. Its population was 87,067 as of 2025. The city has a small airport, and its port has ferry connections with Málaga, Motril, and Almería. Like Ceuta, it is subject to an irredentist claim by Morocco.
