Épila is a municipality located in the province of Zaragoza, within the autonomous community of Aragon in northeastern Spain. It lies in the Ebro river valley, roughly 30 kilometres west of the provincial capital, Zaragoza.
The town's population stood at approximately 4,100 in 2005. Épila is known historically as the site of a castle, the Castillo de Épila, which dates to the medieval period and was associated with the Aragonese crown. The surrounding area is agricultural, with the local economy traditionally tied to farming in the fertile Ebro basin.