Onet-le-Château is a commune in the Aveyron département in southern France.
Coordinates: 44°23′N 2°32′E / 44.383, 2.533