An earthquake of magnitude 5.0 struck the southwestern Chinese province of Yunnan at a depth of 6 km (3.7 miles) at 7:43 p.m. (11:43 GMT) on Tuesday, the China Earthquake Networks Centre said.
Officials have not yet received reports of casualties or property damage, and the local power grid was operating normally, state-run Xinhua news agency said, citing preliminary verifications by local authorities.
The quake's epicentre was in a village of around 1,300 residents in the mountainous Mojiang county, part of the city of Pu'er in the southwestern border province. The village is around 100 km (62 miles) from China's borders with Laos and Vietnam.
Railway authorities halted some passenger train services in the area following the quake, leading to delays in the international China-Laos Railway, state media said. Inspections of train tracks and equipment are being carried out.
Local residents in Mojiang county said they felt a significant tremor, Xinhua reported.

Explosion kills 6, injures 10 in Vietnam capital Hanoi
Pakistani pilot to become first foreigner to fly to China's space station
Sheikh Hasina seeks to return to Bangladesh on December 16 on state carrier
Israeli airstrikes kill at least six Palestinians in Gaza, medics say
Israeli airstrike kills at least 3 Palestinians in southern Gaza, medics say
South Korea toughens school exam rules after smart-device cheating scandal
Russian attack on Ukraine's Dymer in Kyiv region kills 11, official says
India announces $1.62 billion package for flood-hit Nepal
