Sacred sites in Taiwan
Taoism

Mailiao Gongfan Temple

Two rival artisan teams, one roof, one Mazu since 1685

Mailiao, Yunlin County, Mailiao, Yunlin County, Taiwan

Mailiao Gongfan Temple
Photo: Photo by 黃庭富

Plan this visit

Practical context before you go

Duration

Roughly 30-60 minutes is typical for a temple complex of this scale (three halls, courtyard), though this is an inference from comparable sites rather than a sourced figure.

Access

No. 3, Zhongzheng Rd., Mailiao Township, Yunlin County, Taiwan (approx. GPS 23.74825, 120.25520), at the eastern end of the town's main commercial street. Admission is free.

Etiquette

No temple-specific etiquette rules are published; general Taiwanese temple norms of modest dress and respectful conduct apply.

At a glance

Coordinates
23.7583, 120.2258
Type
Temple
Suggested duration
Roughly 30-60 minutes is typical for a temple complex of this scale (three halls, courtyard), though this is an inference from comparable sites rather than a sourced figure.
Access
No. 3, Zhongzheng Rd., Mailiao Township, Yunlin County, Taiwan (approx. GPS 23.74825, 120.25520), at the eastern end of the town's main commercial street. Admission is free.

Pilgrim tips

  • Not explicitly published by the temple; general Taiwanese temple etiquette of modest dress likely applies but is not confirmed as site-specific guidance.
  • Not explicitly addressed in available sources.
  • No specific caution beyond general respectful conduct is documented; visitors should be mindful that this remains an active daily worship site alongside its heritage-monument status.
Loading map...

Overview

Mailiao Gongfan Temple houses a Mazu statue tradition holds crossed from Meizhou Island in 1685, and a 1930s reconstruction so architecturally unusual — two competing master-carpenter teams building opposite halves of the same building — that it alone earned the temple national monument status in 2012.

Squeezed onto Mailiao's cramped main commercial road, Gongfan Temple gives little outward warning of what waits inside: densely carved wood screens, a Qing-dynasty stone incense censer, and — stranger than either — wood-carved figures dressed in Western three-piece suits, a stylistic quirk predating 1945. The temple's founding Mazu statue, known as Kaishan Liuma or 'Founding Sixth Mazu,' is said to have crossed the Taiwan Strait with the monk Chunzhen Chanshi in 1685, arriving from Meizhou Island, the traditional wellspring of Mazu worship itself. What makes the building nationally significant, though, is not the statue's age but a rare structural decision made during its 1930s reconstruction: two separate master-artisan teams, one from Quanzhou and one trained in the Zhangzhou lineage, were commissioned to build opposite halves of the same temple in open competition, each showcasing its own craftsmanship in full view of the other's work. Architectural historians treat this 'front-rear competing teams' arrangement as a high point of Taiwanese temple carpentry, and it is the basis for the temple's 2012 national monument designation.

Context and lineage

The Linji-school monk Chunzhen Chanshi crossed from Meizhou Island to the Haifeng Port area of Mailiao in 1685, carrying the Mazu statue that would become known as Kaishan Liuma, 'Founding Sixth Mazu.' After the original site was destroyed by flooding — one source gives 1738, most others 1742 — the temple relocated to its current site. The 1930s reconstruction (see key figures) is treated in Taiwanese architectural heritage scholarship as the temple's defining historical moment.

Gongfan Temple's authority within the wider Mazu cult stems from its role consecrating statues for branch temples through fenling, and from the Kaishan Liuma statue's contested but widely believed direct lineage to one of the original Meizhou images.

Chunzhen Chanshi

Founding monk

Brought the Kaishan Liuma Mazu statue from Meizhou Island to Haifeng Port in 1685.

Wang Shu-fa

Master carpenter, main hall team

Led one of two competing artisan teams during the 1930s reconstruction, responsible for the main hall and worship hall.

Lin Huo-yin

Master carpenter, rear hall team

Led the second competing artisan team, responsible for the Sanchuan Hall and rear hall, in the rare 'front-rear competing teams' arrangement.

Huang Gui-li

Wood carver

Recarved the main Mazu statue and the guardian generals Qianliyan and Shunfeng'er, alongside Lin Guan-chang.

Why this place is sacred

