This church has its origins in the fifteenth century and was erected on land donated by Dom Afonso V to the Espirito Santo Hospital for the purpose of receiving patients from overseas provinces.
In 1721, the image of São José is said to have perspired beads of blood three times , thus leading to the name change of the hospital.
The church was badly damaged by the 1755 earthquake with only the late medieval chapel surviving. The church was re-built over the chapel and designed by master mason Diogo Tavares of Faro. It was completed in 1768.