Yes, Spain had a medieval period
Spain did have a medieval period, although its shape was different from that of northern France or England. Across much of the peninsula, the early medieval centuries were shaped by Muslim rule in the south and Christian kingdoms in the north. Spain did not become one kingdom in the way many northern medieval realms were united. The crowns of Castile and Aragon were joined under Ferdinand and Isabella, but each kept its own laws and institutions.
Why Spain’s medieval period looks different
Historians often describe medieval Spain as a meeting point. Its Christian kingdoms belonged to the wider medieval world of Latin Christianity, while al-Andalus connected the peninsula with the Islamic world, from North Africa to the Middle East. Trade, ideas and people moved in both directions, and the result was a society with more faiths and languages than most of northern Europe.
How historians date the start
Many historians begin the medieval period in Spain with the Muslim conquest of 711, when forces led by Tariq ibn Ziyad defeated the Visigothic king Roderic at the Battle of Guadalete. Others look further back to the Visigothic kingdom, which ruled much of the peninsula from the early 400s. The choice shapes how you read the earlier centuries. Some historians see the late Roman period as a long transition rather than a clear break.
In Spanish, historians use the term Edad Media for the same span of time. It covers roughly the same centuries as the English word, but the two terms are not identical in every scholarly use.
How historians date the end
The most common end date is 1492, when Granada fell and Columbus sailed. Other historians point to the early 1500s, when Charles I became king in 1516 and Spain entered a new phase of imperial power. Some scholars treat the 1500s as early modern history, while others still describe the social world of the period in medieval terms. That is one reason the answer is debated.
The Renaissance and the Golden Age overlap
Spanish art, learning and literature flourished from the late 1400s through the 1600s, often described as the Spanish Renaissance and the Golden Age. These movements overlapped with the medieval centuries, so the periods are not neatly separated. The difference between these labels is covered in is medieval the same as renaissance.
Using the label carefully
“Medieval” is a loose label for Spain. When writing about the peninsula, it helps to state the dates you use, such as 711 to 1492, and to note that other historians draw the lines differently. For a general definition of the term, see what are medieval times.