Exact answer · Transport

Xiamen to Shanghai train: which station, how long and how much in 2026

Short answer

Leave from Xiamen North (厦门北): all 24 trains in the 2026-10-14 results board there. The fastest is G258 from Xiamen North to Shanghai Hongqiao, 5h05m, with second class at ¥566 (2% off) on that date. Across all 30 results, second class runs ¥406 to ¥581.5, and every fare carries an 'x% off' label, so full fares are higher. Nothing leaves after 17:12 or runs overnight. Buy on 12306 with your passport, up to 15 days ahead counting the day itself.

Short on time? Ask ChatGPT, Claude or Perplexity about this page →

✓ Last verified 6 October 2026 against 12306 English site — Xiamen to Shanghai train results, 2026-10-14 (12306.cn)

Key facts

WhatThe ruleSource
Trains, 2026-10-14 24 different trains in 30 results, all G or D, all bookable 12306 English site, Xiamen to Shanghai results
Fastest train G258, Xiamen North 11:42 to Hongqiao 16:47, 5h05m 12306 English site, Xiamen to Shanghai results
Xiamen Station Only G256, 07:46 to Hongqiao 13:17, 5h31m 12306 English site, Xiamen to Shanghai results
G256 from Xiamen North 08:10 to 13:17, 5h07m, second class ¥566 (2% off) 12306 English site, Xiamen to Shanghai results
Second class, Xiamen North to Hongqiao ¥419 to ¥581.5 (15 trains), all marked 'x% off' 12306 English site, Xiamen to Shanghai results
Business class, Xiamen North to Hongqiao ¥1,655 to ¥1,928 (6 trains), all marked 'x% off' 12306 English site, Xiamen to Shanghai results
Discount labels All 30 results carry an 'x% off' label (1% to 21%); full fares are higher, and labels change by train and date 12306 English site, Xiamen to Shanghai results
Departure times 07:18 (G3756) to 17:12 (G1640); last arrival 23:32 12306 English site, Xiamen to Shanghai results
Sleeper trains None in the 2026-10-14 results 12306 English site, Xiamen to Shanghai results
Passport Foreign passengers can buy real-name tickets with valid passports 12306 China Railway, FAQ
Registration Only foreign passports are accepted on the English site 12306 China Railway, create an account
Booking window 15 days online, counting the day itself China Railway 12306 help, presale period (Chinese)
12306 English site hours Sales 05:00 to 01:00 next day (05:00 to 23:30 on Tuesday) 12306 China Railway, FAQ

Xiamen to Shanghai train: the short answer

Take the train from Xiamen North (厦门北). In the 12306 English results for 2026-10-14, all 24 trains board there. Prices and train lists below are the 2026-10-14 results and change with the date.

  • Fastest: G258, Xiamen North to Shanghai Hongqiao, 11:42 to 16:47, 5h05m, second class ¥566 (2% off).
  • Range: travel times run from 5h05m to 8h22m. Second class runs ¥406 to ¥581.5 across all 30 results, all marked "x% off", so full fares are higher.
  • Times: departures run 07:18 to 17:12 and the last arrival is 23:32. There is no evening or overnight train and no sleeper on that date.

Xiamen North or Xiamen Station: which one to leave from?

Xiamen North. All 24 trains in the 2026-10-14 results board there, and one of them, G256, can also be boarded at Xiamen Station (厦门站) at 07:46. 12306 writes the two as Xiamenbei (厦门北) and Xiamen (厦门).

G256 to HongqiaoDepartsArrivesTimeSecondFirstBusiness
From Xiamen Station07:4613:175h31m¥576¥935¥1,964
From Xiamen North08:1013:175h07m¥566¥919¥1,928

It is the same train. From Xiamen North it is 24 minutes shorter and ¥10 cheaper in second class (both marked 2% off on that date). Choose Xiamen Station only if it suits your hotel better.

