We provide first insights into the speleogenesis of Ejulve cave (Teruel province, Iberian Range, NE Spain) by studying cave morphologies and cave deposits, combined with regional geomorphological and hydrothermal observations. Three main hydrogeomorphic evolutionary stages can be distinguised to explain the origin and evolution of the Ejulve endokarstic system. Cave pattern and cave solutional features (calcite vein fillings, tubes with rising ceiling cupolas, pendants and cusps, spongework and micro-corrosion features) suggest that the cave generated in a phreatic environment by ascending water. Cave morphologies and regional hydrothermal springs in this region suggest, but not prove, the involvement of thermal waters and related convection and condensation-corrosion mechanisms in the origin of the cave. Subsequently, the cave underwent a change to epigenic conditions driven by denudation, as a result of regional uplift. Once the karstic system was exhumated, carbonate speleothems formed in a vadose environment. Mineralogical, petrographic, isotopic and chronological (U-series dating) analyses of carbonate speleothems (i.e. stalagmites, flowstones, botryoids, spars, acicular crystals and farmed carbonate) are provided. Calcite, high-Mg calcite and aragonite are the most common minerals, whereas columnar, dendritic, micrite, mosaics and fans are the main fabrics. Mean δ18O values of − 7.3‰ and δ13C values of − 9.1‰ indicate carbonate precipitation from meteoric waters without a hydrothermal origin. Carbonate deposits formed at least since 650 ka BP. Our study suggests that hydrothermal fluid flow may explain, although the evidences are not fully conclusive, the speleogenesis of this cave.