Rory McIlroy climbed the Australian Open leaderboard with a second-round 69 in Melbourne, but a double-bogey at the par-three 11th left him six strokes behind leader Joaquin Niemann heading into the weekend.

The Northern Irishman made six birdies, improving on an opening level-par 71 in which five birdies were cancelled out by five bogeys. His scoring opportunities are there; the dropped shots have prevented a stronger challenge.

Playing for the first time since securing his record-equalling eighth Race to Dubai title, McIlroy remains confident he can pursue his first Australian Open victory since winning at Royal Sydney in 2013. His immediate aim is to start early and post a low third round to bring himself back into contention.

“Golf tournaments are so long, so much can happen. You can get two, three-shot swings on one hole. A lot of stuff can happen, so there’s a lot of golf left,” he said.

Niemann took the outright lead with his fourth birdie of the day on the final hole. The Chilean’s three-under-par 68 followed an opening 66 and put him one stroke ahead of home favourite Marc Leishman, who shot 69. Ross Steelman is a further shot behind in third.

None of the early frontrunners equalled or bettered their first-round scores. McIlroy’s Northern Ireland compatriot Tom McKibbin also returned a 69 and is three strokes behind Niemann.

The day’s clearest demonstration of how quickly positions could change came from local favourite Cameron John. His seven-birdie, seven-under-par 64 matched the course record Niemann set two years ago and lifted him into joint seventh, four strokes off the lead.

After opening with a three-over-par 74 on Thursday, John improved by 10 shots. That recovery has turned a difficult start into a place in contention, while McIlroy still needs a low round to close his larger deficit.