A young bodybuilder has been sentenced after he was caught smuggling drugs into prison inside his anal cavity for the second time.

Christos Panagakos, 25, was caught when the ice and Valium fell out of his bum during a search on his way to Capricornia Correctional Centre via Mackay Watch-house in Queensland on July 27.

He had been sentenced for a previous offence the same day and had the drugs concealed inside his body during sentencing, The Morning Bulletin reported.

Christos Panagakos, 25, was caught when the ice and valium fell out of his bum

Panagakos fronted Mackay Magistrates Court via videolink from prison on Wednesday and was sentenced to four months jail for his latest offence

On Wednesday he pleaded guilty to one count of drug possession for the 2015 offence and 2 counts of drug possession for the 2017 offences

Panagakos fronted Mackay Magistrates Court via videolink from prison on Wednesday and was sentenced to four months jail for his latest offence.

It was also revealed in court Panagakos was caught for a similar offence at Ipswich police station in July, 2015, when he smuggled a bag of drugs inside his anal cavity.

On Wednesday he pleaded guilty to one count of drug possession for the 2015 offence and 2 counts of drug possession for the 2017 offences.

Defence solicitor Mark Williams said Panagakos regretted his behaviour.

'He instructs the reason why he did what he did was simply to reduce his stress and anxiety about going to prison,' Mr Williams said.

'But he recognises that not only were his actions just extremely stupid, to use his words, but they were very contrary to the generous discounts that his honour Justice Henry had given him in sentencing.'

Defence solicitor Mark Williams said Panagakos regretted his behaviour

Christos Panagakos, 25, was caught when the ice and valium fell out of his bum during a search on his way to Capricornia Correctional Centre via Mackay Watch-house (pictured)