10-Day Transit Itinerary: Beijing to Shanghai Without a Visa
Route ideas for the 240-hour visa-free transit — enter one city, exit another, with day-by-day plans, rail links and the third-country ticket rule.
OpenStreetMap Google Maps (opens externally)
If your country isn’t on China’s visa-free list, the 240-hour transit scheme can still buy you 10 full days — here’s how to shape a route that makes the most of it.
The 240-hour transit policy is a visa-free door into China for travelers holding an onward ticket to a third country. For citizens of the roughly 55 eligible countries — including the US — it turns a long layover into a genuine 10-day trip across multiple provinces. The trick is routing it properly.
How the scheme shapes your trip
- You get up to 10 days in mainland China, no visa.
- You can travel across provinces — you’re not confined to one city.
- Enter and exit through different ports, which enables open-jaw routes.
- The non-negotiable: a confirmed ticket onward to a third country within 240 hours. A round trip to where you came in (say, Hong Kong → Shanghai → Hong Kong) does not qualify.
Route idea A: Beijing → Xi’an → Shanghai (10 days)
This is the highest-value transit itinerary — three of China’s greatest cities on one open-jaw booking.
- Days 1–3 — Beijing. Forbidden City and Tiananmen, the Great Wall at Mutianyu, Temple of Heaven and hutongs. Book Forbidden City tickets online in advance.
- Day 4 — Train to Xi’an. ~4.5 hours by high-speed rail. Evening walk on the illuminated city wall.
- Day 5 — Terracotta Army. One hour outside the city; go early. Muslim Quarter for dinner.
- Day 6 — Train to Shanghai. ~5 hours. Evening on the Bund as the skyline lights up.
- Days 7–9 — Shanghai. Yu Garden and old town, French Concession, Shanghai Museum, and a slow day for a water-town or museum visit.
- Day 10 — Fly out of Shanghai to your third country.
Fly into Beijing, fly out of Shanghai — the scheme loves exactly this shape. This route works because the rail legs between cities are short enough to keep most days full but relaxed, and the 240-hour window covers three cities comfortably even if you travel at a slower pace. If you’d rather spend more time in one place, the same open-jaw structure works as a Beijing-to-Shanghai one-way with extra days in whichever city you prefer.
Route idea B: Shanghai → Hangzhou (4–6 days)
A shorter, rail-only transit that pairs China’s most modern city with its most classical scenery.
- Days 1–2 — Shanghai. The Bund, Yu Garden, French Concession.
- Day 3 — Train to Hangzhou. About 1 hour by high-speed rail. Afternoon at West Lake.
- Day 4 — Hangzhou. Lingyin Temple, a lake-side walk or boat, Longjing tea village.
- Days 5–6 — Return to Shanghai and fly out, or extend Hangzhou’s teahouse life if your window allows.
Route idea C: Guangzhou → Chengdu (flexible)
For southern arrivals, Guangzhou (or Shenzhen) pairs a Cantonese food city with panda country: start with dim sum and the old concession lanes, then fly west to Chengdu.
- Days 1–2 — Guangzhou. Cantonese dim sum, Shamian Island, Canton Tower.
- Days 3–4 — Fly to Chengdu. Panda base at opening, People’s Park teahouse, Sichuan food.
- Days 5–6 — Chengdu and out. Kuanzhai Alley, a hotpot meal, then fly onward to your third country.
Booking your onward ticket
- Book and pay for the onward ticket before you arrive; a hold is riskier at the border.
- Keep it within 240 hours of your planned entry — the safest reading is 10 calendar days.
- Print or screenshot it — border officers may ask to see it at check-in and immigration.
- Make it genuinely onward — to a third country, not back to where you entered from.
The checklist before you fly
- Confirm your nationality is in the ~55-country eligible list.
- Book the entry and exit flights (different cities is best).
- Book the onward ticket to a third country within 240 hours.
- Book hotels and long-distance rail in advance — trains with your passport.
- Set up Alipay with a foreign card and buy an eSIM before you land.
- Double-check the rules on the 240-hour transit guide just before departure — port lists change.
The traps that get people refused
- Same-country round trips. Your destination after China must be a third country, not the place you arrived from.
- Running the clock down. Give yourself a full day of buffer inside the 240 hours.
- Unconfirmed tickets. A booking reference on hold is weaker than a paid ticket when an officer asks.
- Assuming it’s the same as visa-free entry. The 240-hour transit and the 30-day visa-free scheme are separate rules with separate requirements — if you qualify for visa-free entry, that’s usually the better option.
Budgeting the transit trip
The 240-hour scheme saves you the visa fee, but the trip itself is a normal China budget. Plan roughly ¥400–600 per person per day all-in before international flights (estimates — prices change), covering hotels, the rail legs between cities, food and entry fees. The Beijing–Xi’an and Xi’an–Shanghai trains are the notable fixed costs, so book them as early as you can. Food and local transport stay cheap — street-food meals run well under ¥50, and the metro is a few yuan a ride — and hostels or budget business hotels keep beds far below Western prices. Internal flights in China are competitive too, so a one-leg flight (say Xi’an to Shanghai) is a reasonable alternative to a long train day. The one line not to trim is your onward ticket: it has to be confirmed and genuinely onward, so treat it as a fixed, non-negotiable cost rather than something to optimize away.
What to pack and prep
Because the clock starts at immigration, the fewer loose ends the better. Pack light for quick station transfers, carry your onward ticket printed or on your phone, and keep your hotel confirmations handy — an officer may ask to see a rough itinerary. Set up Alipay with your card and buy an eSIM before you land so you’re connected and paying from minute one, and install a VPN if you’ll want Western apps. Bring a translation app, a power bank, and your passport everywhere, since rail and sights run on real-name checks. Most useful of all is a one-page itinerary with your entry and exit flights, onward ticket and hotel list, written out in both English and Chinese — plus a printed copy of the eligibility list showing your country, in case a check-in agent is unsure.
Pacing and backup days
Treat the 240 hours as ten calendar days with a buffer, never as a race to the final hour. Keep transfer days light — the Beijing–Xi’an and Xi’an–Shanghai legs each eat half a day, so plan one easy activity around them. Build in a slack day toward the end, not the start, so a delayed train or a slower sightseeing pace never pushes you against the deadline. If anything threatens the window, drop the optional day trip, not the exit flight. Arrive with the onward ticket already paid for — a mere “hold” is the single most common refusal trigger. And re-check the eligible-port list and the scheme’s current rules just before you fly — these are the details that change most often, and a five-minute check beats an argument at the border.
Last updated: August 2026. Transit rules and port lists change frequently — confirm before you go.
Frequently Asked Questions
What is the 240-hour transit scheme, exactly?
It's China's visa-free transit policy: eligible travelers can stay in mainland China for up to 240 hours (10 days) without a visa, provided they hold a confirmed ticket onward to a third country or region within that window. It covers multiple provinces and lets you enter and exit through different ports. See the full visa guide for the country list.
Which routes work best for a 10-day transit trip?
Open-jaw routes get the most out of it. Arrive in Beijing, travel overland to Xi'an and Shanghai, and fly out of Shanghai — that's three cities on one ticket. Or do Shanghai–Hangzhou for a shorter, rail-only stay. The key is that your departure must be to a third country, not back to where you came in.
What counts as a 'third country'?
Any country or region other than the one you entered from and the one your passport belongs to. So Hong Kong → Shanghai → Seoul qualifies, but Hong Kong → Shanghai → Hong Kong does not, because you'd be returning to the same entry area. Your onward ticket must be confirmed and within 240 hours.
Do I need to enter and exit through the same city?
No — that's one of the scheme's biggest advantages. You can fly into Beijing and fly out of Shanghai, or enter through Shanghai and exit via Guangzhou, as long as both are eligible ports and you hold a valid onward ticket to a third country.
How is the 240 hours counted?
Practice varies by port — some count from the moment of entry, others from the day after. The safe approach is to treat it as 10 calendar days and keep a buffer rather than cutting it to the hour. Build in an extra day of slack so you're never running against the clock.
What documents do I need at the border?
Your passport, a confirmed hotel booking (or rough plan), and the onward ticket to a third country within 240 hours. You may be asked to show the onward ticket at check-in, at immigration, or both. Have it printed or easily accessible on your phone, and be ready to state your itinerary.