Rail

Shanghai, Nanjing and Hangzhou by Rail

Three famous cities, one rail network, and the question of how many nights each really needs.

Shanghai, Nanjing and Hangzhou work well as one rail trip, because fast trains link them and each city has its own character. Give each at least two nights and avoid squeezing them into a short week. The smart part is the order of the legs.

If you are a first-timer, a rail trip can look intimidating. Once you see how tickets and stations work, it is one of the easiest ways to travel in China.

How do the three cities connect?

By fast train, with Shanghai at the centre. The fastest Shanghai Hongqiao to Hangzhou East trains take about 45 minutes over roughly 202 km, but the station pair matters, because Hangzhou has more than one station[1].

G-category trains are the premier high-speed trains, running up to 300 km/h with some at 320 or 350 km/h[2]. For the Nanjing leg, check the departure and arrival stations on 12306 and read our guide on Nanjing South station versus the Confucius Temple area.

Which order works best?

Start in Shanghai, move to Hangzhou for a gentle lake day, then go on to Nanjing for history. Put the longest leg on a day with nothing else planned. If you fly home from Shanghai, loop back at the end.

Our guide on adding Nanjing to an East China trip shows when the extra city earns its place. For museums, read about Nanjing museums and the Presidential Palace.

How do foreigners buy tickets?

Online, with your passport. China State Railway Group announced on 28 November 2023 that foreigners with ordinary passports can verify their details and buy tickets online via 12306[3].

You verify by entering name, nationality and passport number or uploading a photo of the passport page[4]. Tickets usually go on sale 15 days before departure and cannot be bought earlier[5]. Trip.com can accept pre-orders before the window opens, but only attempts the purchase when seats are released[6].

What do you need on the day?

Your passport, and time. Foreigners must show a passport to buy a long-distance ticket and to pass platform gates, because travel is ticketless[7]. Expect X-ray bag checks at station entrances, and arrive 30 to 40 minutes before departure at major stations[8].

Keep the passport somewhere you can reach quickly, and take a photo of the ticket.

Where should you stay?

Pick a base for each leg, but avoid changing hotels every night. Our guide on one base or several in East China helps you decide. In Hangzhou, read Hangzhou East station versus West Lake before you choose.

What should you do next?

Count your nights, choose the order and book the legs when the window opens. Use the rail versus flight tool to check the one leg where flying might be easier, and see our first-timer circuit for a worked route.

Tell us how many nights you have and which of the three cities matter most, and we will suggest an order for the rail legs that keeps the days calm.

Check my rail legs

Read next

  • GuideIs the Shanghai Circuit Right for You?

    A plain answer for Malaysian first-timers on the Shanghai, Suzhou and Hangzhou loop: who it suits, how it moves, what to check on food, pace and entry.

  • GuideShould Nanjing Join Your East China Trip?

    A plain guide for Malaysians deciding whether to add Nanjing to an East China trip: who gains from it, how it connects by rail and what to leave out.

  • GuideShanghai Base or Moving Hotels in East China

    Should you sleep in Shanghai and day-trip to Suzhou and Hangzhou, or change hotels? A plain comparison for Malaysians planning an East China holiday.

  • GuideChoosing Your Nanjing Base

    Nanjing South station hotel or the Confucius Temple area? A plain guide for Malaysians on transfers, luggage, evenings, halal food and the trade-offs.

  • GuideWhere to Sleep in Hangzhou

    Hangzhou East station hotel or West Lake base? A plain guide for Malaysians on transfers, luggage, early trains, halal food and who suits which.

  • ToolTrain or Flight? Compare Door to Door

    Enter train and flight times plus transfers and waiting at both ends, and see which China leg is faster door to door and by how many hours.

Questions Malaysians ask

Can we do all three cities in one trip?

Yes. The three cities are linked by fast trains, so you can move between them without flights. The question is time, not distance. Give each city at least two nights if you want to see more than its main sights, and keep a lighter day after the longest train.

Do we need to book train tickets in advance?

Yes, because popular trains fill, especially in holiday weeks. Tickets usually go on sale 15 days before departure and cannot be bought earlier, though rules can change. Book as the window opens, and check the exact departure and arrival stations when you buy.

Which city should we visit first?

Start where you land, usually Shanghai, and work outwards. Hangzhou is the shortest hop and a gentle second stop. Nanjing adds history and is best when you have a few extra days. End near an airport to avoid a long last-day transfer.

Is the Delta suitable for seniors?

Yes, with a light pace. Stations are in cities, trains are fast and seats are roomy. Choose first class for wider seats, keep luggage light and plan one main stop a day. Our senior guide covers walking and steps in more detail.

Sources

  1. Railway Gazette, checked 2026-10-19
  2. The Man in Seat 61, checked 2026-10-19
  3. China Services Info (Xinhua), checked 2026-10-19
  4. China Services Info (Xinhua), checked 2026-10-19
  5. The Man in Seat 61, checked 2026-10-19
  6. Unusual Nomad, checked 2026-10-19
  7. The Man in Seat 61, checked 2026-10-19
  8. The Man in Seat 61, checked 2026-10-19

Rules, schedules and prices change. Confirm with the official source before you travel.

Thinking about China?

Tell us how many nights you have and which of the three cities matter most, and we will suggest an order for the rail legs that keeps the days calm.

Message us on WhatsApp