Barbastro was annexed to the Diocese of Huesca in the sixteenth century, but in 1571 the Diocese of Barbastro was erected out of part of Huesca.
The Concordat of 1851 annexed it once more to Huesca, preserving its name and administration, but being administered by a vicar Apostolic.