Castelvieilh is a village and commune in the Hautes-Pyrénées département of south-western France.
Coordinates: 43°17′N 0°12′E / 43.283, 0.2