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.

Saudi coalition reports damage after Houthi missile threat towards Riyadh
Trump says historic summit with Xi, Putin already a 'win' before event
More than 47,000 evacuated in India ahead of Cyclone Akvan
Israel launches ground operation in central Gaza
Xi, Putin blast Western 'protectionism', sanctions as Trump lands in China