Gongfan Temple's felt sanctity is bound to the perceived age and authenticity of a single object: the Kaishan Liuma statue, brought, per temple tradition, from Meizhou Island by the monk Chunzhen Chanshi in 1685. Meizhou is regarded across Taiwanese Mazu worship as the deity's place of origin, so a statue's documented (or believed) passage from there carries considerable devotional weight. A widely repeated story recounts that in 1881, a pilgrimage delegation from Mailiao carried the statue back to the ancestral Meizhou temple, where its base was found to match precisely one of six recessed niches on the altar — taken by believers as confirmation that this was, in fact, one of the six original Meizhou Mazu images. Complicating this narrative, some Chinese-language sources separately reference a 'Golden-faced Fourth Mazu' statue said to have returned from Meizhou's Chaotian Pavilion in 1919; sources do not clearly reconcile whether this refers to the same statue described inconsistently, a second image, or a translation conflation, and this content preserves that uncertainty rather than resolving it. The temple's authority extends outward through its role consecrating statues for other Taiwanese temples via fenling, a spirit-dividing practice common to Chinese popular religion.

The temple exists to house and venerate the Kaishan Liuma Mazu statue, brought to Taiwan in 1685 specifically to give the Haifeng Port settlement a shrine tied directly to the deity's Meizhou origin.

After flooding destroyed the original Haifeng Port site (dated variously to 1738 or 1742 across sources), the temple relocated to its present Mailiao location, and grew through successive renovations — 1800, 1832, and especially the competing-team reconstruction of the 1930s — from a modest port shrine into a building of recognized architectural distinction.

Traditions and practice

Historic practice centers on incense offering before the Mazu and Guanyin altars, and on consecration or fenling ceremonies in which statues destined for branch or affiliate temples were ritually imbued with Mazu's spirit at Gongfan Temple before installation elsewhere.

Daily worship continues during opening hours (8am-9pm), with an annual peak of activity around the 23rd day of the third lunar month, Mazu's birthday, when representatives and pilgrims from temples with historical ties to Gongfan Temple travel to Mailiao to pay respects.

General Taiwanese temple norms suggest visitors may offer incense and observe worship freely; the temple's own published guidance on visitor ritual participation was not found in available sources, so visitors should default to standard respectful practice.

Mazu (Matsu) worship — Taiwanese folk religion / Chinese popular religion

Active

Gongfan Temple is one of Taiwan's oldest Mazu temples, tracing its founding statue to a 1685 crossing from Meizhou Island, the mythological birthplace of Mazu worship. Many other Taiwanese Mazu temples have had statues consecrated and spiritually divided at this temple, making it an important node in Taiwan's wider Mazu pilgrimage and branch-temple network.

Daily incense offering and worship; consecration and spirit-transfer rituals for statues destined for branch temples; annual celebration of Mazu's birthday on the 23rd day of the third lunar month.

Guanyin (Avalokiteśvara) worship

Active

Secondary devotional tradition housed in the temple's rear hall since 1827, reflecting the common Taiwanese temple pattern of multiple co-located deities under one roof.

Worship of Guanyin alongside Mazu within the temple's three-hall layout.

Experience and perspectives

Visitors and travel writers consistently note the contrast between Gongfan Temple's unassuming, almost hemmed-in position on Mailiao's main road and the richness of what stands inside — elaborately carved wood beam ends, a Qing-era Kangxi incense censer, and those unusual Western-suited wood-carving figures that reward a slow, attentive look. The temple functions as both a bustling neighborhood worship site and a national monument, a duality frequently remarked on in coverage: this is not a museum piece cordoned off from daily life, but an actively used three-hall temple where incense offering continues around the architectural details that draw heritage visitors.

A visit of roughly 30-60 minutes suits the temple's scale — three halls and a courtyard — with daily worship continuing from 8am to 9pm and no admission fee.

Gongfan Temple can be read as a case study in Taiwanese temple carpentry as much as a devotional site, its architectural distinction and its Mazu lineage claim standing somewhat independently of each other.

Taiwanese heritage authorities and architectural historians recognize Gongfan Temple primarily for its 1930s reconstruction, notable as a rare example of a 'front-rear competing teams' construction where two separate master-artisan teams built different halls of the same temple in parallel, each showcasing its own stylistic virtuosity — a practice architectural scholarship treats as a high point of Taiwanese temple craftsmanship of the era. This architectural and craft significance, rather than doctrinal distinctiveness, is the primary basis for its 2012 national monument status.

Within Taiwanese folk-religious tradition, the temple's authority rests on the believed authenticity and antiquity of its founding Mazu statue, reinforced by the origin story of its 1685 crossing from Meizhou and the 1881 confirmation-by-altar-fit story. This lineage narrative underpins the temple's role consecrating Mazu statues for other temples across Taiwan.

