On Day 5, we drove from Guazhou to Jiayuguan. We climbed the steep stone steps of the Overhanging Great Wall and looked out over the Gobi and toward the distant Qilian Mountains. Then we toured Jiayuguan Fortress, stepped outside Rouyuan Gate for photos, and found the legendary Fortress-Setting Brick.
From Guazhou to Jiayuguan
Today we were driving from Guazhou to Jiayuguan, with stops at the Overhanging Great Wall and Jiayuguan Fortress along the way.
Climbing the Overhanging Great Wall
The Overhanging Great Wall is an important part of Jiayuguan’s larger defense system.
As we drove closer, we saw a stretch of wall winding up the mountain, like an arm hanging over the cliff.

Once past the ticket gate, we started up the stone steps. Looking up, I could see the wall hugging the ridge almost straight to the summit. The steps were steep. By my estimate I climbed more than 500 of them, and by the end I was out of breath and my heart was racing. Then I stood at the top of the wall and looked back at Jiayuguan Fortress, the Gobi, and the distant Qilian Mountains. It immediately felt worth it.


Going downhill was much easier. At the foot of the mountain, we stopped for something cold and chatted with the woman who ran the stand. She said it rarely rains there. Even when it does, it’s usually just a drizzle, often too light to really wet the ground. You hardly need an umbrella. I asked where people got their water, and she said it came mainly from snow and ice melting in the Qilian Mountains.

Exploring Jiayuguan Fortress
Our next stop was the best-known sight of all, Jiayuguan.
Jiayuguan Fortress, known as the “First and Greatest Pass Under Heaven,” was founded in 1372, the fifth year of the Ming Hongwu reign. It stands at the narrowest point of the Hexi Corridor, on a crucial route from China’s Central Plains to the Western Regions. It was the heart of Jiayuguan’s defense system.
I’d always wondered why Jiayuguan was built when Yumen Pass and Yang Pass already existed. After looking it up, I learned that Yumen and Yang passes date to the Han dynasty. By the Ming, Jiayuguan had become a key western stronghold in the territory the dynasty governed directly. The Ming also established guards beyond the pass in places such as Dunhuang, administering them indirectly through local leaders. The purpose of building Jiayuguan was to hold the Hexi Corridor and defend the Central Plains to its east.
After more than 650 years of wind and rain, Jiayuguan is still well preserved. We began at the East Gate and made our way to Rouyuan Gate. In the past, travelers and merchants coming from the Western Regions would pass through the fortress and leave by the East Gate, entering the heart of the Hexi Corridor.

The gates aren’t lined up. Once through one, you have to turn a few times before reaching the next. My guess is that the layout made it harder for attackers to charge straight through.

After winding our way through the fortress, we finally reached Rouyuan Gate at the western end. This was an important exit for travelers and merchants leaving the Central Plains for the Western Regions. Once through it, we could say we’d gone “beyond the pass,” too, so we took photos to mark the occasion.

Looking for the Fortress-Setting Brick
But we had one more mission at Jiayuguan: finding the famous Fortress-Setting Brick.
Legend has it that when the fortress was being built in the early Ming dynasty, an official asked Yi Kaizhan, the craftsman who designed it, how many bricks he would need. Yi said 99,999. The official didn’t believe him, so they agreed he would be punished if he was off by even one brick in either direction. When the fortress was finished, exactly one brick was left over. Yi explained that it was a gift from the immortals and could not be moved. The official had nothing to say to that. People later came to call it the Fortress-Setting Brick.
So we went back inside the walls to look for it. After asking around and searching several times, we finally spotted the inconspicuous brick on the ledge beneath the rear eaves of Huiji Gate, the gate tower of the western barbican.

Finally, we went up onto the gate tower. Looking down, we could see a huge square inside the walls, the drill ground. I imagined soldiers practicing there in peacetime so they would be ready to defend their home and country.

Dinner in Jiayuguan
By dusk we were tired and ready for dinner at Jialan Shengyan, a halal restaurant. Our server was so young he looked like a high school student, and his features were different from those of the young Han Chinese people I usually meet. We asked him, and he said he was Hui, though people often told him he looked Uyghur, from Xinjiang. We could see what they meant.
His Mandarin sounded a little stiff, but he smiled the whole time, and we all liked him.
We tried hand-torn lamb, the most delicious lamb I’d had on the trip. The tomato beef was very good too, a little like borscht.

As we were leaving, we saw the young server helping an elderly woman down the stairs, taking it slowly with her. We all gave him a thumbs-up.
From the Overhanging Great Wall to the First and Greatest Pass Under Heaven, from the legend of the Fortress-Setting Brick to that kind young server, what stayed with me about Jiayuguan was the grandeur of its frontier defenses and the warmth of the city. We carried that good impression with us as we looked forward to the next day’s journey.
📍 Where we stayed and how we got around
Accommodation: Orange Hotel Jiayuguan
Transportation: We drove from Guazhou to Jiayuguan.
Route: Guazhou → Overhanging Great Wall → Jiayuguan Fortress → Jiayuguan
📥 Planning a similar trip? Download your free itinerary below. 🧭
