Tyco Suzuki's Guy Martin will start the Superbike races at the Ulster Grand Prix from pole position.
The Lincolnshire rider, a winner at Dundrod a year ago when he triumphed in the second Superbike race, disputed the top spot with Northern Ireland hopeful Michael Dunlop on his Hunts Motorcycles/McAdoo Honda Fireblade before consolidating his position with a best lap at 131.702mph during final UGP qualifying today.
Dunlop, on a stunning run of form since the Isle of Man TT, was forced to settle for second place on the front row of the grid for the blue riband class with an average speed for the 7.4-mile Dundrod circuit of 131.574mph.
Wilson Craig Honda star William Dunlop made it two Ulstermen on the front row as he lapped at 131.139mph to stay head of English visitor Gary Johnson, who clocked 130.960mph on Clive Padgett's Fireblade.
Isle of Man ace Conor Cummins was fifth fastest, one place ahead of Bruce Anstey on the second of Clive Padgett's Honda machines.
Northern Ireland rider Stephen Thompson was seventh on his BMWS1000RR at 128.395mph, while Adrian Archibald (129.910mph), Michael Pearson (128.186mph) and Ryan Farquhar (128.114mph) rounded out the top ten.
William Dunlop topped 193mph on his Honda as speeds began to soar in the warm and sunny conditions.
In Supersport qualifying, Dunlop edged out Lincolnshire's Johnson to notch the best average speed at 126.819mph, with Johnson also cracking the 126mph barrier at 126.165mph on the Padgetts's CBR6000RR.
Michael Dunlop was third fastest at 125.951mph.
The first six was completed by Anstey (125.506mph) and Tyco Suzuki pair Martin (125.201mph) and Cummins (125.138mph).
Michael Dunlop set the fastest lap overall in practice on his Kawasaki Superstock machine.
Dunlop lapped at 132.021mph – just a fraction of a second outside Ian Hutchinson's lap record for the class, which the Yorkshireman established in 2010.
Bruce Anstey secured second place on the grid for Saturday's Superstock race with an average speed of 129.919mph, with Guy Martin nailing down another front row start on his Tyco Suzuki machine with a speed of 128.823mph.
Ryan Farquhar was the fastest rider in Supertwin qualifying at 116.011mph.