Former Wallabies flyhalf James O'Connor has revealed he seriously considered joining the Sharks before deciding to remain in Australia after learning he and his wife are expecting their first child.

The 64-Test international had been linked with a move to the Durban-based United Rugby Championship side following his stint with English Premiership outfit Leicester Tigers, but family circumstances ultimately changed his plans.

Family news ends Sharks interest

O'Connor admitted the opportunity to play in South Africa was appealing, particularly given his family ties to the country.

"I did look at it, but that was before the pregnancy," O'Connor said on the Kick Offs and Kick Ons podcast.

"It would've been unreal. Obviously I did New Zealand. My mom's parents are South African, my grandad's from Durban, so that would've been a cool experience.

"But as soon as the news came through it was like, I don't particularly want to be in South Africa, I want to be around my family in Australia."

The 36-year-old also confirmed he and his wife, Bridget, are expecting a baby boy, prompting the couple to settle back home rather than pursue another overseas move.

"I won't be going back North. The wife, Bridget, is pregnant and we want to stay put in Australia now. I feel like it's time to plant some roots here."

Future remains in Australia

O'Connor has enjoyed a well-travelled career, representing the Western Force, Melbourne Rebels, Reds, Crusaders and Leicester Tigers, while also spending time in France.

Although he ruled out another move to Europe, he admitted Japan remains a possible destination later in his career.

"There's always the opportunity to shoot to Japan," he said.

"I want to stay involved in the game of rugby. I do feel like I've got another good year left of rugby in me playing-wise, but I have ambitions to coach as well, so I'm just trying to figure out how I can blend the two."

O'Connor also revealed he recently caught up with Wallabies coach Joe Schmidt after returning to Brisbane, saying the national coach had not realised he was back in Australia.

The veteran playmaker made a memorable return to the Test arena last season, helping inspire the Wallabies to a remarkable comeback victory over the Springboks at Ellis Park, but Australia have since looked to younger options at flyhalf as they continue building for the future.