The China State Railway Group describes both stations on undated pages. Xiamen Station is in Siming District, the terminus of the Yingtan-Xiamen railway; the rebuilt station has been fully in use since 2016-01-24, with 5 platforms (8 platform faces) and 21,600 sq m of building. Xiamen North is in Jimei District, where the Hangzhou-Shenzhen and Xingxia (杏厦) lines meet. It has 6 platforms (10 platform faces), 109,000 sq m and a business-class waiting area. Those pages give no travel time, distance, metro, bus or taxi information.

Which Shanghai station does the train arrive at?

It depends on the train. The 2026-10-14 results name four: Hongqiao (上海虹桥) for 15 trains, Shanghai South (上海南) for 9, Jinshanbei (金山北) for 3 and Songjiang (上海松江) for 2. None arrived at Shanghai Railway Station (上海站). Hongqiao has the most choice and the fastest trains. For the city itself, see our Shanghai travel guide.

Xiamen to Shanghai train times and prices by station pair

Every price is the 2026-10-14 result and changes with the date. Each result carries an "x% off" label, 1% to 21% on that date, so every price below is a discounted fare and the full fare is higher. Labels vary by train and date, and 12306 prints one price per seat type. Second class and standing ticket cost the same on every result.

From, toTrainsTravel timeFirst and last departureFastestSecond classFirst classBusiness class
Xiamen North, Hongqiao15 (D 9, G 6)5h05m to 8h22m08:02 (D3142), 14:58 (G3092)G258, 11:42 to 16:47, 5h05m¥419 to ¥581.5¥671 to ¥950.5¥1,655 to ¥1,928 (6 trains)
Xiamen North, Shanghai South9 (G 6, D 3)5h11m to 7h57m07:18 (G3756), 17:12 (G1640)G260, 15:05 to 20:16, 5h11m¥418 to ¥568.5¥668 to ¥930.5¥1,670 to ¥1,894 (6 trains)
Xiamen North, Jinshanbei37h02m to 7h53m07:27 (G1642), 10:18 (D3292)G1642, 07:27 to 14:29, 7h02m¥429 to ¥492.5¥687 to ¥795¥1,620 to ¥1,658 (2 trains)
Xiamen North, Songjiang26h44m to 7h39m07:18 (G3756), 13:29 (D3202)G3756, 07:18 to 14:02, 6h44m¥406 to ¥485¥651 to ¥770¥1,692 (G3756)
Xiamen Station, Hongqiao1 (G256)5h31m07:46G256¥576¥935¥1,964

To Hongqiao, only G258 and G256 come near five hours; the third-fastest there, G3092, takes 7h01m. To Shanghai South, G260 takes 5h11m. The D trains to Hongqiao take 7h29m to 8h22m. The earliest train to Shanghai South is G3756 at 07:18. Business class is on 12 trains.

Why the counts add up to more than 24

We count a train once, by the identifier 12306 gives it. The 30 results are 24 trains (G 12, D 12), because six trains are listed twice: G3756 (Songjiang, Shanghai South), G1642 (Jinshanbei, Shanghai South), G1674 (Jinshanbei, Hongqiao), D3292 (Jinshanbei, Hongqiao), D3202 (Songjiang, Hongqiao) and G256 (Xiamen Station and Xiamen North, both to Hongqiao). Station counts count a train at each station it serves: 24 boarding at Xiamen North plus 1 at Xiamen Station is 25, and the four arrival stations add up to 29, because 5 trains serve two arrival stations. Each pair in the table counts its own results, which total 30.

Is there a sleeper or overnight train from Xiamen to Shanghai?

Not on 2026-10-14. Every result was a G or D train, nothing left after 17:12, and the last arrival was 23:32 (G1640, Shanghai South). That covers one date only, so it does not show that sleepers never run. The sleeper-price tip at the bottom of the results page is generic text.

How to buy the ticket on 12306 with a foreign passport

