The Northern Territory will is to join other jurisdictions in Australia in offering condoms to prisoners.
Homosexual activity is against prison rules in the NT but the chief of the Department of Corrections, Ken Middlebrook, said people shouldn't be naive.
"It's not something we condone," Mr Middlebrook told the NT News.
The condom vending machines will be available very soon, the spokesman said, although an exact date was not known.
The NT News said prison officers had warned that used condoms could be thrown at guards or used to hide drugs.