Toyota Motor sold 10.8 million vehicles globally last year, retaining its position as the world’s top-selling carmaker.

The Japanese automaker said Thursday that its group worldwide sales dropped 3.7% to 10.8 million vehicles in 2024. Stronger U.S. and European sales failed to offset the weakness in Japan and China.

Toyota has benefited from a shift among consumers in the U.S. and some other markets to hybrid cars from fully electric vehicles.

Earlier this month, rival Volkswagen said its group car deliveries fell 2.3% to 9.03 million in 2024 as it faced intense competition in China.

Toyota said its group worldwide production fell 7.8% to 10.6 million vehicles, dragged by declines in China and Japan.

Write to Kosaku Narioka at kosaku.narioka@wsj.com