A-Ma TempleThe Sea Goddess Shrine That Gave Macau Its Name

Halfway up a hill at the southern tip of the Macau Peninsula, A-Ma Temple honours Mazu, goddess of seafarers, and is said to be the source of the name Macau. When was it built, which hall is oldest, and is the naming story true? A visitor's guide based on official World Heritage information. Checked December 6, 2026.

The stone gateway of A-Ma Temple, MacauA city named for a temple

Key points

  • A-Ma Temple (Ma Kok Miu) honours Mazu, protector of sailors and fishers. It sits on the western slope of Barra Hill at the southern tip of the Macau Peninsula and became part of the Historic Centre of Macau World Heritage Site in 2005.
  • The Hall of Benevolence is traditionally dated to 1488. But the oldest building whose date can actually be verified is the main Prayer Hall, inscribed 1605.
  • The famous story says Portuguese sailors asked the name of the place and were told 'Ma Kok', which became 'Macau'. It's a legend, and there are other explanations.
  • The gate, memorial arch, Prayer Hall, Hall of Benevolence, Hall of Guanyin and the Buddhist Zhengjiao Chanlin step up the hillside, with carved rocks along the way.
  • Open daily 7am to 6pm, free. Since December 2023, the LRT's Barra station has linked the temple directly to Taipa and Cotai.

At the very southern tip of the Macau Peninsula, halfway up a small hill above the water, a stone gateway hung with red lanterns leads into A-Ma Temple (Ma Kok Miu). It honours Mazu, goddess of sailors and fishers, and is one of the oldest temples in Macau.

It’s also said to be where Macau got its name. When the first Portuguese arrived and asked what the place was called, the story goes, locals thought they meant the temple and answered “Ma Kok”. Every guidebook to Macau tells this tale.

The temple’s history, though, has a gap between what’s told and what the buildings themselves can prove. This guide uses the official World Heritage information from Macau’s Cultural Affairs Bureau to set out both, and to show you how to explore it.

Mazu, goddess of the sea

Mazu is a sea goddess worshipped all along southern China’s coast. Tradition says she was a young woman from Fujian in the Song dynasty who became, after her death, a protector of people at sea. Temples to her, often under the name Tin Hau, are found across Taiwan, Hong Kong and Chinese communities in Southeast Asia.

In Macau she’s also called A-Ma, and she has long been dear to fishers and sailors. On a rock near the entrance is a carving of a ship said to have survived a storm and landed here safely under her protection.

When was it built? Legend versus evidence

You’ll often read that A-Ma Temple was built in 1488. That date comes from a tradition that its Hall of Benevolence was founded in the first year of the Ming emperor Hongzhi’s reign.

The Cultural Affairs Bureau’s World Heritage site is more careful:

  • The founding date is unknown, though most scholars believe a shrine to Mazu stood here before the Portuguese settled in Macau around 1557.
  • The oldest building with a verifiable date is the Prayer Hall (the “First Hall of the Sacred Hill”), built in 1605. It is considered the oldest surviving temple building in Macau.
  • An illustration in a 1751 gazetteer, the Aomen Jilüe, already shows a temple of some size.
  • A major renovation in 1828 gave it much of its present form.
  • After typhoon damage in 1874 and 1875, two years of repairs and expansion produced the temple you see today.

So think of 1488 as tradition and 1605 as the earliest date the evidence supports.

Where does the name “Macau” come from?

The tale of Portuguese sailors being told “Ma Kok” is famous. Old Portuguese records spell the name in forms like “Amacao” and “Amacão”, and the usual explanation is that the initial “A” later dropped away to give “Macao” and “Macau”.

It is, however, a legend. Another theory traces the name to “A-Ma Gau” (A-Ma’s bay), and nobody recorded what was actually said between the Portuguese and the locals. What’s certain is that the bay below the temple was near where Portuguese ships first anchored, and most theories agree that the name Macau is tied to Mazu.

The city’s formal Chinese name, 澳門 (Ou Mun, “bay gate”), is a different name altogether, meaning a gateway from the sea.

A hall hung with red lanterns at A-Ma Temple, Macau
A hall hung with red lanterns at A-Ma Temple, MacauPhoto: Constantine S / Unsplash

Exploring the temple: six structures up the hillside

