Labor has backed off on calls for an investigation into Christopher Pyne's Twitter account being hacked and 'liking' a porn tweet.

Key points: Pyne says there were attempts to hack his Facebook page this week as well

Pyne says there were attempts to hack his Facebook page this week as well Albanese accepted the hacking explanation and said Labor would drop calls for an investigation

Albanese accepted the hacking explanation and said Labor would drop calls for an investigation He also suggested Bernardi's demands for a Senate inquiry were linked to a "bad week" for him after the same-sex marriage survey result

Mr Pyne, who is Defence Industry Minister, said his social media account was hacked while he was asleep in the early hours of Thursday morning.

He suggested the 'liking' of a gay porn video might have been linked to people "making mischief" over the same-sex marriage survey.

"It all happened at the time of the Yes vote being successful and I guess people thought they were being … probably not funny, [but] trying to be unhelpful," he said this morning.

Mr Pyne said there had been attempts to access his Facebook account as well this week.

Labor leader Bill Shorten said it was a serious matter when any minister, but especially a defence minister, was a victim of hacking, and called for an inquiry.

But this morning Labor frontbencher Anthony Albanese accepted Mr Pyne's explanation that it had no broader security implications because his personal Twitter account had no connections at all to Government Defence accounts.

"Nothing else has been compromised," Mr Pyne told Channel Nine.

"People will try to make something of it, but there are more important things to get on with."

Mr Albanese indicated Labor would drop the push for a further investigation and said he had spoken to Mr Shorten last night about the issue.

"We're satisfied that this is a public Twitter account. There's no connection between the Twitter account and Christopher's Defence portfolio," Mr Albanese said.

"He has taken action to deal with it and as far as we're concerned it is over."

Bernardi's demands linked to 'bad week' after SSM result

He said Labor would "certainly" not be supporting Australian Conservatives senator Cory Bernardi's demands for a Senate inquiry.

"And the sort of 1980s schoolboy humour that he has tried on," Mr Albanese said.

Senator Bernardi justified his call for an investigation, arguing that the hack could have compromised national security.

Mr Pyne uses the Twitter account to discuss military hardware purchases, but he emphasised today it was a private account with no connections at all to Defence or other official accounts.

And Mr Albanese backed his political opponent, suggesting Senator Bernardi's approach was linked to him having a "bad week".

"He was a strident opponent of marriage equality and Australians voted for marriage equality," Mr Albanese said.

Prime Minister Malcolm Turnbull said it appeared someone had got hold of Mr Pyne's password and urged people to remember to change their passwords regularly.

Mr Turnbull said he had never been hacked but many years ago somebody accessed his iTunes account.

"Obviously someone in China because they bought a whole lot of Cantonese pop songs," he told 3AW radio.

"But I fixed that up."