In an effort to keep up with new technology, the NSW Government has banned the use of drones above state prisons and juvenile detention centres.
The NSW Parliament passed amendments to the Crimes (Administration Sentences) Act 1999, the Children (Detention Centres) Act 1987 and associated regulations last night.
Drones have proven a security problem in recent years, with more than 60 sighted in and around prisons since January 2014.
The machines have the potential to deliver contraband to prisoners, block security cameras and record photos and videos.
While there are no records of such instances occurring at local establishments like Cessnock Correctional Centre and St. Heiler's Muswellbrook, drones have been caught trying to deliver tobacco, phones and drugs to Lithgow Correctional Centre, Goulburn Jail and others.
Minister for Corrections, David Elliott, says the change will make drone-use a criminal offence.
"This amendment will ensure anyone caught in possession of a drone or attempting to fly one above or near a correctional centre can be charged and jailed for a maximum of two years," he said.
The new powers, along with phone jamming technology, scanning technology and increased cell searched, will assist officers in removing contraband from the prison system.
Corrective Services NSW will continue creating new strategies to deal with new evolving technology and contraband items in prison.