Quick Answer
For Beijing, Xi’an and Shanghai, allow nine days and eight nights. Fly into Beijing, travel by train to Xi’an and Shanghai, and fly home from Shanghai. The reverse order works if your international flights are better from Beijing at the end.
| Base | Nights | Keep time for |
|---|---|---|
| Beijing | 3 | Forbidden City and Great Wall on separate days |
| Xi’an | 2 | One full day for the Terracotta Warriors |
| Shanghai | 3 | The Bund and one more full city day |
With 11 days, add a fourth night in Beijing and a third in Xi’an. For a round-trip flight, count the return to your original gateway as a separate journey.

Beijing, Xi’an and Shanghai work well together by rail, but the route has two transfers that need their own time. The practical minimum depends on whether you want separate days for Beijing’s landmarks and a full day in Lintong. Plan your nights and exact rail stations before adding extra sights.
This guide uses nine calendar days from international arrival to departure. If you are still choosing which cities to include, start with the first-time China itinerary.
Choose the Best Order for the Three Cities
Put Xi’an between Beijing and Shanghai when flying into one and out of the other. This gives each city one continuous stay. Both directions are workable. Check which end has better flight times, then check the Forbidden City calendar and the day you can visit the Terracotta Warriors.[1][2][3]
| Flights | Order | What to watch |
|---|---|---|
| Arrive Beijing, leave Shanghai | Beijing → Xi’an → Shanghai | Reserve the Beijing landmark dates before buying train tickets. |
| Arrive Shanghai, leave Beijing | Shanghai → Xi’an → Beijing | Check the Palace Museum opening day at the end of the trip. |
| Same gateway in both directions | Use the other two cities as a loop, then return | Budget for a third train or domestic flight and the last night near the departure gateway. |
If you fly a round trip through Beijing, one loop is Beijing, Xi’an, Shanghai, Beijing. The last Shanghai-to-Beijing leg is an additional move. Give it a separate day or use an evening departure that still leaves margin before the international flight. Compare any fare savings with the domestic fare, hotel and sightseeing time you would give up. The China route-order guide offers more ways to organize fixed endpoints.
A 9-Day Beijing, Xi’an and Shanghai Itinerary
The route protects five full sightseeing days. Use Day 1 for your arrival, Days 4 and 6 for transfers, and Day 9 for departure. A good train schedule may leave an evening open, but set timed tickets on the full days.
Days 1–3: Beijing
Three nights give you two whole days for the main sights. Stay somewhere with an easy route to both central attractions and your onward station. Use the Beijing travel guide to choose a neighborhood.
- Day 1 — Arrive and check in. Walk near the hotel or have a meal. A late flight or a long arrival ride should not put you in danger of missing a ticket time.
- Day 2 — Visit the Forbidden City and, if you have time and energy afterward, add Jingshan Park. The Palace Museum generally closes on Mondays with holiday exceptions. Confirm the opening day and advance reservation before you commit to other plans.[1]
- Day 3 — Go to Mutianyu Great Wall. Keep the rest of the day flexible for the road ride and queues. If Day 2 is a regular closure, switch the landmark days when your reservations permit.[1][4]
Days 4–5: Xi’an
Two nights in Xi’an give you a transfer evening and one full sightseeing day. When staying near the old city, leave time for the transfer from Xi’an North Railway Station.
- Day 4 — Use the Beijing to Xi’an route and take an intercity train. Keep dinner near your hotel. If you get in early, walk around a gate of the Xi’an City Wall.
- Day 5 — Give the Terracotta Warriors the main part of the day. The museum is in Lintong. Look up both the ride in and the return, and check the overseas ticket channel before leaving the hotel. Save the evening for an easy dinner or walk.[2][3]
Days 6–9: Shanghai
Three nights in Shanghai leave two whole days before departure. Book a single hotel even if you use one day to visit another city. Check the route to your departing airport before deciding whether you have time for breakfast out on the last morning.[5]
- Day 6 — Travel between Xi’an and Shanghai. Keep the evening open, especially if you are taking the longer daytime rail leg.
- Day 7 — Walk the Bund and choose a neighborhood for a meal and a walk. If you want skyline views from both banks, plan how you will cross and where you want to be at dusk.
- Day 8 — Visit Yu Garden and spend the rest of the time in central Shanghai, or choose one museum and a less busy neighborhood. The garden is an individual stop within the broader visitor area. Check its admission before planning your walk.[6]
- Day 9 — Depart from the airport on your ticket. Check whether you need Pudong or Hongqiao before calling a ride or leaving for transit.[5]
If you want a side trip to Suzhou, use Day 8. That leaves one full day for Shanghai itself. Add a fourth Shanghai night if you want both city days and Suzhou.
Which Trains and Stations to Use
Search for direct high-speed services first. Enter the broad city pair to see your choices, then match the exact train and station names. Common station pairs are starting points. Once you have a booking, follow the ticket and the day’s railway notice.[7][8][9]
| Leg | Station pair to check first | Planning implication |
|---|---|---|
| Beijing to Xi’an | Beijing West → Xi’an North | Look up the ride to Beijing West from your hotel. |
| Xi’an to Shanghai | Xi’an North → Shanghai Hongqiao | Give the longer daytime ride a full travel window. |
| Shanghai to Beijing, for a loop | Shanghai Hongqiao → Beijing South | Plan the final night from your departure airport. |
Beijing West and Beijing South are different stations. In Shanghai, the Hongqiao railway station is a rail hub next to Hongqiao Airport, while Shanghai Railway Station is a separate station elsewhere in the city. Check the destination on your ride as carefully as the train number.[7][9]
For Xi’an to Shanghai, compare the train and flight door to door. A nonstop flight may save time if both airports are convenient. A train is easier to plan when both hotels have direct station access and you want to avoid added airport transfers. For either, avoid a second fixed ticket the same afternoon. Bring the original passport used to buy your rail ticket and keep the ticket details available as a screenshot.[8]
If your preferred train sells out, search another departure from the same station first. If you find a useful train from a different station, recalculate the hotel checkout and ride before booking. A later arrival in Xi’an still works if the hotel accepts late check-in and you can reach the museum the next day. A very early departure from Xi’an can be less convenient than a midmorning train if your hotel is inside the city walls.
Where to Stay for Easier Transfers
Choose first for the city days and then test the station ride. One long station transfer can be a good trade if the hotel saves several trips to restaurants and attractions. Check whether the advertised nearest station is a useful line and how much walking there is from the exit to the hotel.
- In Beijing, start with a central Beijing base and check both a daytime route to the landmark and an early route to Beijing West.
- In Xi’an, choose a hotel near the old city or a convenient metro line. Compare door-to-door access to your Lintong pickup point and the station you use.
- In Shanghai, choose accommodation near your two main outings. Check the separate arrival from Hongqiao and the departure to your international airport.[5]
How to Stretch the Route to 11 Days
Keep Shanghai at three nights and give one extra night each to Beijing and Xi’an. The trip then has four nights in Beijing, three in Xi’an and three in Shanghai. Travel on Days 5 and 8, then depart on Day 11.
Use the extra Beijing day for the Temple of Heaven or the Summer Palace, preserving the separate palace and wall days. In Xi’an, move the wall and old-city walk to the additional full day. If you are more interested in gardens or city walks, put one of these extra nights in Shanghai instead. Keep at least two nights in Xi’an if the warriors are a main reason for the trip.
FAQs About the Beijing, Xi’an and Shanghai Itinerary
Can I do Beijing, Xi’an and Shanghai in seven days?
Yes, with favorable flights and train times, but you will usually have to choose which Beijing landmark to see and give Shanghai a shorter stay. With seven calendar days, two cities are a more comfortable first visit.
Should I start the route in Beijing or Shanghai?
Start in the city with the more convenient flight arrival, then put Xi’an in the middle. If the flight options are similar, choose the order that gives you a confirmed Forbidden City day and a full day for the Terracotta Warriors.
Do I need to fly between Xi’an and Shanghai?
No. Check for a direct high-speed train for your date. A flight is worth comparing when train times would take the full day or when either airport is easier to reach from your accommodation.
How should I handle a round-trip international flight?
Place a return leg and hotel night in your original gateway before the flight home. If you need to keep the same trip length, take away a sightseeing day or visit fewer cities.
Sources
[1] Palace Museum. Tickets and Visit Information
[2] Xi’an Municipal Government. Emperor Qin Shi Huang’s Mausoleum Site Museum
[3] State Council of China. Online Ticket Platform for Overseas Visitors to the Emperor Qinshihuang Museum
[4] Beijing Municipal Government. Mutianyu Great Wall
[5] Shanghai Municipal Government. Transportation at Shanghai Airports
[6] Shanghai Municipal Government. Yuyuan Garden
[7] Beijing Municipal Government. Popular Tourist Destinations from Beijing’s Seven Railway Stations
[8] China Railway 12306. Ticketing FAQs
[9] Meet in Shanghai. Shanghai Railway Stations





