In the January-April period, sold 163,841 units in China, down 7.64 percent year-on-year.

Tesla's (NASDAQ: TSLA) electric vehicle (EV) sales in China halved in April from the previous month, which may be partly because it dedicated more of its locally-produced vehicles to exports at the start of the new quarter.

The US EV maker sold 62,167 China-made vehicles in April, including 30,746 for export, according to data released today by the China Passenger Car Association (CPCA).

This means that Tesla sold 31,421 vehicles in China in April, down 49.64 percent from 62,398 in March and down 21.36 percent from 39,956 in the same month last year.

In the January-April period, Tesla sold 163,841 units in China, down 7.64 percent from a year earlier.

Tesla has a factory in Shanghai that produces the Model 3 sedan and Model Y crossover, both for deliveries to local customers and as an export hub for it.

Tesla's pattern is to produce cars for export in the first half of the quarter and for the local market in the second half, it previously said.

Tesla China's exports in April were up 15.30 percent from 26,666 units in March, though down 14.32 percent from 35,886 units in the same month last year.

Of the 62,167 China-made vehicles sold by Tesla in April including exports, 31,962 were Model Y and 30,205 were Model 3, according to the CPCA.

Retail sales figures for the Model 3 and Model Y in China in April are not yet available.

Looking at the industry as a whole, retail sales of new energy vehicles (NEVs) in China in April were 674,000 units, up 28.3 percent year-on-year but down 5.7 percent from March.

Retail sales of battery electric vehicles (BEVs) in China totaled 405,000 units in April, up 12.21 percent year-on-year while down 5.37 percent from March.

Retail sales of plug-in hybrid electric vehicles (PHEVs) in China totaled 269,000 units in April, up 64.23 percent year-on-year while down 4.27 percent from March.

That means Tesla's share of China's NEV market was 4.66 percent in April, down from 8.8 percent in March and down from 7.58 percent a year earlier, CnEVPost calculations show.

In China's BEV market, Tesla's share was 7.76 percent in April, down from 14.58 percent in April and from 10.80 percent a year earlier.

Among the major EV players, companies including Tesla, (NYSE: NIO), and (NYSE: XPEV) produce only BEVs, while companies including (HKG: 1211, OTCMKTS: BYDDY) and (NASDAQ: LI) produce both BEVs and PHEVs.

Tesla ramps up layoffs in China, report says