How Barcelona's Metro trains generate electricity

It's all down to hitting the brakes.
 By 
Teodosia Dobriyanova
 on 
Split image shows a platform in Barcelona's Metro as a train arrives (left) , and an EV charging station (right)
Watch Next

By 2050, more than 68 percent of humanity is expected to live in urban areas. But are our cities prepared for all the challenges this entails? This Mashable series explores how our cities can become more sustainable and equitable homes to their human and non-human inhabitants.


The Catalan city of Barcelona, home to Sagrada Família, is now partially powered by its own Metro underground trains, thanks to a system called regenerative braking.

When an electric vehicle is slowed, the excess kinetic energy released when pressing the brake is harvested, transformed into electricity via a generator, and then stored for future use. Larger vehicles produce more kinetic power, and have the capacity to store more excess energy. The technology is increasingly used in electric cars, but when it comes to trains, it has actually been around for decades.

Enter Barcelona's MetroCharge project, which uses brake energy from the underground trains to power those same vehicles, as well as stations and their escalators, ventilation, and lighting systems. Any excess energy is pumped up to ground level and used to power local EV charging stations.

The system, which also includes solar panels, covers the energy needs of 28 of Barcelona’s 163 subway stations, saving six percent of the total energy spent by the Metro.

The MetroCharge project cost some €7.3 million ($7.6 million), which the city expects to recover within a few of years through energy savings and revenue.

Picture of Teodosia
Teodosia Dobriyanova
Video Producer

Teodosia is a video producer at Mashable UK, focussing on stories about climate resilience, urban development, and social good.


More from How to Change a City
Cities might hold the key to sustainable woodworking
A split screen image shows a hand polishing a newly finished wooden plank (left) and a phone scanning the tag of a log to verify its origin (right)

How can we adapt cities to extreme heat?
A black and white illustration explains the heat island effect. In the middle, there's a dense city emitting heat where temperatures are at 35 degrees Celsius (95 F), while the surrounding countryside is much cooler, at 25 degrees Celsius (77 F)

How can India prepare its cities for severe heatwaves?
A still image showing a main road in New Delhi in the heat. Caption reads: "heat relief"

Latest Videos
Mashable's Best Prime Big Deal Days Deals (Hands-On Showcase)
Prime Big Deal Days deals

Jimmy Kimmel has a scathing message for Fox News on its 30th birthday
A man in a suit stands on a talk show stage, grinning, The caption at the bottom reads, "What do you get for the network that ruined everything?"





Jon Stewart has an aggressive 5-minute argument with Meta's Muse during AI deep dive
A man in a suit points his finger at the camera. A small white creature is visible on his desk.

Kodiak's self-driving trucks are hitting the highways, and I took a ride in one
Kodiak self-driving trucks

Meet the first ever humanoid robot surgeon
humanoid robot surgeon

Apple’s health age test doesn’t hold back (oof)
Apple Health Age test

Apple’s 2026 Mac desktop lineup tested: We break down all four options
Apple 2026 Mac desktop lineup