No distinct alternative or esoteric interpretive tradition was found documented for this site beyond mainstream Taiwanese Mazu folk-religious belief.

Sources do not reconcile the discrepancy between the 'Sixth Mazu' origin story tied to the 1685 founding statue and the separate reference to a 'Golden-faced Fourth Mazu' said to have arrived from Meizhou's Chaotian Pavilion in 1919. It remains unclear whether these describe the same statue inconsistently, two different statues housed at different times, or a conflation between Chinese-language source materials.

Visit planning

No. 3, Zhongzheng Rd., Mailiao Township, Yunlin County, Taiwan (approx. GPS 23.74825, 120.25520), at the eastern end of the town's main commercial street. Admission is free.

Not documented in available sources; Mailiao is a small township, and visitors are likely to base themselves in larger nearby towns such as Douliu or Huwei.

No temple-specific etiquette rules are published; general Taiwanese temple norms of modest dress and respectful conduct apply.

Not explicitly published by the temple; general Taiwanese temple etiquette of modest dress likely applies but is not confirmed as site-specific guidance.

Not explicitly addressed in available sources.

Incense offering is the customary practice at Mazu temples generally; no site-specific offering rules (such as particular foods or incense types) were found documented for this temple specifically.

None documented. Admission is free and the temple is open daily 8am-9pm.

Nearby sacred places

References

Sources consulted when researching this page. Independent verification by readers is welcome.

  1. 01Mailiao Gongfan Temple — Taiwan Religious Culture Map (臺灣宗教百景)Ministry of the Interior, Taiwanhigh-reliability
  2. 02麥寮拱範宮-臺灣宗教文化地圖-臺灣宗教百景Ministry of the Interior, Taiwanhigh-reliability
  3. 03國定古蹟麥寮拱範宮 — 國家文化資產網Bureau of Cultural Heritage, Ministry of Culture, Taiwanhigh-reliability
  4. 04National Historic Monument Panorama — Mailiao Gongfan TempleBureau of Cultural Heritage, Ministry of Culture, Taiwanhigh-reliability
  5. 05麥寮拱範宮 — 文化資源地理資訊系統 (Cultural Resources GIS)Academia Sinicahigh-reliability
  6. 06Gongfan Temple — WikipediaWikipedia contributors
  7. 07麥寮拱範宮 — 維基百科Wikipedia contributors
  8. 08Highways and Byways: Deities, mosquitoes and flying sandTaipei Times
  9. 09麥寮拱範宮由來詳細介紹、起源故事與拜拜該準備什麼?HaveFunDay
  10. 10Gongfan Temple — WikidataWikidata contributors

Key questions

What pilgrims usually ask

Why is Mailiao Gongfan Temple considered sacred?
Enter a 1685 Mazu shrine rebuilt by two competing carpentry teams working the same roof, a rare feat marking Taiwan's 2012 monument.
What should I wear at Mailiao Gongfan Temple?
Not explicitly published by the temple; general Taiwanese temple etiquette of modest dress likely applies but is not confirmed as site-specific guidance.
Can I take photos at Mailiao Gongfan Temple?
Not explicitly addressed in available sources.
How long should I spend at Mailiao Gongfan Temple?
Roughly 30-60 minutes is typical for a temple complex of this scale (three halls, courtyard), though this is an inference from comparable sites rather than a sourced figure.
How do you visit Mailiao Gongfan Temple?
No. 3, Zhongzheng Rd., Mailiao Township, Yunlin County, Taiwan (approx. GPS 23.74825, 120.25520), at the eastern end of the town's main commercial street. Admission is free.
What offerings are appropriate at Mailiao Gongfan Temple?
Incense offering is the customary practice at Mazu temples generally; no site-specific offering rules (such as particular foods or incense types) were found documented for this temple specifically.
What etiquette should visitors follow at Mailiao Gongfan Temple?
No temple-specific etiquette rules are published; general Taiwanese temple norms of modest dress and respectful conduct apply.
What is the history of Mailiao Gongfan Temple?
The Linji-school monk Chunzhen Chanshi crossed from Meizhou Island to the Haifeng Port area of Mailiao in 1685, carrying the Mazu statue that would become known as Kaishan Liuma, 'Founding Sixth Mazu.' After the original site was destroyed by flooding — one source gives 1738, most others 1742 — the temple relocated to its current site. The 1930s reconstruction (see key figures) is treated in Taiwanese architectural heritage scholarship as the temple's defining historical moment.