Skip to content

Independent guide · Updated weekly from Beijing

Beijing Temples & Spiritual Sites

Beijing Mosque & Niujie Islamic Quarter Guide

Guide to the Niujie Mosque, Beijing's oldest mosque, and the Muslim quarter: temple-style Islamic architecture, halal food, history and how to visit.

In the old southern district of Beijing lies a neighbourhood unlike any other in the city: Niujie (“Ox Street”), the historic heart of the capital’s Muslim community, anchored by the magnificent Niujie Mosque — the oldest and largest mosque in Beijing, founded more than a thousand years ago in 996 AD. What makes it extraordinary is its architecture: built in the form of a traditional Chinese temple, with sweeping tiled roofs, painted timber halls and courtyards, yet serving as a Muslim place of worship and adorned inside with Arabic calligraphy and Islamic ornament — a remarkable fusion of two great traditions. Around it stretches a lively quarter of halal restaurants, bakeries and food shops where the city’s Hui Muslim culture comes alive. For travellers curious about the diversity beneath Beijing’s surface, a visit here is a window onto a community and a culture that has thrived in the capital for over a millennium. This guide covers the mosque’s history and architecture, the Islamic quarter and its food, visiting information (including current renovation works), how to get there, and respectful-visiting tips.

Niujie is one of Beijing’s most fascinating and overlooked corners — a thousand-year-old mosque dressed as a Chinese temple, ringed by some of the best halal food in the city. This guide covers the mosque, the quarter and how to visit thoughtfully. Let’s head down Ox Street.

Traditional Chinese-style architecture serving as an Islamic place of worship
Niujie Mosque blends Chinese temple architecture with Islamic ornament.

Niujie Mosque & Islamic quarter at a glance

What
the oldest and largest mosque in Beijing (founded 996 AD), and the surrounding Niujie Muslim quarter.
Highlights
Chinese-temple-style Islamic architecture; the prayer hall, minaret-like “Tower for Observing the Moon”; ancient steles; the vibrant halal food street.
Note
the mosque has been undergoing major conservation and renovation; check the current status before visiting, as access and worship may be limited.
Getting there
subway Line 7 to Guang’anmennei, then a short walk south; it’s in Xicheng District.
Best for
travellers interested in Beijing’s cultural diversity, Islamic heritage and halal food.
Time needed
1–2 hours, plus time to eat; combine with nearby Fayuan Temple.

A thousand years on Ox Street

The Niujie Mosque was founded in 996 AD, during the Liao dynasty, traditionally attributed to an Arab scholar, making it well over a thousand years old and the oldest mosque in Beijing. The surrounding district grew into the city’s principal Muslim quarter, home to the Hui people — Chinese Muslims who, over the centuries, blended Islamic faith with Chinese language and customs. The mosque was destroyed during the Mongol conquest, rebuilt in the 15th century under the Ming, and substantially restored and enlarged under the Kangxi Emperor of the Qing in the 17th century. The name “Ox Street” itself is often linked to the area’s Muslim community and its halal beef and mutton trade, which flourished here for generations and still gives the neighbourhood its character. Today the district remains the spiritual centre for roughly 10,000 Muslims living nearby, with the mosque at its heart. That continuity — a faith community thriving in the same lanes for over a thousand years, through dynasties and upheavals — is what gives Niujie its remarkable sense of living history.

Architecture: a temple that is a mosque

The most striking thing about the Niujie Mosque is its architecture, which beautifully embodies the fusion of Chinese and Islamic cultures. From the outside, it looks for all the world like a traditional Chinese temple: sweeping grey-tiled roofs with upturned eaves, red and green painted timber columns and beams, ornate brackets, and a layout of courtyards and halls along an axis. Yet every element serves Islamic worship. The complex includes the main prayer hall (oriented, as Islam requires, toward Mecca in the west — so the hall faces east-west rather than the Chinese norm), a hexagonal “Tower for Observing the Moon” (Wangyuelou) used to determine the start of Ramadan, a minaret-like structure, ablution facilities, and pavilions sheltering ancient steles recording the mosque’s history in Chinese and Arabic. Look closely and you’ll see the decoration switch register: Chinese forms and craftsmanship on the outside, Arabic calligraphy, Quranic inscriptions and Islamic geometric and floral ornament within. This sinicised mosque style — found across northern China but rarely so old or grand as here — is a unique architectural treasure, and the single best reason to visit.

A busy Chinese street-food stall in a Muslim neighbourhood
The Niujie quarter is famous for its halal food.

Inside the mosque grounds

