Construction of the church began in 1915, under the architect Enric Sagnier.[1] The church was officially opened in 1926 although the works of the clock tower and facade were not completed until 1930. On 15 May 1936 it received the title of minor basilica granted by Pope Pius XI. It was the fifth church of Barcelona to receive this title.
The church was burned in July 1936, and was rebuilt after the end of the Spanish Civil War. The reconstruction of the temple was slow, taking about 12 years.