Constructed in 1738, it was restored and rebuilt many times: in 1815 after an earthquake, in 1867 after a storm, in 1919 after destruction by termites, and in 1945 after Allied bombing.
它原是泉州晉江縣安海鄉之龍山寺觀音媽祖的分靈寺廟，建於乾隆三年（一七三八年），經一八一五年的地震、一八六七年的暴風雨、一九一九年的蟻蝕、一九四五年的盟軍轟炸，多次的改建修護，面貌逐漸增減變化。