When the mosque is open to visitors, its grounds reward unhurried exploration. Beyond the entrance, the complex opens into tranquil courtyards shaded by old trees and dotted with historic structures. The hexagonal Tower for Observing the Moon (Wangyuelou) is one of the most photographed features — it was from here that clerics traditionally observed the new moon to fix the dates of Ramadan and the festivals. Nearby stand stele pavilions sheltering ancient inscribed tablets that record the mosque’s long history in both Chinese and Arabic, and a small cemetery area traditionally associated with early Arab teachers. The grand prayer hall, though reserved for worshippers, can often be admired from outside: a spacious hall capable of holding hundreds of the faithful, its interior richly decorated with Quranic verses, gilded Arabic calligraphy and intricate patterning, its floor spread with prayer mats and oriented toward Mecca. Throughout, the interplay of Chinese carpentry and Islamic decoration repays close attention — carved screens, painted beams and ornamental details that belong to both worlds at once. It’s this quiet, layered richness, rather than any single dramatic monument, that makes time in the grounds so absorbing.

The Islamic quarter and its food

For many visitors, the real joy of Niujie is the neighbourhood and its food, one of the highlights of our street food guide. The streets around the mosque are lined with halal (qingzhen) restaurants, butchers, bakeries and snack shops, many displaying Arabic signage alongside Chinese, and the area is one of the best places in Beijing to eat the distinctive cuisine of China’s Muslim communities. Look out for Niujie’s famous snacks and pastries: sticky, sweet treats and fried dough confections from celebrated old shops, freshly baked sesame breads, and a rainbow of traditional Hui desserts sold by weight. Sit-down restaurants serve hearty halal northern fare — tender braised and roasted lamb and beef, hand-pulled noodles, lamb skewers, hot pot and rich soups — that’s both delicious and deeply tied to the community’s heritage. The famous Niujie Muslim Supermarket and historic snack shops draw food-lovers from across the city. Wandering the quarter, sampling pastries and watching the everyday life of a community that has cooked, prayed and traded here for centuries, is a wonderfully authentic experience — and a reminder of how much culinary and cultural diversity hides in Beijing’s old southern lanes.

The Hui community and Chinese Islam

To understand Niujie, it helps to know a little about the Hui, the community at its heart. The Hui are one of China’s largest ethnic minorities — Chinese Muslims who, over more than a thousand years, have blended Islamic faith with Chinese language, dress and customs, descending from Arab, Persian and Central Asian traders and settlers who came to China along the Silk Road and by sea, and intermarried with local Chinese. Unlike some other Muslim groups in China, the Hui speak Chinese and are spread throughout the country, with historic communities in many cities — but Niujie is one of the oldest and most important. Their distinctive culture is visible everywhere in the quarter: in the white caps worn by men and headscarves by some women, in the halal (qingzhen, “pure and true”) food that follows Islamic dietary law, in the Arabic alongside Chinese on shopfronts, and in the rhythm of life around the mosque and the daily prayers. Visiting Niujie is a chance to appreciate this centuries-old fusion of two great civilisations — a thoroughly Chinese community that is also devoutly Muslim — and to see a side of the country’s identity that surprises many first-time visitors.

Why Niujie is worth your time

With Beijing’s wealth of grand temples and palaces, why make time for Niujie? Because it offers something genuinely different. Most visitors experience the city’s imperial, Buddhist, Taoist and Confucian heritage — Yonghegong’s Tibetan Buddhist halls, Beijing’s main Taoist monastery, the Confucius Temple and the rest — but Niujie reveals its Islamic heritage and its everyday multicultural life, a thread of the capital’s story that the famous monuments leave out. The mosque itself is an architectural one-of-a-kind, a building that captures, in tiles and timber and calligraphy, a thousand-year conversation between Chinese and Islamic civilisation. And the quarter around it is not a sanitised tourist zone but a real, working neighbourhood, where you can eat superbly, watch ordinary life, and feel the texture of old southern Beijing. For curious travellers who want to go beyond the checklist sights and understand the city’s true diversity, an afternoon at Niujie — ideally with the nearby Fayuan Temple and a long halal lunch — is among the most rewarding and broadening things you can do in Beijing. It leaves you with a fuller, more human picture of the capital.

Visiting: hours, renovation and etiquette

A few important practical points. First, check the mosque’s current status before you go: it has been undergoing major cultural-relics conservation and renovation works, during which religious services have been suspended and visitor access to parts of the site (including the prayer hall) may be limited or closed, with normal operation expected to resume after the project completes. Even in normal times, the prayer hall is reserved for Muslim worshippers and is generally not open to non-Muslim visitors, though you can usually appreciate the courtyards, the moon tower, the steles and the architecture from outside. Etiquette matters here as at any active place of worship, and arguably more so: dress modestly (cover shoulders, arms and legs; women may wish to carry a scarf), remove shoes where required, never enter prayer areas during prayers or without permission, behave quietly and respectfully, and always ask before photographing people. Avoid visiting during the five daily prayer times if you want to look around, and be especially considerate during Ramadan and on Fridays. Approached with courtesy, the community is welcoming and visitors are made to feel at ease.

Tips for a respectful visit

