The city of Shanghai has several railway stations, among which Shanghai Railway Station, Shanghai South Railway Station and Shanghai West Railway Station are the main ones. These three stations provide convenient transportation for tourists to many destinations throughout China.
A train journey from Shanghai to Beijing takes only 10 hours by 'D' trains (bullet trains with a D before the train numbers), about 12 hours by 'Z' trains (direct fast trains with a Z before the train numbers), 13.5 hours by 'T' trains (fast trains with a T before the train numbers), nearly 19 hours by 'K' trains (common trains with a K before the train numbers), and over 20 hours by slower trains that have no letter before the train numbers. 
Shanghai Railway Station
Train travel between Shanghai and some of the adjacent tourist destinations is both efficient and convenient. A train trip from Shanghai to Suzhou takes between 40 and 90 minutes, while a train journey from Shanghai to Hangzhou takes between 1.5 hours and 4 hours.
There are sometimes tourist trains from Shanghai to Hefei and Mt. Huangshan in Anhui Province, Zhangjiajie in Hunan Province, and Wuyishan in Fujian Province.
In addition, there are special 'Holiday Trains' from Shanghai to Jinhu of Jiangsu Province, Mt. Sanqingshan and Mt. Longhushan in Jiangxi Province, Lishui and Mt. Yandangshan in Zhejiang Province, and Mt. Wuyishan of Fujian Province. The trains depart from Shanghai every Friday and returns on the following Monday morning. If you intend to travel on weekends, please go to the railway station, or any other branches of Shanghai Railway Administration for reservation. Up-to-date information on Holiday Trains can be obtained by phoning 021-63250169.
Shanghai Railway Station
Shanghai Railway Station, also known as New Railway Station, is located at No. 303 of Moling Road in Zhabei District. It serves as the largest passenger railway station in the city. Everyday at least 80 pairs of trains run between Shanghai and other cities all over the country, including Beijing, Xian, Qingdao, Harbin, Chengdu, Kowloon etc. Additionally it has bullet trains to Beijing, Nanjing, Suzhou, Wuxi, Changzhou, and Changsha.

Map of Shanghai Railway Station
Buying Train Tickets
Tickets for trains departing from Shanghai go on sale nine days before the departure day. You can go directly to the ticket office on the first floor of the Complex Ticket Building of Shanghai Railway Station to buy tickets. For more additional information you can call the Shanghai Railway Station Information Line at 021-63179090, 021-95105123 or the Ticket Booking Line at 021-8008207890 (toll free), 021-95105105.
Travelers can book tickets through internet for trains departing from Shanghai Railway Station. Now this service is between 8:00 and 21:00 and only for individuals. Travelers need to register and login the train ticket booking system at the official website: http://www.shz-shrail.com.cn/ (only Chinese version available at present) and submit the request. Reply will be in one hour. When the booking procedure finishes, the customer service staff will phone the booker to confirm the reservation and the time and address for ticket delivery. Payment for the ticket and the handling fee can be made when the booker receive the ticket. Please note that one can only book twice through the internet with a maximum of 20 tickets. 
Shanghai Railway Station
Train tickets are also sold at many other booking offices in the city of Shanghai. Ticket Offices at No. 230 of East Beijing Road, No. 1738 of West Beijing Road, and No. 431 of Changyang Road are the main locations. At other ticket offices in the city, tickets usually go on sale four days before the departure day and an extra fee of CNY5 will be charged. Train tickets can be purchased directly at a ticket office, or through a travel agency.
Shanghai Railway Station Transportation
Shanghai Railway Station is located near the city center with convenient access to many other modes of transportation.
Subway Lines 1, 3 and 4 pass this station, and many bus routes stop at the South Square or the North Square of the station. The South and North Squares are connected by a long tunnel to the east of the station. You can go through the tunnel to either of the two squares providing you with many local buses to destinations within the city of Shanghai.
Here is a map of Shanghai Railway Station with marks of bus transfers information:
The following represents a listing of the specific available bus service:
South Square (26 Lines):
64: Shanghai Railway Station <--> Nanpu Bridge
95: Shanghai Railway Station <--> Shanghai No.1 Steel Co. Ltd.
104: Shanghai Railway Station <--> Longhua
109: Shanghai Railway Station <--> Nanpu Bridge
113: Shanghai Railway Station <--> Xiqu Bus Station
506: Shanghai Railway Station <--> Jing'an Xincheng
584: Shanghai Railway Station <--> East Boshan Rd.
802: Shanghai Railway Station <--> Nanpu Bridge
837: Shanghai Railway Station <--> Zhennan Xincun
845: Shanghai Railway Station <--> Hulan Rd.
927: Shanghai Railway Station <--> Tianlin Xincun
930: Shanghai Railway Station <--> Shiliupu
941: Shanghai Railway Station <--> Hongqiao International Airport
955: Shanghai Railway Station (Hengfeng Rd.) <--> Jiyang Rd.
Shenfang Line: Shanghai Railway Station <--> Songhe Cemetery
Shenchuan Line: Shanghai Railway Station <--> Shuansha Bus Station
Tunnel Line 3: Shanghai Railway Station <--> Qichangzhan Ferry Crossing
Airport Line 5: Shanghai Railway Station <--> Pudong International Airport
Nanxin Special Line: Shanghai Railway Station (Hengfeng Rd.) <--> Nanhui Bus Station
302 (Night Line): Shanghai Railway Station <--> Baoshan Public Transport Company
308 (Night Line): Shanghai Railway Station <--> Songhuajiang Rd.
315 (Night Line): Shanghai Railway Station <--> Shanghai Indoor Stadium
322 (Night Line): Shanghai Railway Station <--> Baoshan Town
324 (Night Line): Shanghai Railway Station <--> Nanpu Bridge
328 (Night Line): Shanghai Railway Station <--> Shanghai Zoo
Night Tunnel Line: Shanghai Railway Station <--> Weifang Xincun
North Square (18 Lines):
106: Shanghai Railway Station <--> Shanghai West Railway Station
115: Shanghai Railway Station <--> Shuangyang Rd.

