Doña Jimena Díaz (also spelled Ximena) (before July 1046–c.1116) was the wife of El Cid, whom she married between July 1074 and 12 May 1076, and her husband's successor as ruler of Valencia from 1099 to 1102.
Jimena was the daughter of Diego Fernández, Count of Oviedo and son of Count Fernando Flaínez, and his wife Cristina. She was a sister of Fernando Díaz.
Upon marrying Rodrigo Díaz, Jimena Díaz accompanied her husband although it has remained unclear if she lived with him in the Taifa of Zaragoza during his first exile (from 1080-1086) as leader of the Andalusian army in service of Ahmah al-Muqtadir, Yusuf al-Mu'taman ibn Hud, and Al-Mustain II. There is also little historical certainty as to whether or not she moved with him in this period to Asturias, although there exists some documentation to suggest that she maintained a presence even during periods of separation (a legal action from Tol in 1083).
At the beginning of the second exile of the Cid, in 1089, Jimena was imprisoned with her children, Cristina, Diego and María by mandate of Alfonso VI of León and Castile. Nothing else is known about Jimena until the end of 1094, when Rodrigo Díaz, on October 21, winning the battle of Cuarte, secured his control over Valencia (that he had conquered on June 17 of that year) and she was reunited with her husband until his death in 1099.
From this point she was Lady of Valencia until 1102 when Alfonso VI, her kinsman, decided to set fire to and abandon the city to the Almoravids in response to the impossibility of defending it. Alfonso VI escorted Jimena in her return to Castile. Around this period there remains a document of donation made by Jimena Díaz to the Cathedral of Valencia in 1101 containing her signature.
In 1103 she signed a document in the Monastery of San Pedro of Cardeña for the sale of a monastery that she owned to two canons of Burgos, although this fact does not mean that Jimena would have lived in the abbey during her old age, as was the legend maintained by the monastery until the 18th century in the hagiographic texts known as The Legend of Cardeña. It is more likely that she lived her last years in Burgos or in a nearby outlying area. She died sometime between August 29 of 1113 and 1116, probably in that final year. Of her three children, Diego was killed in battle fighting under Alfonso VI in 1097, Cristina married Ramiro Sánchez of Monzón and became mother of king García Ramírez of Navarre, while Jimena was successively wife of a prince of Aragón and Ramon Berenguer III, Count of Barcelona.