Use 12306, the official site of the China Railway Customer Service Center. It says the railway will not handle ticket problems from other websites. If you would rather not do it yourself, we can book train tickets for you.

  1. Register. The English registration page accepts only foreign passports. You enter name, passport number, passport expiry date, date of birth, gender, username, password and email.
  2. Verify your identity. Per the Ministry of Commerce guide, enter your name, nationality and ID number for automatic verification, or upload a photo of the passport information page for manual verification. You can also take the passport to a station ticket office.
  3. Search and buy. Search Xiamen to Shanghai on the English site or app and pay by Chinese or foreign bank card or mobile payment app.

The English site sells tickets from 05:00 to 01:00 the next day (05:00 to 23:30 on Tuesday). Searching and refunds run 24 hours. Neither the 12306 FAQ nor its presale help page gives a daily on-sale time for a travel date.

How far ahead can you book?

12306's Chinese help page, which is undated, says online sales cover 15 days including the day itself, with on-sale times staggered by region. Station and agent windows also use 15 days, and railway groups may adjust this, so read station notices. On 2026-10-06 the English site offered dates from 2026-10-06 to 2026-10-20.

Can I buy at the station with my passport?

Yes. The Ministry of Commerce guide (2024-04-24) lists the passport among the documents accepted at the station ticket office. There you pay by Chinese or foreign bank card, RMB cash or mobile payment. The guide names only the Foreign Permanent Resident ID Card for self-service machines and does not say passports work on them, so go to a window.

How do I get through the gate and onto the train?

Keep the e-ticket information and the passport you used to buy. 12306 says you show the ID to enter the station, exit it and board. Foreign travellers pass automatic or manual ticket-check gates with that original document. The itinerary sheet and reimbursement receipt are not tickets.

Refund or change a Xiamen to Shanghai ticket

You can refund or change on the 12306 English site and app, or at a station ticket office, and fees may apply. A station refund is normally done before departure; the 12306 FAQ says that in special cases it can be handled within 2 hours after departure with approval of the chief of the selling station or the departure station. Bring the ticket and the original ID used to buy it; if that was a passport, bring the purchase order number too. For amounts, see 12306 refund and change fees. More on the other end of the trip: Xiamen travel guide.

Plan the rest of the trip

FAQ

Should I leave from Xiamen North or Xiamen Station?

Xiamen North (厦门北). On 2026-10-14 all 24 trains boarded there, and only G256 also left from Xiamen Station (厦门站), at 07:46. The same G256 from Xiamen North leaves at 08:10, arrives at the same time, and costs ¥10 less in second class (both fares marked 2% off).

How long does the train from Xiamen to Shanghai take?

On 2026-10-14, 5h05m at the quickest (G258, Xiamen North to Hongqiao) and 8h22m at the slowest. To Hongqiao, only G258 and G256 are near five hours; the third-fastest there is G3092 at 7h01m. To Shanghai South, G260 takes 5h11m.

Is there an overnight or sleeper train from Xiamen to Shanghai?

Not in the 2026-10-14 results: every result was a G or D train, the last departure was 17:12 and the last arrival 23:32. That covers one date only, so it does not prove sleepers never run.

Can I buy a Xiamen to Shanghai train ticket at the station with my passport?

Yes. The Ministry of Commerce guide lists the passport among the documents accepted at the station ticket office, and it says you can pay by Chinese or foreign bank card, RMB cash or mobile payment. It names only the Foreign Permanent Resident ID Card for self-service machines, so use a window.

How far ahead can I book a train from Xiamen to Shanghai?

Online sales open 15 days ahead, counting the day itself, with on-sale times staggered by region. Station and agent windows also use 15 days. Railway groups can adjust this, so station notices matter.

Can I refund or change a Xiamen to Shanghai train ticket?

Yes, on the 12306 English site or app, or at a station ticket office; fees may apply. A station refund is normally done before departure (the 12306 FAQ allows up to 2 hours after departure in special cases, with the station chief’s approval), with the ticket and the passport used to buy it, plus the purchase order number.

Sources

Every rule on this page was read on the official pages below. Policies change; if something here no longer matches, the official page wins — and please tell us.

Plan your trip — chat with us