First Class of Multiple Unit Train
117: Shanghai Railway Station <--> Taopu Wucun
515: Shanghai Railway Station <--> Songhuajiang Rd.
516: Shanghai Railway Station <--> Qingjian Xincun
517: Shanghai Railway Station <--> Nanxiang Bus Station
817: Shanghai Railway Station <--> Kailu Xincun
823: Shanghai Railway Station <--> Fengzhen Xincun
912: Shanghai Railway Station <--> Gaojing Xincun
928: Shanghai Railway Station <--> Nanpu Bridge
929: Shanghai Railway Station <--> Luchuan Xiaoqu
942: Shanghai Railway Station <--> Yinhang Rd.
962: Shanghai Railway Station <--> Free Trade Zone
Xinchuan Line: Shanghai Railway Station <--> Chuansha
305 (Night Line): Shanghai Railway Station <--> Nanpu Bridge
306 (Night Line): Shanghai Railway Station <--> Jiangbian Port
310 (Night Line): Shanghai Railway Station <--> Lanzhou Rd.
329 (Night Line): Shanghai Railway Station <--> Gongnong Xincun
There are also many passing lines such as 13, 41, 58, 63, 78, 114, 128, 213, 223, 234, 301 (Night Line), 319, (Night Line), 502, 510, 573, 710, 722, 723, 741, 744, 767B, 768, 822, 839, 844, 859, 922, 948, 963, Hutang Special Line, Xinjia Special Line, and Public Sightseeing Special Line.
Shanghai South Railway Station
Shanghai South Railway Station, formerly known as New Longhua Railway Station, is the first round railway station in the world. Located at No. 289 of Old Humin Road in the south Xuhui District of Shanghai, it provides daily train services between Shanghai and cities to its south such as Hangzhou, Jiashan, and Ningbo. There are also bullet trains to Hangzhou and Nanchang. Tickets for trains departing from this station and Shanghai Railway Station go on sale here four days before the departure day. For more information, you can contact the station by calling 021-51105110.
From August 2009, a new railway leading to Jinshan District from Shanghai South Railway Station has been constructed. Then, passengers could take the express train to reach Jinshan in 30 minutes when the project is finished in two year. It is estimated that this line is about 56.4 kilometers and passes through four distrcit of Shanghai (Xuhui, Minghang, Songjiang and Jinshan). There will be nine stops set along the line, respectively at Shanghai South Railway Station, Shenzhuang, Chunshen, Xinqiao, Minghang West, Yexie, Tinglin, Ruanxiang and Jinshan.

