About 20,000 people had to be evacuated amid a massive fire at a music festival in Spain.

Images from the scene show towering flames consuming a large outdoor stage at the Tomorrowland electronic music festival at Barcelona's Parc de Can Zam on Saturday night.

Firefighters said there were no serious injuries during the concert evacuation but the event's private security treated 20 people for minor injuries or anxiety.

The cause of the blaze is being investigated, but the Tomorrowland website published a statement saying the "stage caught fire due to a technical malfunction".

The festival in Barcelona was one of several offshoot events of a main Tomorrowland festival in Belgium. Organisers say the Barcelona event has been cancelled following the fire.

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.