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. 17,2009 08:12 Reply
Mr.Nicholas(Malaysia) said:
Hi, I am planning to take the D305 bullet train from Beijing to China around 29th December to 31st of December. Should i book them online or just go to the station in Beijing?
Nov. 19,2009 03:37
Mr.JAMESWONG(China) replied:
Buy the ticket in Beijing Railway Station in advance or book online. I never try onling booking, for the ticket is far more expensive for the additional service charge. It is not hard to buy just one day in advance, I think.
2.
Nov. 10,2009 10:34 Reply
Mr.Chuah (Malaysia) said:
Hi, can i know how to go Shanghai HuangPu Bus Station from Shanghai Holiday Inn Downtown Hotel ? Cause i need to pick up the bus from the HuangPu Bus Station to HangZhou Airport. Or . Is there other way from Shanghai Holiday Inn Downtown Hotel to HangZhou Airport ? Thanks.
Nov. 14,2009 01:46
Mr.LEOSTAR(United States) replied:
This bus station is far from the hotel, and it is not the best transportation.
Your hotel is just located close to Shanghai Railway Station. So, please take a train here to arrive at Hangzhou Railway Station (not Hangzhou East Railway Station). Search the train infor at: http://www.travelchinaguide.com/china-trains/
Exit from the Hangzhou Railway Station, you could find the Hangzhou Airport shuttle bus on 1F, just under the escalator. It could take you to the airport in one hour.
3.
Nov. 12,2009 05:33 Reply
Ms.Kanti(Indonesia) said:
Hi, I'm going to travel to China next week, and I only have 7 days. My plan is going to Shanghai - Xian - and Beijing, from Beijing I will fly back to Jakarta. Is it possible for me to travel by train from Shanghai to Xian and from Xian to Beijing? Can I buy the tickets directly at the train station in Shanghai for both destinations (shang-xian, xian-beijing). Thank you in advance.
Nov. 13,2009 02:34
Mr.LEOSTAR(United States) replied:
Usually, it is not suggested that you take a train from Shanghai to Xian. The train running time is not very good arranged. So, please take a flight which is faster and more comfortable. Currently, the airfare is also reasonable.
From Xian to Beijing, please take the train 'Z', all of which are night trains. So, you could save more time for visiting. Usually, you'd better purchase a soft-sleeper ticket (CNY400) 3 days in advance at least. Very difficult to purchase the ticket on the spot. Other, please take a flight, the ticket of which is about CNY500 currently.
4.
Nov. 13,2009 01:12 Reply
Mrs.teo(singapore) said:
Hi! Anyone up there able to assist me.I wish to travel from Singapore to Harbin.May I know which is the fatest way to reach Harbin?From Beijing or Shanghai.How to take bullet train?From which station.Pls help.Thank you!
Nov. 13,2009 02:24
Mr.LEOSTAR(United States) replied:
If you would like to get to Harbin by air, both of the airports in Beijing and Shanghai could be used. There are frequent flights are in operation everyday.
However, if you prefer taking a bullet train to Harbin, please firstly arrive in Beijing.
5.
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
Nov. 10,2009 00:59
Ms.Cindy replied:
Yes, there are trains to Suzhou from both Hangzhou Railway Station and Hangzhou East Railway Station. The fatest train is T178 leaving from Hangzhou from Hangzhou Railway Station at 18:44 and reach Suzhou at 21:26. It seems fater to go by bus. Hangzhou North/East Bus Station all have buses to Suzhou, about 2 hours.
Nov. 10,2009 01:35
Ms.tan(Singapore) replied:
hi Cindy. Thanks for your reply.
regards
6.
Nov. 8,2009 23:08 Reply
Ms.JENNA2380(Philippines) said:
hi ,
i am planning to take the train from shanghai to beijing. i was wondering if there is limit to baggage allowance and dimensions, can you tell me pls. BIG thanks!
Nov. 10,2009 01:18
Mr.Sandy replied:
Generally the lugguage is limited to be within 130cm/20kg. I also saw tourists with with big lugguage about 180cm. Generally, there is no one in the train station who weight or measure your lugguage. If you can handle them by yourself, it will be no problem. Sometime the volunteers in the train station will help people who take very big or many pieces of lugguage.
7.
Nov. 8,2009 18:13 Reply
Mr.Joh(Australia) said:
Hi, I plan to take a train from Shanghai South to Hangzhou next Sunday morning. I will arrive in Shanghai on Saturday night, so I won't be able to book a ticket. I have heard that this is a very popular route. Do you know if Sunday morning is a risky time to not pre-book a ticket? Or if there is a way to book my ticket from Australia?
Nov. 10,2009 01:10
Mr.James replied:
You can book online, Mr. Joh, but it is expensive and never try that before. It think it is not so hard to get the ticket on Sunday morning if you get to the railway Station earliy. It may be a problem for you to buy the ticket for train which are leaving soon. There are many bullet trains you. You will stay one night in Shanghai, right. Asking for help from the hotel is perhaps another way.
8.
Nov. 8,2009 09:15 Reply
Mr.nasir(malaysia) said:
i want fast train shanghai to beijing,anyone tell me shedule, fare and more information ?
Nov. 10,2009 01:01
Mr.Qi replied:
Hi. Use this:
http://www.travelchinaguide.com/china-trains/display.asp?from1=Shanghai&tp=1&to1=Beijing&Submit32=SUBMIT
Here are all trains from Shanghai to Beijing. Click every train number to see more information about price and seats.
9.
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/
10.
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.