Shanghai South Railway Station Transportation
Situated at the intersection of the Subway Lines 1 and 3, Shanghai South Railway Station can easily be reached by subways and many local buses. A map of Shanghai South Railway Station below with marks of bus transfers information is for your reference:
For your convenience some specific bus routes are listed below:
South Square (7 Lines):
867: Shanghai South Railway Station <--> Hanghua Xincun
144: Shanghai South Railway Station <--> Nanpu Bridge
973: Shanghai South Railway Station <--> Nanquan Xincun
315 (Night Line): Shanghai South Railway Station <--> Shanghai Railway Station
Airport Line 7: Shanghai South Railway Station <--> Pudong International Airport
Shangzhu Line: Shanghai South Railway Station <--> Zhujiajiao
Shangjia Line: Shanghai South Railway Station <--> Jiading Passenger Transport Center
North Square (4 Lines):
729: Shanghai South Railway Station <--> East Sea University
236: Shanghai South Railway Station <--> Laoximen
303 (Night Line): Shanghai South Railway Station <--> Nanpu Bridge
Shangcang Line: Shanghai South Railway Station <--> Cangyuan Xiaoqu
Shanghai West Railway Station
Shanghai West Railway Station, formerly known as Zhenru Railway Station, is the smallest of the three. Located at No. 1 of Taopu Road in Putuo District, there are several pairs of trains serving routes between Shanghai and other cities such as Yantai, Zaozhuang, Hengyang, Ganzhou, Nanjing, Hangzhou, and Ningbo. Tickets usually go on sale one day before the departure day at the ticket office at No. 22 of Taopu Road.
Bus Routes: 1, 106, 129, 319, 516, 551, 742, 768, 807, 944, 966
Information Line: 021-62549500, 021-56241022
Travelers' Voices on Shanghai Transportation by Train
1.
Nov. 7,2009 12:41 Reply
Ms.Tan(singapore) said:
Hi. Is there any train going direct from Hangzhou to Suzhou? thinking of gong to Suzhou by the fastest mode. Thanks
2.
Nov. 5,2009 09:37 Reply
Mrs.Isabel(Brasil) said:
Hello. Ill be arriving in Shanghai at the Pudong Airport at 15:30h in the 16th of november. After that i would like to go to Wuxi, wich one is the better transportation? Do i have to make a reservation for the tickets? I would like to receive the trains schedules,please.
Nov. 5,2009 21:22
Mr.Leo replied:
There are many trains from Shanghai Railway Station to Wuxi everyday. So, I think you could purchase the train ticket just when you arrive at the railway station. You could search the train schedule at http://www.travelchinaguide.com/china-trains/
3.
Nov. 3,2009 21:28 Reply
Mr.michael(malaysia) said:
if i am taking D train from shanghai south station to hangzhou, can the ticket be bought at Shanghai Railway Station ticket counter? what is the opening hours?
thanks again
Nov. 4,2009 01:24
Mr.Shan replied:
Yes, you could purchase the train ticket at Shanghai Railway Station. The ticket office is opened 24hours round the clock.
4.
Nov. 3,2009 00:07 Reply
Ms.Tintin(Bahrain) said:
Please give me an advice for a train i need to take if i will arrive at shanghai international airport (the nearest station) and go to yiwu by first class...
Nov. 3,2009 02:41
Mr.Shan replied:
Most of the train to Yiwu depart from Shanghai South Railway Station. So, when you arrive at Shanghai Pudong Airport, please take the shuttle bus Line 7 to reach Shanghai South Railway Station directly. The train schedule could be searched at http://www.travelchinaguide.com/china-trains/
5.
Oct. 29,2009 08:54 Reply
Ms.V.(Czech) said:
Is it possible to buy train ticket and travel at the same day? Ill arrive to Shanghai on 5.11. and would like to go to Suzhou at the same day - doesnt matter what for class etc. Or would be easier to buy bus ticket? Whats cheaper? Thanx a lot!
Oct. 29,2009 21:13
Mr.Leo replied:
Yes, you could purchase a train ticket to Suzhou at hte railway station on the spot. Please note that the train will leave from Shanghai Railway Station, and the bullet train just takes about 40 minutes as well as the others take 1~2 hours.
Oct. 30,2009 03:49
Ms.V.(Czech) replied:
Thank you very much. One more question:)
Our plan is route Shanghai - Suzhou - (Nanjing) - Huangshan - Hangzhou - Shanghai. Do you think, could we have some troubles somewhere to buy train ticket for the same day? We have just 8 days for China and dont know, if Nanjing is so interesting like other places, should we visit this city? I appriciate every comment.
Nov. 1,2009 22:27
Mr.Leo replied:
Time seems not enough for you, my suggestion: you should miss Nanjing. Suzhou seems better, personally I think. Classical private gardens, Guanqianjie for food and Zhouzhuang for water town are attractive. There may be some troubles on buying train ticket for the same day in weekends or holidays. You can consider to visit Shanghai for two days and buy ticket to Suzhou when you just arrive Shanghai. The same way to buy tickets in other places. In fact, you will just buy ticket from Shanghai to Suzhou and Hangzhou to Shanghai. You can buy the ticket for both in Shanghai in advance. These places are not far from each other, bus is also a good choice instead, and more flexible. Would like to help if you have other problems.
6.
Oct. 19,2009 03:37 Reply
Mr.evers(holland) said:
Dear Mr. Jamie,
We would like to travel by D train at night from Shanghai to Guangzhou starting monday 26 th of october in the evening. Could you please give us a traveladvise ? (if there is no D train , the quickest otherone)
Thank you sincerely.
Ipo Evers (Holland)
Oct. 19,2009 03:59
Mr.Jamie replied:
No D trains, Mr evers. The fatest shoudl be T99 leaving from Shanghai Railway Station at 18:24 and arrive in Guangzhou East Railway station at 10:17 (Nearly 16 hours). Hope it helps.
Oct. 30,2009 07:09
Mrs.Nancy(Indonesia ) replied:
how about from Shanghai to Hangzhou? Is there any train?Thanks
Nov. 1,2009 22:14
Mr.Jamie replied:
Yes, Mr evers, many trains a day run from Shanghai to Hangzhou, including buller trains. Shanghai SOuth Railway Station has more trains.
7.
Nov. 1,2009 10:03 Reply
Mr.Neil(UK) said:
can you assist, need to travel by train to Ningbo, travel date is 25th November, what time and class of ticket is avialble
Nov. 1,2009 22:12
Mr.Jamie replied:
You should get to Shanghai Railway Station ticket office to a few days in advance to buy or enquiry for the ticket info. There are in total 10 bullet trains from Shanghai South to Ningbo everyday from 7:25-18:35. First and second classes of ticket is all available now, I think. Few perople will book the ticket on that date so earlier. If you want better seats, book earlier.
8.
Nov. 1,2009 01:44 Reply
Ms.chang(singapore) said:
Hi Mr. Jamie,
the url http://www.shz-shrail.com.cn/ to purchase ticket online does not seem to work. i am planning to go to suzhou and then from suzhou to hangzhou. Lastly from hangzhou to shanghai and i am trying to purchase the d train tickets from hangzhou to shanghai. Is the train always full? Just want to be ensure i get a ticket on the 1st class seats. appreciate your advice. thanks
Nov. 1,2009 02:02
Mr.Sandy replied:
Bullet trains among Suzhou, Hangzhou and Shanghai are many. You can try to get to the railway Station earlier. Generally, the ticker is easy to get and no need to buy in advance, except for weekends.
Nov. 1,2009 04:07
Ms.chang(Singapore) replied:
Thanks Mr Sandy for your reply. Does the train station in Shanghai allow me to buy the 1 way ticket from Hangzhou to Shanghai? Or i can only buy the train ticket in Hangzhou. Please advise. thanks
Nov. 1,2009 22:07
Mr.Sandy replied:
You are welcome, Ms Chang. Yes, you can buy the bullet train ticket from Hangzhou to Shanghai at Shanghai railway Stations.
9.
Oct. 27,2009 07:18 Reply
Mrs.McCauley (Northern Ireland) said:
I'm organising travel for a colleague travelling from Nanjing to Shanghai on Saturday 14th November, and then Shanghai to Ningbo on Sunday 15th November, can you recommend the best trains for this? Many thanks for any assistance.
Oct. 30,2009 03:26
Mr.Shan replied:
It is suggested that you use the bullet trains to finish these two sections. The train number is started with 'D'. You could search the train schedule at http://www.travelchinaguide.com/china-trains/
please note that the train terminal from Nanjing to Shanghai is Shanghai Railway Station. However, the train from Shanghai to Ningbo will leave from Shanghai South Railway Station.
10.
Oct. 29,2009 15:53 Reply
Mr.Ross(Canada) said:
I am palnning on travelling to Xitang from shanghai on Tues Nov 4th. I would like to travel early to have the better part of the day there and return to Shanghai same day. Any recommendations, bus or train?? Thanks
Graham
Oct. 29,2009 21:10
Mr.Shan replied:
On the early morning, you could take a train (1 hour) at Shanghai South Railway Station or a bus (2 hours) from Shanghai South Bus Station to Jiashan firstly. These two stations are located at the same place in Shanghai. When you arrive in Jiashan, there are many buses could be used here driving you to Xitang in 30 minutes with a fare of only 3.5RMB. You could use the same way to back to Shanghai in the afternoon.