A-Ma Temple isn’t laid out on a flat courtyard. Its buildings climb the hillside in tiers. The Cultural Affairs Bureau lists these parts:

  1. Gate Pavilion: the stone entrance gate.
  2. Memorial Arch: the stone gateway you see once inside, hung with red lanterns and the classic photo spot.
  3. Prayer Hall: a small stone hall built in 1605, the oldest verifiable building.
  4. Hall of Benevolence: the smallest hall, tucked against the rock. Traditionally dated to 1488; its present doorway and stone shrine date from 1828.
  5. Hall of Guanyin: near the top of the slope, dedicated to the goddess of mercy. It began as a stone pavilion and took its present form in 1828.
  6. Zhengjiao Chanlin: a Buddhist hall. It was damaged by fire in February 1988 and rebuilt to its original design by the government, reopening the following year.

Poems and inscriptions are carved into rocks all around the grounds. The bureau singles out two, the “Foreign Ship Rock” and the “Sea Enlightenment Rock”, as among Macau’s best known.

Finding Mazu, Guanyin and a Buddhist hall in one temple is normal in Hong Kong and Macau, where Taoism, Buddhism and folk religion overlap rather than sit in separate boxes.

Temple etiquette

  • This is a working place of worship. Don’t walk in front of people praying, and avoid photographing worshippers face-on.
  • Incense is usually sold on site, but you don’t need to buy any just to look around.
  • It’s built into a hillside, with plenty of steps and some slippery stone. Wear decent shoes.

A-Ma Temple (媽閣廟, Templo de A-Má) | Macau Peninsula (Barra)

On the western slope of Barra Hill, facing Barra Square (Largo do Pagode da Barra). Open daily 7:00–18:00, free entry (Cultural Affairs Bureau World Heritage site). Nearest station: Barra on the LRT Taipa Line.

View on Google Maps · Official World Heritage page (checked Dec 6, 2026)

Getting there, and what’s nearby

By LRT

On December 8, 2023, the Macau LRT’s Taipa Line crossed the Sai Van Bridge to the peninsula, ending at Barra station. You can now ride from the Taipa and Cotai hotels to the temple without changing. A bus interchange is attached to the station.

Barra Square and the waterfront

The square in front of the temple is paved with wave-patterned Portuguese calçada. Across from it is the Maritime Museum, which tells the story of Macau’s ships and seafaring. Check its opening hours before you go.

A starting point for the World Heritage walk

A-Ma Temple marks the southern end of the Historic Centre of Macau. The classic route heads north from here past the Moorish Barracks, Lilau Square, St. Augustine’s Church and Senado Square to the Ruins of St. Paul’s (see our guide to walking the Historic Centre).

For lunch afterwards, there’s an excellent Macanese restaurant a short walk from the temple (see our guide to Macanese food).

FAQ

Is there an entry fee? What are the hours?

Entry is free, and the temple is open daily from 7am to 6pm, according to the Cultural Affairs Bureau's World Heritage site. It's an active place of worship, so be considerate when taking photos inside the halls.

How do I get there?

Take the Macau LRT Taipa Line to its terminus, Barra, which opened on December 8, 2023. The temple is a short walk from the station's square. From Senado Square it's about a 30-minute walk, or a short bus ride.

Did Macau really get its name from this temple?

That's the story most often told, but it's a legend. Old Portuguese records spell the name variously as 'Amacao' and similar forms. Many people trace it to 'Ma Kok' (A-Ma's pavilion) or 'A-Ma Gau' (A-Ma's bay), but exactly how the name came about isn't documented.

When is the best time to visit?

Early mornings are quiet, with mostly local worshippers. It gets very busy around Mazu's birthday on the 23rd day of the third lunar month, and at Lunar New Year, when queues form to offer incense.

Sources

  1. A-Ma Temple | Macao World Heritage (Cultural Affairs Bureau of the Macao SAR Government, Chinese)
  2. A-Ma Temple (Wikipedia)
  3. Landmarks of Macao: A-Ma Temple (CGTN, December 14, 2019)
  4. Barra station (Wikipedia)

Accessed: December 6, 2026. Prices, opening hours and procedures can change. Please check official sources before you go.

Hea Hong Kong & Macau Editorial Office

A small team that also runs travel-reading sites on Taiwan, Vietnam, Korea, Hawaii, Thailand, Indonesia, India, Malaysia, Singapore and the Philippines, explaining the “why” of Hong Kong and Macau from documents and sources. Streets get more interesting once you know the story behind them. About us · Editorial policy

Tai maaiREAD NEXT

You might also like

m4 goi1 · do1 ze6

M̀h gōi,dō jeh.Thank you for reading this far

Cantonese has two thank-yous: m̀h gōi when someone does something for you, dō jeh for a gift or a compliment.Come back and wander, through the neon and along the tiles.