New legislation will be introduced in Queensland Parliament on Tuesday to give police more powers to intervene before sexual or serious offences have been committed against a child.

Premier Annastacia Palaszczuk said the law aimed to disrupt and prevent recidivist offending.

Premier Annastacia Palaszczuk has described new laws to be introduced on Tuesday. Credit:Robert Shakespeare

It would allow police to demand passwords and access codes from reportable offenders from their electronic devices if there was a reasonable suspicion that an offence, such as accessing child pornography, had occurred.

The law would cover reportable offenders who have been released from government detention or sentenced to a supervision order in the preceding three months, convicted of a prescribed internet offence or having been assessed as posing an increased risk of re-offending.