Search cities, sights, food

Vietnam to China overland: Hekou, Youyiguan and Dongxing (2026)

Cross from Vietnam to China at Lao Cai–Hekou, Friendship Pass–Youyiguan or Mong Cai–Dongxing: border hours, trains to Kunming and Nanning, fares and visa rules.

Checked against official sources: 2026-10-28 · 5 min read · By the Zouzou editorial team

There are three practical ways to cross from northern Vietnam into China: Lao Cai to Hekou for Kunming and Yunnan, the Friendship Pass (Huu Nghi) to Youyiguan for Nanning and Guilin, and Mong Cai to Dongxing on the coast of Guangxi. All three are daytime crossings on foot, with high-speed trains waiting on the Chinese side. If you would rather sleep through it, the international train from Hanoi Gia Lam to Nanning runs every night.

Check the visa section before anything else: none of these land crossings counts for the 240-hour visa-free transit rule.

Visas: what works at a land border

  • 30-day visa-free entry works at every land crossing if your passport is on China’s list. That covers most of the EU, the UK, Switzerland, Norway, Australia, New Zealand, Canada, Japan and South Korea, among others, until 31 December 2026 for most countries. See who gets visa-free entry.
  • 240-hour visa-free transit does not work here. You have to enter through one of 65 designated ports. In Yunnan these are Kunming and Lijiang airports and the Mohan railway port on the Laos border (see Laos–China railway). In Guangxi they are Nanning, Guilin and Beihai airports and Beihai’s passenger seaport. As of October 2026, Hekou, Youyiguan and Dongxing are not on the list. So a US or Mexican passport needs a normal tourist (L) visa to cross from Vietnam. The same goes for Vietnamese citizens: Vietnam joined the 240-hour scheme on 20 August 2026, but only for entry at the designated ports and with an onward ticket to a third country, not back to Vietnam.
  • Neither side issues visas at these crossings. Get yours from a Chinese embassy or visa centre in advance.

Check your passport in our visa checker and read the 240-hour guide if you plan to fly out to a third country.

Leaving Vietnam needs no paperwork beyond a valid visa or visa-free stay. Lao Cai, Huu Nghi and Mong Cai are all on Vietnam’s list of e-visa border gates, so an e-visa holder can exit there. Note that the Dong Dang railway station, used by the international train, did not accept e-visas when the train resumed in 2025, so check before you book the train.

1. Lao Cai to Hekou (Yunnan)

The best route to Kunming, and it pairs well with a few days in Sapa, which is about 34 km from Lao Cai.

  1. Hanoi to Lao Cai. Overnight sleeper trains (SP15, SP3, SP7) leave Hanoi between 21:45 and 22:40 and arrive between 05:20 and 06:30, just under 8 hours. For late October 2026, booking sites list berths at about 1,000,000–1,800,000 VND, depending on the carriage operator. From Sapa it is a short minibus ride down.
  2. The border. From Lao Cai, take a taxi to the international border gate. You walk out of Vietnam, cross the bridge and enter China at Hekou Port (河口口岸). Check current hours locally, and don’t arrive late in the day.
  3. Onward. Hekou North station (河口北站) is a short taxi ride from the port. In October 2026 the C560 leaves at 13:30 and reaches Kunming South (昆明南站) at 18:03, about 4.5 hours, for ¥126. There is also a morning C564 to Kunming station (08:30, about 5 hours, ¥131) and a slower K-train (about 6 hours, ¥90). The C560 carries Vietnamese tour groups every day, so book on 12306 a few days ahead. See our Kunming page.

2. Friendship Pass to Youyiguan (Guangxi)

The most direct way to Nanning and on to Guilin.

By international train. The Hanoi Gia Lam to Nanning sleeper resumed on 25 May 2025 and runs every day. MR1/T8702 leaves Gia Lam at 21:20 Vietnam time and reaches Nanning at 10:06 Beijing time the next morning. You get off the train for exit checks at Dong Dang and entry checks at Pingxiang (凭祥), often in the middle of the night. It is all soft sleeper, four berths per compartment. In 2025 the fare was ¥215 from Nanning and about 1,000,000 VND from Hanoi. Vietnam Railways sells tickets on dsvn.vn, and you collect them at the station with your passport. Through connections to and from Beijing West run on a weekly schedule. Trains sold out at Chinese New Year 2026.

By road. Buses and limousine vans run from Hanoi to Lang Son, then a taxi takes you to the Huu Nghi gate. You walk through both border posts to Youyiguan Port (友谊关口岸). In July 2025 the Vietnamese side reported passenger traffic from 07:00 to 20:00. From Youyiguan, take a taxi into Pingxiang, then a train from Pingxiang East (凭祥东站). The Nanning–Pingxiang high-speed line opened fully on 5 December 2025, and the fastest train to Nanning now takes 1 hour 15 minutes. Several trains run daily to Nanning or Nanning East; check fares on 12306.

3. Mong Cai to Dongxing (Guangxi)

The coastal option, handy for Beihai.

  1. Hanoi to Mong Cai. Limousine vans and buses run from Hanoi through the day; check journey times and fares with the operator.
  2. The border. Walk across the Beilun River bridge (北仑河) into Dongxing Port (东兴口岸).
  3. Onward. Dongxing City station (东兴市站) has high-speed trains to Nanning East (南宁东站) via Fangchenggang North (防城港北站), taking about 1 hour 15 minutes. Second-class fares are typically around ¥80–95, depending on the train.

At Chinese immigration

  • Fill in the arrival card online before you go (NIA website, the NIA 12367 app or the WeChat/Alipay mini programs), or on paper at the port.
  • Foreigners are usually fingerprinted at the e-gate or counter. Officers may ask about your route and hotels, so have a booking ready.
  • Bags are X-rayed.

Money, SIM and apps

  • Get some cash in yuan before you cross. The Vietnamese side has money changers, and the Chinese border towns have bank ATMs, but don’t count on one right at the gate. Set up Alipay or WeChat Pay beforehand. See cash and cards.
  • Google Maps, Gmail and WhatsApp stop working once you cross on a Chinese SIM or Wi-Fi. Install a travel eSIM before you leave Hanoi (best eSIMs) and download Amap or Apple Maps. See using Google and WhatsApp in China.

Timing

  • Avoid holidays on both sides: China’s Golden Week (1–7 October), Chinese New Year and Vietnamese Tet (both on 6 February 2027), and Vietnam’s long weekend around 30 April and 1 May. Over that weekend in 2024, some travellers waited up to seven hours at Lao Cai–Hekou.
  • Cross in the morning. Trains from the border towns sell out on holidays and weekends, and 12306 opens sales 15 days ahead. See how to book train tickets.
  • Border hours change: check them with your hotel or bus operator the day before.
Was this page useful?
Rules here change fastGet one email when China’s entry, payment or booking rules change. Nothing else, and you can stop anytime.

Sources

Checked against these sources on 2026-10-28. Rules change often, so confirm on the official site before you go.

Ask about this page

Stuck on something? Ask here. Our team answers within 24 hours and emails you the answer.

Questions are public (your email is not). We check them before they appear.

Read next

More on Getting around