Saint-Guilhem-le-Désert is a commune in the Hérault department in the Occitanie region in southern France.