Abt Audi Sport's Lucas di Grassi will start from pole position for the first race of this weekend's Berlin double header.
Di Grassi finished just 0.001s quicker than his nearest rival in a nailbiting superpole session, while championship leader Sebastien Buemi could only manage 14th.
— FIA Formula E (@FIAformulaE) June 10, 2017
Brazilian Di Grassi shrugged off an ankle injury, running first in the superpole to set a time of 1m08.312s.
Jose Maria Lopez then lapped just one-thousandth of a second slower to finish in second place, agonisingly close to pole.
Earlier, Mahindra's Felix Rosenqvist was fastest in the group phase of qualifying and looked on course to repeat the feat in superpole after posting leading times in both the first and second sectors.
It only takes the slightest error to derail a lap, however, and Rosenqvist would lose momentum after clipping the kerb at the Turn 9 hairpin, before another error through Turn 10 saw him finish third fastest, just under a tenth slower than Di Grassi.
Rosenqvist's team-mate Nick Heidfeld was another driver who shone in practice only to slip up in qualifying. He finished fourth, well ahead of Sam Bird.
It was not a good session for Buemi, however, who was consigned to the seventh row after missing out on superpole. The Swiss ace was quickest in FP1 but could only manage ninth in FP2 before his qualifying struggles left him well down on pace.
“It’s really bad,” said Buemi. “I had a lot of oversteer and struggled to put a lap together.
“It’s going to be a tough one. The speed is not there.”