Skip to content
Shanghai to Nanjing Train: Stations, Times & Tickets (2026 Guide)

Shanghai to Nanjing Train: Stations, Times & Tickets (2026 Guide)

The quick version

Shanghai to Nanjing by high-speed train takes under 2 hours. Compare stations, train types and seats, and learn how to book as a foreigner.

7 min readBy Asia Trains Editorial
Share this article:
On this page

Last updated November 2026: the Shanghai to Nanjing train takes about 1h20m to 1h40m on a fast G train over roughly 350 km (217 miles). Hongqiao to Nanjing South is the quickest sample listing, at 1h28m and ¥141 in second class. Wider planning sits in our China high-speed train guide.

Featured image: bergmann, CC BY-SA 3.0, via Wikimedia Commons.

Shanghai To Nanjing Train, China — 1
Photo: Baycrest, CC BY-SA 2.5, via Wikimedia Commons.

Shanghai to Nanjing Train at a Glance

Fast G trains cover the corridor in about 1h20m to 1h40m. Stopping services stretch toward 2 hours. Tickets go on sale 15 days before departure, and you board with the passport used to book. Sample second-class fares noted in November 2026 run from ¥110 to ¥142, and fares differ by train and station pair.

Shanghai To Nanjing Train, China — 2
Photo: Windmemories, CC BY-SA 4.0, via Wikimedia Commons.
DetailWhat to know
Rail distanceAbout 350 km (217 miles)
Straight-line distanceAbout 300 km (186 miles)
Journey timeAbout 1h20m to 1h40m on fast trains; up to about 2h07m on slower ones
Seat classesSecond, first, and business class on some trains
Ticket window15 days before departure
ID neededPassport, with the name entered exactly as printed
Sample second-class fares¥110 to ¥142

Which Stations to Use in Shanghai and Nanjing

Shanghai To Nanjing Train, China — 3
Photo: Windmemories, CC BY-SA 4.0, via Wikimedia Commons.

Shanghai Hongqiao and Shanghai Railway Station are the two Shanghai stations clearly tied to Nanjing services. On the other end, trains arrive at Nanjing South or the main Nanjing station. Pick the pair first, then pick the train. Shanghai South turns up in some booking listings, but you do not need it for this route.

Shanghai stationTo Nanjing SouthTo Nanjing main station
Shanghai HongqiaoBest fit for most visitors. Sample G1970 runs 06:10 to 07:38 in 1h28m for ¥141.Search both Nanjing names on 12306 and compare times. Choose it if your hotel is near the main station.
Shanghai Railway StationGood if you sleep near this station. Sample G7080 runs 06:03 to 08:10 in 2h07m for ¥142.Listed on the corridor. Compare stop patterns before you pay.
Shanghai To Nanjing Train, China — 4
Photo: Hao Wu from Shanghai, CHINA, CC BY-SA 2.0, via Wikimedia Commons.
  • Searching just "Nanjing" can return several stations. Select the station name deliberately.
  • Door-to-door time depends on the Nanjing end. Look up the metro line from your arrival station to your hotel before you leave.
  • Both Shanghai stations have metro links. Match your hotel's nearest line to the station that suits you.

Fast vs Slow Trains: How to Pick

Shanghai To Nanjing Train, China — 5
Photo: BlueSkySummer, CC BY-SA 4.0, via Wikimedia Commons.

Train letter matters less than stop pattern and arrival station. Two G trains in the sample listings differ by nearly 40 minutes. Read the duration column on 12306 and ignore the train type label. Stopping services call at cities such as Suzhou, Wuxi and Changzhou, which adds time. Treat these samples as a guide and check live timetables.

TrainRouteTimesDurationSecond class
G1970Hongqiao to Nanjing South06:10 to 07:381h28m¥141
G7032Shanghai to Nanjing05:45 to 07:391h54m¥110
G7080Shanghai to Nanjing South06:03 to 08:102h07m¥142
Shanghai To Nanjing Train, China — 6
Photo: bergmann, CC BY-SA 3.0, via Wikimedia Commons.
  • Fastest option: G1970 is only ¥1 more than the 2h07m G7080.
  • Cheapest option: G7032 costs ¥110 and takes 1h54m.
  • Rule of thumb: a few extra yuan often buys 30 minutes or more.

Ticket Prices and Seat Classes

