A bus carrying university students returning from a fireworks festival has crashed in northeast Spain, killing at least 14 passengers and injuring 30 others, officials have said.

The bus, which had more than 50 passengers, appeared to have hit the right-hand side barriers of the AP7 highway before overturning across the road and slamming into the central fence, said Jordi Jane, spokesman for Spain's northeastern Catalonia province.

The bus had been returning to Barcelona after visiting the city of Valencia for a major festival known as the Fallas, which is known for its exuberant firework displays and attracts many tourists.

Many of the students onboard were foreigners who were participating in an exchange programme between European universities known as Erasmus.

The nationalities of the deceased were not confirmed.

The driver survived the collision and had been taken to a local police station, officials said.

Road conditions were good at the time of the crash and an investigation is looking into the cause of the accident, Jane said.

Source: Agencies