A thoughtful approach makes all the difference at Niujie. Above all, check the mosque’s current opening status before setting out, given the renovation works. Dress conservatively — long trousers or skirts, covered shoulders and arms; women may like to carry a headscarf in case it’s appreciated or required in certain areas. Avoid the five daily prayer times and Friday midday prayers if you simply want to look around, and never enter prayer spaces during worship or without clear permission. Always ask before photographing people, and avoid photographing prayers; exterior architecture is generally fine. Keep your voice low and your manner respectful throughout, as this is first and foremost a place of worship for the local community, not a tourist attraction. For the food street, bring a mobile-payment app or some cash, come hungry, and don’t be shy about pointing at what looks good. Treated with courtesy and curiosity, Niujie offers a warm welcome and one of the most genuine cultural encounters in the city. Our broader guide to visiting Beijing’s religious sites has more on respectful behaviour that applies here too.

How to get there

The Niujie Mosque is in Xicheng District in the south of the old city, at No. 88 Niujie Street. The easiest approach is by subway: take Line 7 to Guang’anmennei station and walk south for about 5–10 minutes to reach the mosque and the surrounding Muslim quarter. Several bus routes also serve Niujie. The area is compact and very walkable, so once you arrive you can easily explore the mosque exterior, the food street and the neighbouring lanes on foot. It’s also within walking distance of Fayuan Temple, making the two an easy and rewarding pairing. Allow one to two hours for the mosque and quarter, plus extra time to eat — a halal lunch here is a highlight in itself. For getting around the city, see our practical guide to riding the subway.

Combining your visit

Niujie pairs naturally with several nearby sights for a rich half- or full-day in the old southern city. Closest is Fayuan Temple, the oldest Buddhist temple in Beijing, a short walk away — visiting both lets you experience the area’s striking spiritual diversity, the thousand-year-old mosque and the nearly-1,400-year-old monastery, with a halal lunch in between. A little further afield lies the historic Dashilar shopping street and the Qianmen area, full of old shops, snacks and atmosphere, easily added to the day. Together these make a wonderful exploration of the traditional southern districts that many visitors overlook in favour of the imperial core. See our Fayuan Temple guide and our Dashilar shopping street guide to plan the pairing, and the full Beijing temples and spiritual sites guide for the wider picture.

Most people who come out to Guang’anmennei are here for more than the architecture — they want to know where the mosque fits into a whole trip. Our guide to eating and praying your way around Beijing as a Muslim visitor takes the quarter as a starting point and works outwards: how the qingzhen sign works in place of certification, which halal restaurants are worth crossing the city for, where the other central mosques are, and what the airports do and do not provide.

Niujie Mosque FAQ

What is the Niujie Mosque?

It’s the oldest and largest mosque in Beijing, founded in 996 AD, at the heart of the historic Niujie (“Ox Street”) Muslim quarter. It’s famous for its unique architecture — built in the style of a traditional Chinese temple, but serving Islamic worship and decorated inside with Arabic calligraphy and Islamic ornament.

Can non-Muslims visit?

Non-Muslims can generally visit the mosque grounds and admire the architecture, courtyards, moon tower and steles, but the prayer hall is reserved for Muslim worshippers. Dress modestly, behave respectfully, avoid prayer times, and ask before photographing people. Note the mosque has been under renovation, so check current access.

Is the mosque open during renovation?

The mosque has been undergoing major conservation works, during which services were suspended and access to parts of the site may be limited or closed, with normal operation expected to resume once the project finishes. Always check the latest status before planning your visit.

What food should I try in the Niujie quarter?

The area is famous for halal northern Chinese food: braised and roasted lamb and beef, hand-pulled noodles, lamb skewers and rich soups, plus celebrated Hui Muslim snacks and pastries — sticky sweets, fried dough treats and sesame breads from historic shops. A halal lunch here is a highlight.

How do I get to Niujie?

Take subway Line 7 to Guang’anmennei station and walk south about 5–10 minutes. The mosque is at No. 88 Niujie Street in Xicheng District, in the south of the old city, within walking distance of Fayuan Temple.

How long should I spend there?

Allow one to two hours for the mosque and a wander through the Muslim quarter, plus extra time to eat. Pairing it with the nearby Fayuan Temple and a halal lunch makes a satisfying half-day in the old southern city.

The bottom line on Niujie Mosque

The Niujie Mosque and its surrounding quarter offer one of Beijing’s most distinctive and overlooked experiences — a thousand-year-old mosque built in the guise of a Chinese temple, at the heart of a living Hui Muslim community famous for its wonderful halal food. It’s a vivid reminder of the cultural diversity woven through the capital’s history. Come to admire the unique architecture, wander the food street, and sample the snacks and roast lamb, but visit thoughtfully: dress modestly, respect the worshippers, and check the current renovation status before you go. Paired with nearby Fayuan Temple, it makes a memorable half-day in a side of Beijing few travellers ever see.

Combine it with the Fayuan Temple and the historic Dashilar shopping street, and see the full Beijing temples and spiritual sites guide. First time in the city? Start with our overview of what a Beijing trip involves.

© 2026 Beijing Tourism Guide

北京 · 39.9042° N, 116.4074° E