British Formula E driver Taylor Barnard has miraculously escaped unharmed after his car burst into flames and exploded.

The 22-year-old’s Gen4 Fusion suddenly ground to a halt when it had a suspected battery problem which caught fire and eventually blew up during pre-season testing in Jarama, Spain on Friday (Saturday morning AEDT).

WATCH THE VIDEO ABOVE: Taylor Barnard’s car erupts in flames during Formula E testing

Know the news with the 7NEWS app: Download today

Barnard managed to get out of the vehicle safely and unassisted as a huge plume of black smoke engulfed the immediate area, bringing testing to an abrupt close.

Up until that point, the new Gen4 electric cars had performed reliably with only the odd minor headache ahead of their long-awaited debut in the series, which has been years in the making.

Fire crews rushed out to the car wreck to get the blaze under control as Barnard was attended to by medical staff.

“Emergency crews are actively responding to the incident,” the FIA and Formula E said in a joint statement when the incident happened.

“We can confirm there are no injuries, and we will conduct a thorough investigation into the cause.

“We will provide further updates as more information becomes available.”

Be the first to know:

Barnard later appeared in physically unharmed in the paddock, albeit mentally shaken.

Rival cars were immediately directed back to the pits under red-flag conditions, with some even having to drive the wrong way around the circuit to avoid the blaze.

Motorsport Sport Your Feed