Prior to the construction and dedication of Holy Trinity in 1847, church services attended by the British community were held in the British Consulate. Thomas Chaye Beale of Dent & Co. purchased and donated the current site of Holy Trinity as a gift to the church. The first church structure on the site was of poor quality; the roof collapsing on 24 June 1850. The neo-gothic design of the current church by Sir George Gilbert Scott, was modified by William Kidner, a junior architect in Scott's office due to budget constraints and in an effort to accommodate a growing congregation. The foundation stone was laid in 1866 and the church was eventually dedicated in 1869. A spire was added to the original tower in 1901 although this was later removed during the Cultural Revolution. Holy Trinity faces Jerusalem, which is roughly in the west. When introduced in 1914, the church had the largest organ in Asia an instrument supplied by J. W. Walker & Sons Ltd of London. Before the forced amalgamation of Anglican denominations in mainland China into the lianghui in 1958, the church served as the Anglican cathedral of the Chung Hua Sheng Kung Hui, known as Holy Trinity Cathedral, and the oldest such cathedral in China. It was colloquially known as "the Red Church". It was the English speaking Anglican church of Shanghai in 1866-1949. It also had a boys' school attached, built in 1928. This was attended by the author JG Ballard in his youth, and it features in his novel, Empire of the Sun. The 1st Shanghai Baden-Powell Group was based there. Later, it became the cathedral of the Diocese of Chekiang in 1930, still an English speaking church.
Its spire was destroyed during the cultural revolution and has since been restored. During the cultural revolution, it was confiscated by the Huangpu District authorities and converted into a cinema. A stage was installed in the chancel, a second floor and sloping floor were introduced and the brickwork was covered by plaster and painted. Peter Hibbard, who described it as "a central feature of British life in a faraway land," was consulted in its restoration. The restoration was carried out by Zhang Ming Architectural Design Firm. Carved teak pews were provided by a furniture factory in Zhejiang province.
Current use
It now serves as the headquarters of the Three-Self Patriotic Movement, having been used for police offices and the exit visa bureau. The church complex was handed back to the lianghui in 2006.