The complex of Sant'Anna, including the church and a convent, was built in a zone formerly occupied by an unhealthy inlet, circumscribed by cliffs and filled by alluvial deposits of the former Kemonia river, which dried up a four centuries ago. In the period of the Sicilian Vespers the area housed the residence of Joanne De Saint Remy, collaborator of Charles of Anjou.[1]
In the 16th century, a chapel dedicated to Our Lady Of Pity is recorded in the so-called “Contrada della Misericordia”. In this chapel Tommaso de Vigilia painted a fresco of the Pietà. Over time the popular devotion to this icon increased.[1] In 1596 a structure located near the chapel and used as granary was converted into a place of worship.[1] The fresco was hung in this new temple. In 1597 the convent was built.[1]
Since the chapel was too small for the liturgical needs, the authorities of Palermo decided to enlarge the building with patronage from the noble families and the community. The architectural project was made by the senatorial architect Mariano Smiriglio. On 26 October 1606 the groundbreaking was launched.[1] The church was completed in 1632 and consecrated on 13 November 1639 by the bishop of Agrigento Francesco Traina.[1] The temple was dedicated to Saint Anne, mother of Mary, becoming known as Sant'Anna la Misericordia.
Over the centuries the church was damaged on several occasions by earthquakes. In 1726, the earthquake of Terrasini toppled the façade. The current baroque façade was designed by Giovanni Biagio Amico.
After the unification of Italy, the church and the convent were confiscated by the state. For several years the complex was used as granary. In 1925 the church and a portion of the convent returned into the possession of the friars. Today the former convent is part of the Galleria d'Arte Moderna Palermo, a museum of Italian art from the 19th and early 20th centuries.
The statues of the facade were drawn by Giacomo Serpotta and sculpted by Giacomo Pennino and Lorenzo Marabitti. They represent the saints Joseph, Elizabeth, Anne, Joachim, Louis and Anthony of Padua. Other statues are located inside the church.