Château-d'Oex is a municipality in the canton of Vaud in Switzerland. It is in the district of Riviera-Pays-d'Enhaut.