Hidden deep in the mountains of Yunnan Province, Yanjin is a beguiling town that boasts the honor of being the narrowest city in the world.
The town is stretched out in a single line along the Nanxi River for quite a few kilometers, wedged in between two towering mountain ranges, which makes the place visually striking and quite unusual.
If you’re attracted to the rugged landscape, its traditional culture, or simply the food, Yanjin is one of the most unconventional places to visit in China.
Unique Geography: The Narrowest City in the World
Location
1. Location in Yunnan Province
Yanjin is in the northeast of Yunnan Province, in China.
It’s in Zhaotong Prefecture, which is famous for its mountains and local culture.
The city’s location near the border of Sichuan Province means it serves as a gateway between the two areas.
2. Nestled in the Mountains
Yanjin is located in a deep cleft between towering mountain walls and cliffs that soar up on both sides of the Nanxi River.
The town is long and thin, stretching out along the valley, and has a ribbon-like shape.
The mountains affect the layout of the town and serve as a barrier against bad weather, giving the area a much milder and stable climate.
3. Situated Along the Nanxi River
Yanjin is built along the banks of the Nanxi River, a tributary of the Jinsha River, which is part of the larger Yangtze River system.
The river has been instrumental to the town’s past and present. It has acted as a way to transfer goods, and specifically salt, for hundreds of years.
The Nanxi River adds to the town’s scenic charm, creating a picturesque contrast between the flowing water and the towering cliffs.
Latitude and Longitude
Geographically, Yanjin is positioned at approximately:
Latitude: 28.2° N
Longitude: 104.2° E
The proximity places Yanjin in a subtropical climate, giving the area a temperate climate and vibrant vegetation around it.
Proximity to Major Cities
Yanjin is relatively close to several important cities, making it accessible despite its secluded location:
1. Kunming
The provincial capital and transportation hub, located about 430 kilometers to the southwest.

2. Zhaotong
A larger city with more services and transport options is located about 150 kilometers to the south.
3. Chongqing
Located around 450 kilometers north and east, it is one of China’s largest cities.
Terrain Environment
1. High-Altitude Terrain
The town is located at an elevation of 800–1,200 meters (2,625–3,940 feet).
However, the mountainous geography also helps form the narrow nature of the town and has the beneficial side effect of making the climate cooler and the soil more fertile, supporting local agriculture.
2. Ecological Environment
Yanjin’s surroundings are comprised of a rich ecosystem, with foliated hills and mountains as far as the eye can see.
The river also sustains local wildlife and is a source of irrigation for the region, supporting the area’s sustainability.
Top Attractions in Yanjin
1. Nanxi River
The Nanxi River is Yanjin’s lifeline and you can take a boat tour along it and soak up the views of the city squeezed into this narrow stretch of the valley.
2. Ancient Salt Wells
Explore the old salt wells that highlight Yanjin’s rich salt production history.
These wells offer insight into the ancient techniques used to extract and refine salt, a practice that sustained the local economy for centuries.
3. Yanjin Old Street
Take a walk around Yanjin Old Street to see historic buildings, explore a few stores, and sample some Yunnanese snacks.
There are a few historic buildings on the street with a good story to tell.
4. Yanjin Suspension Bridge
To get a full view of the city, you can do a short detour across the Yanjin Suspension Bridge.
The view of the narrow city and mountains is spectacular and one of the best photography spots in the city.
Yanjin’s Local Cuisine: A Taste of Tradition
1. Salted Chicken
Given that the history of Yanjin is closely linked to the production of salt, salted chicken is a dish that you simply can’t miss.
The chicken is marinated with salt, which has been collected from the local salt production. The method makes for a very flavorful and aromatic dish!
2. Rice Noodles (Mixian)
Mixian (rice noodles) is one of the most popular dishes in Yunnan and consists of soft rice noodles topped with vegetables and a flavorful stock soup.
It makes for a great meal after a long day of sightseeing.
3. Grilled Fish
Dishes from the Nanxi River like grilled fish are also popular. This dish is made with fish caught fresh and seasoned with various herbs and spices.
How to Get to Yanjin
1. By Air
The closest major airport is Kunming Changshui International Airport. From Kunming, you can catch a bus or train to Yanjin (5-6 hours).
2. By Train
Yanjin is accessible by train via the Kunming-Chongqing railway line, offering a scenic ride through the mountains and valleys of Yunnan Province.
Best Time to Visit Yanjin
1. Best Overall Time: September to November
Why: Fall has ideal weather, beautiful landscapes, and fewer crowds.
Ideal for: Nature-lovers, photographers, cultural enthusiasts.
2. Avoid Peak Rainy Season (July to Early August)
Why: While summer is manageable, July and early August tend to have heavy rainfall.
Challenges:
Rivers get higher & paths can be treacherous.
Occasional flooding can disrupt travel plans.
3. Special Considerations for Festivals and Events
Spring Festival (January/February): Experience vibrant local celebrations and cultural performances.
Mid-Autumn Festival (September/October): Enjoy traditional mooncakes and witness local customs.
FAQ
1. Why is Yanjin called the “narrowest city in the world”?
As the Nanxi River winds its way through Yanjin, the city is only 30–300 meters wide, which is the thinnest urban area in the world.
2. Are there hotels or guesthouses in Yanjin?
Yanjin does have budget guesthouses and riverside inns for a comfortable stay.
3. Is Yanjin safe for tourists?
Yanjin is safe to visit as a traveler. The locals are friendly and the town is pretty laid back.
4. Can I explore Yanjin on foot?
Yes, Yanjin’s small enough to navigate by foot.
5. Out of all the towns in China, what makes Yanjin so different?
Yanjin’s narrow alleyways, history as a salt-trading center, and riverside landscape combine to create a unique place.
Conclusion
Yanjin, China, is an underrated town that has a little bit of everything: stunning landscapes, historic nature, and cultural treasures.
So, whether you’re interested in strange landscapes, learning about ancient salt, or just want to eat the local food, Yanjing will certainly keep you entertained.
If you’re looking for an under-the-radar destination in China, consider adding Yanjin to your itinerary.