The ACT government will allow pill testing at this year's Groovin' the Moo music festival in Canberra.
Chief Minister Andrew Barr has given the green light for a trial at the event on April 28 at Exhibition Park, following a successful Australian-first trial last year.
He said governments have a responsibility to not only prevent drug use but also support initiatives that reduce harms associated with drug use.
"Pill testing does not make taking illicit drugs safe and our message to the community will always be, don't take drugs," Mr Barr tweeted on Monday night.
"However, pill testing provides a health intervention at the point when someone is making the decision to take a pill."
The decision was welcomed by the ACT Greens, which have been pushing for pill testing outside of music festivals.
"This commitment realises what we've known now for years--that pill testing saves lives," Greens MLA Shane Rattenbury said in a statement.