Claims of earlier Roman temple A claim that the site of the mosque-cathedral was once a
Roman temple dedicated to
Janus dates as far back as
Pablo de Céspedes and is sometimes still repeated today. However,
Robert Knapp, in his 1983 study of Roman-era Córdoba, dismissed this claim as speculation based on a misunderstanding of Roman
milestones found in the area.
Visigothic church According to traditional accounts, the present-day site of the Cathedral–Mosque of Córdoba was originally a
Visigothic Christian
church dedicated to
Saint Vincent of Saragossa, which was divided and shared by Christians and Muslims after the
Umayyad conquest of Hispania. This sharing arrangement of the site lasted until 785, when the Christian half was purchased by Abd al-Rahman I, He then demolished the church structure and built the new mosque on its site. s visible under the floor of the Mosque-Cathedral today|leftThe historicity of this narrative has been challenged as archaeological evidence is scant and the narrative is not corroborated by contemporary accounts of the events following Abd al-Rahman I's initial arrival in al-Andalus. For medieval Muslim historians, these parallels served to highlight a dynastic Umayyad conquest of Spain and appropriation of Visigothic Córdoba. According to Susana Calvo Capilla, a specialist on the history of the mosque–cathedral, although remains of multiple church-like buildings have been located on the territory of the mosque–cathedral complex, no clear archaeological evidence has been found of where either the church of St. Vincent or the first mosque were located on the site, and the latter may have been a newly constructed building. The evidence suggests that it may have been the grounds of an episcopal complex rather than a particular church which were initially divided between Muslims and Christians. Pedro Marfil, an archeologist at the
University of Cordoba, has argued for the existence of such a complex – including a Christian
basilica – on this site by interpreting the existing archeological remains.
D. Fairchild Ruggles, a scholar of Islamic art, considers previous archeological work to be a confirmation of the former church's existence.
Art historian Rose Walker, in an overview of
late antique and early medieval art in Spain, has likewise criticized Marfil's view as relying on personal interpretation. More recently, archeologists Alberto León and Raimundo Ortiz Urbano have affirmed the hypothesis of a large episcopal complex by analyzing both old and new archeological findings at the site, while María de los Ángeles Utrero Agudo and Alejandro Villa del Castillo argue that evidence so far does not allow for the identification of former ecclesiastical structures on the site. Regardless of what structures may have existed on the site, however, it is almost certain that the building which housed the city's first mosque was destroyed to build
Abd ar-Rahman I's Great Mosque and that it had little relation to the latter's form.
Construction of the mosque es in the original section of the mosque building. The columns and capitals are
spolia from earlier structures. The Great Mosque was built in the context of the new
Umayyad Emirate in Al-Andalus which Abd ar-Rahman I founded in 756. Abd ar-Rahman was a fugitive and one of the last remaining members of the
Umayyad royal family which had previously ruled the first hereditary
caliphate based in Damascus, Syria. This
Umayyad Caliphate was overthrown during the
Abbasid Revolution in 750 and the ruling family were nearly all killed or executed in the process. Abd ar-Rahman survived by fleeing to
North Africa and, after securing political and military support, took control of the Muslim administration in the Iberian Peninsula from its governor,
Yusuf ibn Abd al-Rahman al-Fihri. Cordoba was already the
capital of the Muslim province and Abd ar-Rahman continued to use it as the capital of his independent
emirate. This relatively short period of construction was aided by the
reuse of existing Roman and Visigothic materials in the area, especially
columns and
capitals. That the trees remained in the courtyard is demonstrated by two seals of the City of Cordoba, one in 1262 and the other in 1445, both of which show the mosque (which by then had been converted to a cathedral) with tall palm trees within its walls. This evidence makes the Cordoba mosque the earliest one where trees are known to have been planted in the courtyard. This orientation, which doesn't match that of modern mosques, reflects the pre-existing street alignment of Roman Cordoba. This was based on a saying (
hadith) of
Muhammad which stated that "What is between the east and west is a qibla", which thus legitimized southern alignments. This practice may also have sought to emulate the orientation of the walls of the rectangular
Kaaba building inside the
Great Mosque of Mecca, based on another tradition which considered the different sides of the Kaaba as being associated with different parts of the Muslim world. In this tradition the northwest face of the Kaaba was associated with al-Andalus and, accordingly, the Great Mosque of Cordoba was oriented towards the southeast as if facing the Kaaba's northwestern façade, with its main axis parallel to the main axis of the Kaaba structure (which was oriented from southeast to northwest).|left During this expansion, the builders began to commission new marble capitals for the columns instead of just re-using ancient ones.) In the 10th century Abd ar-Rahman III (r. 912–961) declared a new
Caliphate in al-Andalus and inaugurated the height of Andalusi power in the region. As part of his various construction projects, he reworked and enlarged the courtyard of the Great Mosque and built its first true minaret (a tower from which the
call to prayer was issued) starting in 951–952. Abd ar-Rahman III also reinforced the northern wall of the courtyard by adding another "façade" in front of the old one on the courtyard side. Mosaic decoration was also a characteristic of other Umayyad constructions of that era in the
Levant – such as the
Dome of the Rock, the
Prophet's Mosque, and the
al-Aqsa Mosque – but was not previously known in al-Andalus. Al-Hakam II's work on the mosque also included the commissioning of a new
minbar (pulpit) in 965, which took about 5 to 7 years to finish. Unfortunately, the details of its construction and of its chronology are muddled by sometimes contradictory historical sources. Ibn 'Idhari, for example, implies that Al-Hakam had two minbars built in this period, with one of them possibly having been destroyed or replaced. Either way, whichever minbar survived and became associated with the mosque was celebrated by many writers for its craftsmanship. It was made out of precious woods like
ebony,
boxwood, and "scented" woods, and it was
inlaid with
ivory and with other coloured woods such as red and yellow
sandalwood. Modern scholars believe the minbar had wheels which allowed it to be rolled in and out of its storage chamber.
Expansion of al-Mansur 's extension (after 987) The mosque's last significant expansion under Muslim rule was ordered by
Al-Mansur (Almanzor), the autocratic vizier of Caliph
Hisham II, in 987–988. The first mass was dedicated here on June 29 of that year. Despite the conversion, the early Christian history of the building saw only minor alterations being done to its structure, mostly limited to the creation of small
chapels and the addition of new Christian tombs and furnishings. There is no indication that even this space was significantly modified in its structure at this time. located on the west wall near the courtyard, was initially the
baptistery in the 13th century. (Their remains were later moved in 1736 to the
Church of San Hipólito. was vigorously opposed by the city council of Cordoba. The architect Hernan Ruiz I was put in charge of the design of the new nave and transept. Before his death in 1547 he built the choir walls up to the windows and the gothic vaults on the south side. His son,
Hernan Ruiz II "the Younger", took over the project after his death. He was responsible for building the transept walls to their full height as well as the buttresses upholding the structure. as seen from Court of Oranges; the tower encases the remains of the mosque's former minaret In 1589 a strong storm (or earthquake) caused damage to the former minaret, which was being used as a
bell tower, and it was decided to remodel and reinforce the tower. A design by Hernán Ruiz III (son of Hernán Ruiz II) was chosen, encasing the original minaret structure into a new Renaissance-style bell tower. but eventually stalled due to resources being spent instead on the construction of the new cathedral nave and transept happening at the same time. Hernán Ruiz III died in 1606 and was unable to see its completion. The construction resumed under architect Juan Sequero de Matilla in 1616 and the tower was finished in 1617. Work on the choir stalls finished in 1757, though Duque Cornejo – who had worked on it continuously for nearly a decade – died just two weeks before the finished choir was officially opened. A restoration project began on the bell tower in 1991 and finished in 2014, while the transept and choir of the Renaissance cathedral were also restored between 2006 and 2009. On 8 August 2025, a fire broke out at 9:10 p.m. in a chapel used as a warehouse in the Almanzor extension. The flames reached the Chapel of Expectation, and after the firefighters intervened, the roof of this chapel collapsed under the weight of the water. In September 2025, authorities announced a comprehensive restoration project to repair the damage, which was projected to last until mid-2026. ==Architecture==