Ejea de los Caballeros (Spanish: [eˈxea ðe los kaβaˈʎeɾos]; Aragonese: Exeya d'os Caballers), commonly known simply as Ejea, is a town and municipality in the province of Zaragoza, part of the autonomous community of Aragon, Spain. It is one of the five main towns in the Comarca de las Cinco Villas (lit. 'Shire of the Five Villages'), along with Sos del Rey Católico, Uncastillo, Sádaba, and Tauste.
The town became part of the medieval Kingdom of Aragon in 1105 during the Spanish Reconquista, as Muslim rule in the region was receding.