Blog
History of Madrid: Origins and Evolution
History of Madrid: Origins and Evolution
Madrid History Guide
Madrid may be one of Europe’s great capitals today, but its development was surprisingly late compared to other historic Spanish cities such as Toledo, Segovia or Salamanca. What makes Madrid unique is precisely that it did not become important gradually over many centuries in the same way as other European capitals. Instead, Madrid was transformed into the political heart of Spain when Felipe II chose it as the seat of the royal court in 1561.
That decision changed the city forever. From a small settlement with medieval and Islamic roots, Madrid grew into the center of royal power, administration, urban development and court life. Its history can be read in layers across the city: the remains of old Muslim Madrid, the elegant squares and palaces of the Habsburg period, and the grand boulevards, monumental buildings and landscaped spaces promoted by the Bourbons. Walking through Madrid is, in many ways, walking through the history of Spain.
The origins of Madrid
Before becoming capital, Madrid was a modest settlement with strategic value rather than major political importance. Its earliest significant stage is tied to Muslim rule in the Iberian Peninsula. The Moors established a settlement in the area and built a fortress or on the site where the Royal Palace now stands. The name of the city is usually linked to the Arabic , associated with water and springs, a reference to the local geography and the Manzanares River.
In the late 11th century, the settlement was taken by Alfonso VI of Castile during the Christian advance of the Reconquista. Even so, medieval Madrid remained relatively small and secondary for centuries. Unlike Toledo, which had political, religious and cultural prestige, Madrid lived largely in the background until the sixteenth century.
Old Madrid: medieval and early historic Madrid
The oldest part of Madrid still preserves traces of that earlier city. Although modern Madrid is often seen as a relatively young capital, Old Madrid contains remains of its medieval, Christian and Islamic past. This area is especially associated with the old , or Moorish quarter, and with some of the city’s earliest streets, squares and churches.
Among the most interesting historic spaces are Plaza de la Paja, Plaza de San Andrés and Plaza de la Cruz Verde, which help evoke the atmosphere of medieval Madrid. Plaza de la Villa is another essential stop, with its historic buildings and strong connection to early civic life. Nearby, the Lujanes Tower and house stand out as one of the best-known examples of medieval civil architecture in the city.
Old Madrid also includes some of the city’s oldest churches. The Iglesia de San Nicolás, whose tower may have origins connected to a former mosque, is often considered the oldest church in Madrid. The tower of San Pedro el Viejo is another iconic feature of the medieval skyline. Visitors can also still see fragments of the old Muslim wall near the cathedral area, a reminder that long before Madrid became an imperial capital, it was a fortified frontier town.
Madrid becomes the capital under the Habsburgs
The real turning point in Madrid’s history came in 1561, when Felipe II decided to move the royal court there permanently. This was an extraordinary moment because Madrid was not yet a major city. In effect, the city was chosen first as a political center and then shaped into a capital afterwards. From then on, Madrid became the center of royal government, administration and court society.
The Habsburg period, known in Spain as the era of the Austrias, gave Madrid much of its historic core. During the sixteenth and seventeenth centuries, as Spain experienced its imperial Golden Age, the city grew with new public buildings, noble residences, convents, churches and squares. This is the Madrid now known as Madrid de los Austrias, one of the most atmospheric and historically rich areas in the city.
Madrid de los Austrias
Madrid de los Austrias is the heart of historic Habsburg Madrid. Its winding streets, arcaded squares and austere but elegant architecture reflect the period when Madrid was becoming the center of one of the most powerful monarchies in the world. It is an area where royal, religious and civic history come together in a compact and highly walkable part of the city.
Plaza Mayor
Plaza Mayor is one of Madrid’s most famous landmarks and one of the clearest symbols of Habsburg urbanism. Built in the seventeenth century on the site of an earlier market area outside the medieval walls, it quickly became one of the main public spaces of the city. Over the centuries it hosted markets, celebrations, bullfights, royal ceremonies, theatrical events, executions and religious ceremonies such as .
Today, Plaza Mayor remains one of the visual and symbolic centers of Madrid. Its enclosed design, arcades, red façades and long lines of balconies make it one of the most recognizable squares in Spain. In the center stands the equestrian statue of Felipe III, the monarch linked to the creation of the square. The Casa de la Panadería, with its decorated façade, is one of its most distinctive buildings.
Plaza de la Villa and the old City Hall
Plaza de la Villa is one of the prettiest and most historic squares in Madrid. It preserves the feel of old courtly Madrid and contains several important buildings from different centuries. One of them is the Casa de la Villa, which served as Madrid’s City Hall from the late seventeenth century until 2007. Its construction reflects the growing administrative importance of Madrid once it had become capital.
The square is also one of the best places to appreciate the transition from medieval Madrid to the more formal capital built by the Habsburgs. Its architecture, proportions and quiet atmosphere make it one of the most evocative spaces in the historic center.
Monasterio de las Descalzas Reales
The Monasterio de las Descalzas Reales is one of the great historical and artistic treasures of central Madrid. Founded in 1559 by Juana of Austria, daughter of Carlos I, it was installed in a former royal residence and became one of the wealthiest convents in the city. Many noblewomen entered the convent, bringing dowries, artworks and valuable objects with them.
Behind its relatively sober exterior lies a remarkable artistic collection and a rich interior shaped by the influence of the Habsburg court. The monastery is a reminder that religious institutions were not only spiritual centers, but also places deeply linked to noble patronage, dynastic memory and artistic accumulation.
Jardín de las Monjas
One of the lesser-known corners of historic Madrid is the Jardín de las Monjas, a small and peaceful garden hidden in the old center. Its history is linked to a convent whose nuns once used the enclosed space for cultivation and daily life. Though the convent disappeared in the twentieth century, the garden survived and offers a glimpse of the quieter, more intimate side of old Madrid.
San Miguel Market and San Ginés
Although they are later than the Habsburg period itself, both the Mercado de San Miguel and Chocolatería San Ginés are now classic stops within the historic center. The iron-and-glass San Miguel Market, dating from the early twentieth century, reflects a later phase in the city’s commercial and architectural evolution. San Ginés, famous for chocolate and churros, adds another layer to the experience of old Madrid, combining historic atmosphere with enduring local tradition.
Madrid de los Borbones
If the Habsburgs turned Madrid into a capital, the Bourbons helped turn it into a more monumental and modern European city. During the eighteenth century, especially under Carlos III, Madrid underwent major urban improvements inspired by Enlightenment ideas, French influence and the desire to give the capital a more refined and representative image.
Until then, Madrid still lacked the monumental coherence of other European capitals. The Bourbons changed that through public works, urban planning, scientific institutions, grand buildings and landscaped avenues. The result was a city that looked more ordered, elegant and ambitious.
The Royal Palace
The Palacio Real is one of the clearest symbols of Bourbon Madrid. Built on the site of the former Alcázar, it reflects the grandeur and ceremonial power of the new dynasty. Its monumental scale and formal design contrast with the narrower, more irregular urban fabric of Habsburg Madrid. The palace helped redefine the image of the monarchy in the capital and remains one of the city’s most iconic landmarks.
Paseo del Prado and the Enlightenment city
One of the most important Bourbon transformations was the development of the Paseo del Prado. This broad boulevard was conceived as an elegant urban axis linked to science, culture and public space. Carlos III promoted the creation of a more open and ordered city, and this part of Madrid became one of the best examples of enlightened urban planning in Spain.
The area was flanked by major institutions such as the Royal Botanical Garden and the Astronomical Observatory. Even the building now occupied by the Prado Museum was originally intended for scientific purposes. This concentration of knowledge, greenery and monumental architecture made the Prado area a showcase for the Bourbon vision of a modern capital.
Cibeles, Neptuno and Puerta de Alcalá
The Bourbon remodeling of Madrid also gave the city some of its most recognizable urban symbols. The fountains of Cibeles and Neptuno brought a classical and monumental language to the capital’s public spaces. Puerta de Alcalá, one of Madrid’s most famous monuments, became a grand ceremonial gateway reflecting the city’s growing prestige.
These landmarks still define central Madrid today and show how the Bourbons reshaped the capital not only functionally, but also visually and symbolically.
Retiro Park
No visit to Bourbon Madrid is complete without Retiro Park. What began as royal grounds evolved into one of the city’s most beloved green spaces. Its wide paths, gardens, rose beds, monuments and the famous Glass Palace make it an essential part of Madrid’s urban identity.
Retiro reflects another important aspect of eighteenth-century urban change: the idea that a capital should include elegant public and semi-public spaces for leisure, display and civic life. In this sense, the park is not only beautiful, but also deeply historical.
Madrid as a city shaped by dynasties
Madrid is a city whose identity was built in stages. Its earliest roots lie in a modest Muslim settlement and a medieval frontier town. The Habsburgs transformed it into the political center of a global empire, giving it plazas, convents, administrative buildings and the character of courtly Spain. The Bourbons later monumentalized and modernized it, opening new spaces, building grand institutions and giving the capital a more European appearance.
Because of this layered evolution, Madrid offers a particularly clear way to understand Spanish history through urban space. Few cities show so visibly the transition from medieval town to imperial court and from dynastic capital to enlightened metropolis.
Madrid’s history is much more than the story of a capital city. It is the story of how political decisions, royal ambition, religion, architecture and urban planning created one of Europe’s most distinctive capitals. From the remains of Muslim Mayrit to the plazas of the Austrias and the grand avenues of the Borbones, the city preserves the memory of the different eras that shaped Spain.
Exploring Madrid through its history is one of the best ways to understand the country itself. In its streets, squares, palaces, churches and parks, Madrid tells the story of how Spain built its capital and, in many ways, how Spain imagined itself.