Second class is the standard choice, with sample fares from ¥110 to ¥142. First class has wider seats in a 2+2 layout. Business class exists on some trains only. Fares move with train, date and station pair, so check live prices on China Railway's 12306 site. Children under 6 ride free if they share an adult's seat, with one free child per adult. Ages 6 to 13 need a child ticket, and anyone 14 or older pays the adult fare. Trains have no luggage consignment. Adults may carry 20 kg (44 lb) and children 10 kg (22 lb). Length plus width plus height of a single bag must not exceed 130 cm (51 in).

Shanghai To Nanjing Train, China — 7
Photo: 钉钉, CC BY-SA 4.0, via Wikimedia Commons.

How to Book as a Foreigner

Foreign visitors can ride China's trains with a passport. Book on 12306, or through an agent platform that sells the same tickets. Enter your name exactly as printed in your passport. Names cannot be edited after booking. Tickets open 15 days ahead, and fast morning trains sell out first. Paper tickets are no longer needed for boarding. If you want one for reimbursement, machines at stations print them within 180 days of the travel date. When a train is sold out, join the waitlist. Some platforms let you list up to 10 trains. You pay the highest fare first, and any difference is refunded if you get a lower class. Our high-speed rail hub covers the wider booking process.

Shanghai To Nanjing Train, China — 8
Photo: 颐园新居, CC BY-SA 4.0, via Wikimedia Commons.

Changes, Refunds and Missed Trains

One platform's published rule allows refund requests up to 60 minutes before departure. After departure, refunds are not permitted. Only 1 change is allowed per ticket, covering date, time and seat class. Passenger name and ID cannot change. Rules differ by platform, so read your booking terms before paying. If you miss your train, contact your booking platform straight away. Leave a generous buffer at the station, because gates and security checks take time.

Good to know

Refunds on one platform are accepted up to 60 minutes before departure, so an early 05:45 start leaves little time to decide after waking.

Rail vs Bus vs Plane

Rail runs from central station to central station with no airport check-in. Flights rarely make sense on a route this short, because airport transfers and security eat the time saved in the air. Buses use coach terminals and take longer.

Shanghai To Nanjing Train, China — 9
Photo: Shizhao, CC BY 3.0, via Wikimedia Commons.
ModeStrengthWeakness
TrainCity-centre stations, frequent departures, reserved seatsStation name must be chosen carefully
BusOften the lowest fareSlower, with coach terminals instead of rail hubs
PlaneShort time in the airAirport transfers and check-in cancel the gain

Making a Day Trip or One-Way Transfer Work

A day trip works because early trains leave Shanghai at 05:45, 06:03 and 06:10 in the sample listings. Check the first and last services on 12306 for your date. Carry your bags, since trains have no consignment service. Ask your hotel to hold luggage if you will return to Shanghai. Sun Yat-sen Mausoleum needs about half a day. Nanjing Museum deserves at least half a day too. Confucius Temple and the Qinhuai River suit the evening, when the area is lit and painted boats run on the river. Pick one major sight and one evening stop rather than all three.

Tip

Book the 05:45 departure first for a day trip. Tickets open 15 days ahead, and morning slots fill first.

Mistakes to Avoid

Shanghai To Nanjing Train, China — 10
Photo: N509FZ, CC BY-SA 4.0, via Wikimedia Commons.

A few small errors cause most trouble on this route. Run through this list before you pay.

  • Picking the wrong Nanjing station after searching only "Nanjing".
  • Booking a city with a similar spelling. Confirm the destination is Nanjing in Jiangsu.
  • Entering a name that does not match your passport.
  • Going to the wrong Shanghai station. Hongqiao and Shanghai Railway Station are different places.
  • Arriving at the station without a buffer for security and gate queues.

Onward Routes Along the Yangtze Delta

Shanghai links to several other short rail trips. Shanghai to Suzhou by train covers a stop that stopping Nanjing services pass. Another option is the Shanghai to Hangzhou route. For a longer ride, read about the Beijing to Shanghai line. Heading inland, see the Shanghai to Xi'an train. Day trips from Shanghai include Wuzhen water town. Mountain fans can also look at Huangshan from Shanghai.

Frequently Asked Questions

Can foreigners take trains in China?

Yes. Foreign visitors book with a passport on 12306 or through agent platforms. Enter your name exactly as printed, then board with the same passport.

What is the distance between Shanghai and Nanjing?

Rail distance is about 350 km (217 miles). Straight-line distance is about 300 km (186 miles).

Is Nanjing, China worth visiting?

Yes, even for a single day. Sun Yat-sen Mausoleum and Nanjing Museum each take about half a day. Confucius Temple and the Qinhuai River make a good evening stop.

Notes on Asia's railways

Optional updates when we revise our train and route guides.

No spam. Unsubscribe anytime.

Continue reading

More guides you'll find useful