A village that has existed since antiquity according to some archaeological evidence, Moirax was a stopover for pilgrims on their way to Santiago de Compostela during the Middle Ages. In the 11th century, in 1049, one of the first Cluniac abbeys was founded here.
It became the Cluniac priory of Sainte-Marie and its church is now dedicated to Notre-Dame de Moirax.