China Railway Group has suspended some train operations on routes including the Beijing-Shanghai Railway and Beijing-Kowloon Railway in response to the earthquake.
Residents in the affected area ran outdoors after the quake and gathered on footpaths in the pre-dawn darkness.
Gas service has also been shut off in some areas because of damage to pipes.