Premier Gladys Berejiklian says she would consider implementing pill testing in NSW if her government was shown evidence it saved lives.

The Liberal leader, who is opposed to pill testing, appeared to soften her stance on the measure on Wednesday when asked about another death at an Australian music festival.

"If there was a way in which we could ensure that lives were saved through pill testing we would consider it - but there is no evidence provided to the government on that," Ms Berejiklian said.

Ms Berejiklian said pill testing gave drug users "a false sense of security" and her job as Premier was to keep the community safe.