Berbegal is a municipality in the province of Huesca, in the autonomous community of Aragon, Spain. It is located in the northeastern part of the country, within the comarca of Somontano de Barbastro.
According to the 2004 census conducted by the Instituto Nacional de Estadística (INE), the municipality had a population of 459 inhabitants. The town is situated at an elevation of approximately 520 metres above sea level.
Berbegal is known for the ruins of its medieval castle, which sits on a hill overlooking the town, and for the Church of Santa María la Mayor, a Romanesque-Gothic structure dating from the 13th century.