Camera IconAn earthquake in China's southwest ?region of Guangxi has killed two people, with 7000 evacuated. (EPA PHOTO) Credit: AAP

A magnitude 5.2 earthquake in China’s southwest region of Guangxi has killed at least two people and forced more than 7000 in the city of Liuzhou to evacuate.

Search and rescue operations continued on Monday and authorities warned of transport disruptions.

There were two confirmed deaths with one still missing, and four people were sent to hospital, although none of them had life-threatening injuries, CCTV and state news agency Xinhua said.

Thirteen buildings collapsed in the early hours of Monday, state broadcaster CCTV reported.

Transportation disruptions were also flagged by railway authorities as they inspected the integrity of rail line infrastructure.

Communication and power lines, water and gas supply, and traffic in the affected area were operating normally, state media reported.

Get the latest news from thewest.com.au in your inbox.

Sign up for our emails