The church is documented since 1029. It was part of an abbey built over pre-existing edifices, and, until the 15th century, it had also a hospital. In the 12th century it was held by Camaldolese monks.
The church has a nave and two aisles. The façade is preceded by a portico supported by pilasters and a central columns. The second order has mullioned windows and decorations with lozenges and small circular windows, with ceramic basins by Islamic masters (11th century; the originals are in the Museum of St. Matthew of Pisa).
The interior has ancient Roman capitals and traces of medieval paintings.