France's car industry will aim to ramp up electric car sales fourfold by 2027 under a strategy agreement to be signed with the government on Monday, just as the president of China embarks on a state visit in the country.

French President Emmanuel Macron has set a goal for the nation's carmakers to produce two million electric or hybrid vehicles by the end of the decade, even as they face tough competition from top producer China.

Under a new medium-term planning agreement with the government, the industry is set to agree to an interim goal of 800,000 electric vehicle sales by 2027, up from 200,000 in 2022, according to a finance ministry briefing.

Additionally, carmakers will aim to increase sales of electric light utility vehicles to 100,000 annually over the same period, from only 16,500 in 2022.

French carmakers are racing to get more electric models on the roads after Chinese rivals stole an early march with rapid market share gains only reversed recently after the government revamped its consumer bonus scheme to favour the purchase of Europe-made cars.

Nearly 20% of new cars sold in France are electric, but only 12% of them are made in the country. (Reporting by Leigh Thomas Editing by Mark Potter)