On a yearly basis, sales rose 142% in May from 32,165 vehicles in the same month of 2022 when Shanghai, where its factory is located, was still subject to COVID-19 containment measures that impacted production.

Chinese rival BYD Co Ltd, with its Dynasty and Ocean series of EVs and petrol-electric hybrid vehicles, logged sales of 239,092 vehicle in May, up 14% from April, CPCA data showed.

CPCA is scheduled to release more detailed car sales figures for May later this month.

Tesla has been under intense focus in China in recent weeks, amid an unannounced, high-stakes visit from boss Elon Musk.

Musk wrapped up a two-day trip on Thursday that included talks with Chinese Vice Premier Ding Xuexiang on Wednesday in Beijing, a source told Reuters.

The latest trip, Musk's first in three years after Beijing reopened its borders, came as Tesla faces intensifying competition from Chinese-made EV makers and uncertainty about expanding the Shanghai plant, its largest production hub.

He also met with foreign, commerce and industry ministers, and dined with Zeng Yuqun, chairman of battery supplier Contemporary Amperex Technology Co Ltd (CATL).

Musk visited Tesla's Shanghai factory late on Wednesday and met with Chen Jining, the ruling party's Shanghai secretary, on Thursday. Chen welcomed Tesla to increase investment and expand business in the city, according to a statement from the municipal government.

In an action described as a product recall, Tesla is distributing over-the-air software updates for more than 1.1 million vehicles for a braking issue from May 29, China's market regulator said mid-May.

Since May, Tesla has raised prices in countries including China, after earlier price cuts triggered a price war, with many international and local brands following suit.

(This story has been corrected to clarify the BYD sales growth comparison is a monthly rise, not annual, in paragraph 3)

(Reporting by Qiaoyi Li, Zhang Yan and Brenda Goh, Editing by Louise Heavens and Bernadette Baum)

By Qiaoyi Li and Brenda Goh