Two people caught trying to smuggle drugs and mobile phones into a Queensland prison via a drone have been sentenced to 18 months in prison.

Donald Griffin, 22, and co-accused Karlie Cuzzu, 35, pleaded guilty in the District Court in Brisbane to supplying a dangerous drug.

Griffin was also charged with possessing tainted property and giving a prohibited item to a prisoner.

The pair was arrested at the Wacol train station, on Brisbane's south-west, in the early hours of October 24, 2017.

Donald Griffin had only been released from prison eight days before his smuggling attempt. ( Facebook )

Judge Michael Burnett said the couple was caught by authorities almost immediately trying to sneak the contraband across the fences.

"You walked through adjacent bushland toward the Arthur Gorrie Correctional Centre and you Mr Griffin were carrying a drone … the drone contained quite a body of contraband," he said.

"Obviously your efforts to fly this drone into the prison environment were detected by some means or another and you were unsuccessful in executing it.

"(Authorities) commenced an immediate search."

Cuzzu has been ordered to serve three months of her 18 month sentence behind bars. ( Facebook )

Judge Burnett said police arrested the pair in the train station carpark and they were "agitated and nervous" while officers searched them.

"The phone was seized and relevant text messages with an unknown third party identified there was an arrangement with supplying mobile phones and drugs by you into the Arthur Gorrie Correctional Centre," he said.

The court heard Griffin had been released from prison eight days prior to his drug smuggling attempt.

He was sentenced to 18 months in prison but it was suspended immediately and he was released on parole.

"It is serious offending, it is offending that undermines not only the rehabilitation of those in prison... but also, of course it undermines the discipline that is essential in such an environment," Judge Burnett said.

"It's not what we commonly see, which is a loved one simply trying to provide a drug to a person in a custodial environment … (it has) far more wide reaching ramifications."

Cuzzu was ordered to serve three months of her 18 month sentence behind bars before being released on parole.