Answered by Mr.KMOSSMAN from CN | Nov. 20, 2015 16:12
The 24-hour visa exemption
Nearly all nationalities can transit in China for a period not exceeding 24 hours as determined by scheduled flight arrival and departure times. The fact that the flight may be arriving or departing late is not relevant, it is all based on scheduled times. You must already have confirmed onward tickets, standby tickets are not valid to qualify.
Multiple stops are permitted when transiting through China, i.e. you may fly into one city then connect by air to different cities before flying out of China. In the case of multiple stops in China, the 24-hour period is calculated from the scheduled first landing to the scheduled last departure in China. You are also required to have a visa for your next destination after China, if such a visa is required given your nationality.
You need to pass immigration and show your passport and onward ticket. A special stopover permit will be stamped in your passport. There is no fee charged for this.