Lokali
Niujie Mosque
Free audio guide

Niujie Mosque

39.8844° N · 116.3581° E · Mosque

Photo: User:Vmenkov · CC BY-SA 3.0 · Wikimedia Commons

Niujie Mosque is a mosque in Beijing. Oldest and largest mosque in Beijing, in Xicheng District. The free Lokali audio guide runs 7 minutes.

✓ Published October 2026 · how we write these guides

At a glance

Visitor facts

Lokali audio guide7 min · free
TypeMosque
LocationBeijing, China
Coordinates39.8844, 116.3581
Languages50+, in the Lokali app
The guide

The story

Listen for a moment. Out on the street, there is the hiss of a grill and the smell of cumin and roasting lamb. Then you pass through the gate, and the noise softens. Grey roof tiles sit over red wooden pillars. Painted beams glow in green, blue and gold. At first glance, this looks like a Chinese temple. Look again, and you will see Arabic script curling across the woodwork. You are standing in Niujie Mosque, the oldest and largest mosque in Beijing.

The name means "Ox Street," after the road outside. This corner of the Xicheng District, in the southwest of the old city, has been home to Hui Muslims for centuries. The Hui are Chinese-speaking Muslims. Many trace their ancestry to Arab, Persian and Central Asian traders and soldiers who settled in China long ago. Over generations, they married into local families and adopted the Chinese language. But they kept their faith. This mosque has been the centre of their community life for a very long time.

How long, exactly? Tradition says the mosque was first founded in 996, during the Liao dynasty, when northern China was ruled by the Khitan people. That date comes from community tradition, and historians treat it with some caution. What is clearer is that the buildings you see today date mainly from the Ming and Qing dynasties. The complex was rebuilt in the fifteenth century and enlarged in the late seventeenth century. Repairs and restorations have continued since then.

Here is the first surprise. There is no tall, slender minaret and no great onion dome. Instead, the builders used the language of Chinese architecture. They built wooden halls with upturned eaves, courtyards on an axis, and roofs with glazed tiles. This was not a disguise. It was simply how buildings were made here. Carpenters used the methods they knew. The result is a mosque that is fully Islamic in purpose and fully Chinese in form.

Notice the small tower near the entrance. It is called the Moon-Viewing Tower. For a Muslim community, the moon matters. The Islamic calendar is lunar, so the start of each month depends on sighting the new crescent. The beginning and end of Ramadan, the month of fasting, are set this way. Imams would climb this tower to look for the thin silver curve in the western sky. Then they could tell the community when the fast should begin or end.

Further inside, you will find another tower, with a hexagonal plan and a pointed roof. This one served the role of a minaret. From here, the call to prayer went out five times a day. Picture the sound rising over low courtyard houses and narrow lanes, long before traffic and loudspeakers. Today it is quieter. But the structure still marks the heart of the complex, standing between the courtyards like a small pavilion.

The main prayer hall faces west. That is the second surprise for many visitors. In a classic Chinese layout, the main hall usually faces south. Here the orientation turns, because Muslims pray toward Mecca, and from Beijing, Mecca lies to the west. So the worshippers face west, and the whole sacred direction of the building follows that line. Inside, the hall is a forest of red columns. Arabic calligraphy and floral patterns in gold cover the beams and arches.

Please be aware that the prayer hall is a working space for worship. Non-Muslim visitors are usually asked not to enter it. You can often look in from the doorway, if the doors are open and no prayer is taking place. Stay quiet and keep a respectful distance. Five times a day, the courtyard fills with men coming to pray. Women pray in their own separate area. Watching this daily rhythm is part of understanding the place.

Now, walk toward the southeast corner of the complex. There, in a small courtyard, are two tombstones. They belong to two Muslim scholars from western Asia who came to teach here during the Yuan dynasty, in the thirteenth century. This was the era when Mongol rulers controlled China, and travel across Asia was busy. The stones carry inscriptions in Arabic script. They are quiet evidence that this community had links to the wider Islamic world many centuries ago.

Look also for an old stone tablet with an imperial edict. Locals tell a story about it. According to the popular tale, someone once accused the Muslims of Ox Street of plotting a rebellion. The Kangxi Emperor, who ruled in the late seventeenth century, investigated in person. He found the accusation false and issued an edict to protect the community. The details of the story vary from teller to teller. But the tablet remains, and the story is still told with pride.

Step back and look at the decoration as a whole. Islamic tradition generally avoids images of people and animals in places of worship. So the craftsmen here used flowers, vines, geometric patterns and words. Chinese painting styles meet Arabic letters on the same beam. Some inscriptions are in Chinese characters, some in Arabic. Two writing systems, side by side, carry the same faith. It is one of the clearest examples of cultural meeting anywhere in Beijing.

When you leave, give yourself time for Ox Street itself. The road outside is lined with halal shops and restaurants. You will smell lamb skewers, sesame bread and sweet pastries. Halal butchers sell beef and mutton. Families buy snacks for the evening. In the past, much of this neighbourhood was made of old courtyard houses. Many have been replaced by newer buildings, but the community and its food remain the living centre of the area.

Before you go, pause once more in the courtyard. Look up at the curved eaves against the sky. Listen to the soft sound of footsteps on stone, and perhaps a quiet greeting between two older men. This mosque has seen dynasties rise and fall. It has seen the city around it change almost beyond recognition. And still, the moon is watched, prayers are said, and the gate opens onto Ox Street. Take that calm with you as you walk back out into the city.

Good to know

Key facts

Oldest and largest mosque in Beijing, in Xicheng District.
Tradition dates its founding to 996, Liao dynasty.
Current buildings date mainly from Ming and Qing dynasties.
Holds tombs of two thirteenth-century Muslim scholars.
Centre of Beijing's Hui Muslim community for centuries.
Look closer

What to look for

The Moon-Viewing Tower used to sight the crescent moon.
Arabic calligraphy painted across red and gold beams.
Two Arabic-inscribed tombstones in the southeast courtyard.
The main prayer hall facing west toward Mecca.
Stone tablet linked to the Kangxi Emperor's edict.
Before you go

Practical tips

Wear modest clothing covering shoulders and knees.
Avoid visiting during Friday midday prayers if possible.
Stay outside the main prayer hall unless invited.
Try halal snacks on Ox Street after your visit.
Keep voices low and ask before photographing worshippers.
Questions

Common questions

Is there a free audio guide to Niujie Mosque?

Yes — the Lokali app narrates Niujie Mosque free of charge in 50+ languages. The guide runs about 7 minutes, covers the history, what to look for on site and practical tips, and works offline once downloaded.

Where is Niujie Mosque?

Niujie Mosque is in Beijing, China, at 39.8844, 116.3581. Tap the map link on this page for directions from where you are.

What is Niujie Mosque known for?

Oldest and largest mosque in Beijing, in Xicheng District. Tradition dates its founding to 996, Liao dynasty.

What should you look for at Niujie Mosque?

The Moon-Viewing Tower used to sight the crescent moon. Arabic calligraphy painted across red and gold beams. Two Arabic-inscribed tombstones in the southeast courtyard.

What should you know before visiting Niujie Mosque?

Wear modest clothing covering shoulders and knees. Avoid visiting during Friday midday prayers if possible.

Location

On the map

Opens directions to Niujie Mosque from your location.

Nearby

More to see in Beijing

Beijing →
Free · 50+ languages · offline

Hear Niujie Mosque in your language

The full story, narrated, in 50+ languages. Download it before you go and it plays offline, at your own pace, with no ticket and no tour group.

Google PlayGet the app