Steve Smith set a world record by reaching 8,000 Test runs on Thursday, as the Australia talisman became the batter to reach that total in the fewest innings.

Former captain Smith became the seventh Australian to reach the landmark figure, doing so in his second innings against Pakistan in Lahore.

The 32-year-old had reached 7,993 runs by making 59 in Australia's first innings, and he wasted little time in reaching his early target second time around.

A four off Hasan Ali took Smith through the 8,000 barrier in his 151st Test innings. That saw him beat the previous record of 152 innings to reach 8,000, set by Sri Lanka's Kumar Sangakkara.

Australia reached tea on day four on 202-2, with Usman Khawaja unbeaten on 101 and Smith on 12 alongside him.

That gave the tourists a lead of 325 runs and raised the possibility of captain Pat Cummins declaring before the close.

The six Australia batters to reach 8,000 runs before Smith joined the club were Ricky Ponting, Allan Border, Steve Waugh, Michael Clarke, Matthew Hayden and Mark Waugh.