Basílica de Santa Maria del Pi is a 14th-century Gothic church in Barcelona, Catalonia, Spain. It is situated on the Plaça del Pi, in the Barri Gòtic district of the city.
There are unsubsantiated claims that there was an early Christian church on the site in 413. However it is known that in 987 there existed a church outside the city walls and to the west of Barcelona. This was a small Romanesque church dedicated to the Blessed Lady of the Pine Tree (one of the titles of the Virgin Mary). The church was built between 1319 and 1391. The style of the church was Catalan Gothic, with a single nave almost devoid of ornamentation. However in 1936 the church was gutted by a fire and was later restored.
The floor plan of the church comprises a single nave made up of seven rectangular sections, each covered with a vaulted ceiling and with side-chapels placed between the supporting pillars. The interior length of the nave is 54 metres, the width is 16.5 metres and the height is 12.2 metres. The fire of 1936 destroyed the high altar, the altarpiece, the statues, the choir stalls from 1868 and the organ created in 1808 by Johan de Kyburz.
The high altar is made of alabaster and is the work of Joaquim de Ros i de Ramis. It was installed in 1967.
In the presbytery is a statue of Santa Maria del Pi, 3.3 metres high, created in 1973 by sculptor Enric Monjo.
The original Baroque choir stalls dated from 1771 and were designed by Josep Mas i Dordal. In 1868 these were replaced by neo-gothic stalls, which were destroyed in the fire of 1936. In 1986 the previous baroque stalls were re-instated.
The original stained-glass windows have not survived. The oldest of those that exist now date from 1718. Of these, the window depicting the Adoration of the Magi (above the Door of Avemaria) is the work of Antoni Viladomat.