Short answer
Ten days buys you the seven-day triangle plus a fourth city, and the best fourth city for a first visit is Chengdu — pandas, hotpot and a slower pace after two weeks of monuments. The shape that works is Beijing 3 nights, Xi'an 2, Chengdu 2, Shanghai 3, running west and ending where the international flights are.
Three of the four legs are high-speed trains: Beijing–Xi'an in about four hours, Xi'an–Chengdu in three to four and a half, and the final link is the exception. Chengdu to Shanghai by rail is 10.5 to 14 hours, so fly it — the flight is roughly three hours and costs less than a wasted day. Everything books on 12306 except that flight.
The trip fits neatly inside the 240-hour transit visa-free window (10 days) if your nationality qualifies and you are travelling onward to a third country, and inside the 30-day unilateral visa-free window if you hold a passport from an eligible country. Check both against the official list before booking flights — the conditions are strict and the lists change.
The shape of ten days
Two of these days are mostly travel. That is deliberate: the train legs are scenic, and a plan that pretends otherwise is the reason people come home exhausted.
| Day | Where | What |
|---|---|---|
| 1 | Beijing | Arrive, Tiananmen area, hutong dinner, early night for jet lag |
| 2 | Beijing | Forbidden City and Jingshan in the morning, Temple of Heaven in the afternoon |
| 3 | Beijing | Great Wall at Mutianyu — cable car up, toboggan down |
| 4 | Beijing → Xi'an | Morning train; City Wall by bike, Muslim Quarter in the evening |
| 5 | Xi'an | Terracotta Army half-day, then the Big Wild Goose Pagoda or the history museum |
| 6 | Xi'an → Chengdu | Mid-morning train through the Qinling mountains; hotpot on arrival |
| 7 | Chengdu | Panda base at opening, People's Park teahouse, Jinli Street |
| 8 | Chengdu → Shanghai | Morning flight; the Bund after dark |
| 9 | Shanghai | Yu Garden early, then Pudong's skyline or the Shanghai Museum |
| 10 | Shanghai | Former French Concession, or a day trip to Zhujiajiao or Hangzhou |
Beijing — days 1 to 3
The Forbidden City needs a booking made exactly seven days ahead at 20:00 Beijing time, is closed all day on Mondays except public-holiday Mondays, and has no same-day tickets. Enter at the Meridian Gate, exit at the north gate, then cross to Jingshan Park for the view back over the roofs.
Keep the Great Wall on its own day. Mutianyu, about 73 km northeast of the city, is well restored, much quieter than Badaling and served by an enclosed cable car with a toboggan descent, the toboggan has age rules and closes in winter, so check on the day. Day 3's leftovers, the Summer Palace, the hutongs around the Drum Tower, fill any gap.
Xi'an, days 4 to 5
Xi'an North is 12–15 km north of the walled centre and connects to the metro; allow 30–45 minutes from platform to hotel. Ride the Ming city wall, then eat your way through the Muslim Quarter.
The Terracotta Army is 40 km east at Lintong and deserves five to six hours on site plus two to three hours of travel. One ticket covers the pits and Lishan Park, ticketing is real-name and passport-linked, and there are no on-site ticket windows, book online. Doors open at 08:30; the first hour and the last hour are the quiet ones.
Chengdu, days 6 to 7
Why Chengdu earns the fourth slot
It is the one city on this route where the day does not revolve around a monument. The pace is slower, the food is the best-value eating in China, and the pandas give children, and most adults, something no temple can match.
The panda base, done properly
The Chengdu Research Base of Giant Panda Breeding opens its morning session at 7:30 from March to October (8:00 from November to February). Pandas are crepuscular: they eat and play in the cool of the early morning and sleep through the afternoon, so the golden window is roughly the first two hours. Admission is by online real-name reservation, released up to 14 days ahead, and the gate does not sell same-day tickets. Children under 6 or under 1.3 m, and visitors aged 60 and over, are exempt from reserving.
- Book the morning session, not the afternoonTwo sessions are sold: morning and afternoon. The afternoon session means watching sleeping pandas.
- Arrive before opening, not at 9:30The site enforces real-time crowd control and holds people outside when the number inside peaks.
- Go straight to the nursery and sub-adult enclosuresThen work back through the adult zones. The grounds are large and partly uphill.
- Metro Line 3 to Panda Avenue, then the shuttleThe shuttle runs to the south gate; a paid sightseeing shuttle inside the park shortens the walking.
Day 7 afternoon: a teahouse in People's Park, then Jinli Street or the Wide and Narrow Alleys for dinner. If you would rather see a big sight, the Leshan Giant Buddha is a full day out.
Shanghai, days 8 to 10
Fly Chengdu–Shanghai in the morning and you have the evening free for the Bund, which is free, open at all hours and best after dark. Day 9: Yu Garden at opening, then Pudong's towers or the Shanghai Museum, observation decks are timed-ticket attractions, so buy ahead and pick a clear day. Day 10 is the neighbourhood day: the plane-tree streets of the former French Concession, or a metro trip to the canal town of Zhujiajiao.
The four legs
| Leg | Stations | Time | Book how |
|---|---|---|---|
| Beijing → Xi'an | Beijing West → Xi'an North | About 4h 10m fastest; 4h 10m–6h typical | 12306; ~1,216 km |
| Xi'an → Chengdu | Xi'an North → Chengdu East | 3h–4h 30m | 12306; more than 40 direct trains a day, window opens 15 days ahead |
| Chengdu → Shanghai | Airport to airport | About 3–3.5h in the air | Airline or agent — the rail alternative takes 10.5–14h |
| Shanghai → Beijing (if you reorder) | Beijing South ↔ Shanghai Hongqiao | About 4h 18m | 12306; 45–50 G-trains a day |
Second class is the standard fare and fine for all of these. Exact prices float with the train and the date, so check on 12306 rather than budgeting from an old figure.
Booking order
| What | When | Why it matters |
|---|---|---|
| Forbidden City | 7 days ahead, 20:00 Beijing time | Capped quota, no same-day tickets |
| Panda base | Up to 14 days ahead; morning session | Daily cap, no same-day tickets, morning sells out first |
| Trains | As soon as dates are fixed | Rolling release measured in weeks |
| Terracotta Army | A few days ahead | Real-name, passport-linked, no ticket windows |
| Chengdu–Shanghai flight | With your international flights | Prices rise closer in; luggage rules differ from rail |
| Hotels that register foreign guests | Before flights | Not every Chinese hotel can take a foreign passport |
If you have fewer or more days
- Eight days: drop Chengdu and keep the seven-day triangle, or keep Chengdu and cut Shanghai to two nights.
- Twelve days: add Hangzhou (45 minutes from Shanghai) or Suzhou, both easy rail day trips or overnight stops.
- Fourteen days: swap Shanghai's third night for Guilin and Yangshuo, where the Li River cruise and the karst countryside are the point.
- Adventure instead of cities: Zhangjiajie's pillar landscapes or Yunnan are their own trips, not add-ons.
Frequently asked questions
Is 10 days too long for four cities?
No, but only if you accept two travel days. Each city gets two to three usable days, which is the minimum for a place with a headline sight plus a neighbourhood. Adding a fifth city is what breaks the trip.
Should I fly or take the train from Chengdu to Shanghai?
Fly. The high-speed route takes 10.5 to 14 hours and the flight is about three to three and a half. If you want to avoid flying entirely, drop Chengdu and use the all-rail Beijing–Xi'an–Shanghai route instead.
When should I book the panda base?
As early as the reservation window allows; it opens up to 14 days ahead, tickets are real-name and the gate sells none on the day. Take the morning session: pandas are active in the first two hours and asleep by early afternoon.
Do I need a visa for a 10-day trip?
Depends on your passport. Citizens of a long list of countries can enter visa-free for up to 30 days, and the 240-hour transit waiver covers 10 days for a wider list of nationalities but only if you are travelling on to a third country. Verify against the National Immigration Administration before booking.
Which city should I cut if something goes wrong?
Chengdu, because it is the only leg that needs a flight. Beijing, Xi'an and Shanghai are all on one continuous high-speed line, so a three-city version of this trip can be rearranged on 12306 in minutes.
Is Chengdu worth it with children?
It is usually the highlight. The panda base opens early, children's tickets are cheap or free at Chinese attractions, and the food is easy to order in pictures. See our family guide for the practical side.
What does this itinerary cost in train fares?
Fares are dynamic and change with the train and date, so any figure you read is out of date quickly. As a shape: three second-class high-speed tickets plus one domestic flight. Check live prices on 12306 and the airline's own site.
When should I avoid this route?
Chinese New Year and the first week of October. Attractions hit capacity, train tickets vanish within minutes of release and hotel prices spike. Shoulder seasons, April to May and September to October, are the best compromise.
Related reading
Rail times, distances and frequencies follow China Railway route data as published by TravelChinaGuide, Trip.com and China for Travelers; Shanghai–Chengdu rail and air durations follow the same sources. Panda base hours, sessions, pricing, reservation window and exemption rules follow the Chengdu Research Base of Giant Panda Breeding's own visitor pages. Forbidden City booking rules follow the Palace Museum's visitor notice. Train timetables, fares and reservation windows are revised regularly, confirm on 12306 and on each attraction's official channel before you rely on them.