Historians Estácio da Veiga and José da Encarnação have proved that settlements of Luz have existed for millennia, and that many cultures have crossed the territory. At the end of the 19th century, various castros were discovered in the area of Serro Grande, that included various funerary tombs with galleries, dating to the Neolithic period. In these sites there were vestiges of Neolithic implements, artefacts from the Iron Age, and as a rock axe discovered in Espiche. The existence of human artifacts and shell mounds in the area suggest human presence before organized civilization.
Remnants of a Roman spa are among the more important archaeological discoveries of the modern municipality. After the decline of the Pax Romana, the Algarve was visited by peoples from the lands of ancient Morocco. They established many of the fruit orchards that continue to exist in the foothills of Luz. Moorish rule in the Algarve resulted in assimilation of the indigenous cultures, transforming the region into a major economic power.
Reconquista resulted in expulsion of the Moors from the Algarve, in the institutionalization of Christianity and the building of churches. During the Middle Ages, the parish was officially referred to as Nossa Senhora da Luz.
King Manuel I, through his 1 June 1504 foral, recognized the importance of Lagos, in the Kingdom of the Algarve, for the quantity of fish catches at the time (primarily of tuna and sardine caught in Luz). Three factories eventually developed in the region, the most recent developing in 1884, which served to conserve fish in olive oil, preceding the salting of sardine in the same fashion. These factories supported 100 workers, with the majority (60) women. Much later, another factory, in Espiche, was also constructed (but today only the ruins remain).