NSW Opposition leader Michael Daley has opened the door to pill testing at music festivals, in the wake of the suspected fatal overdose of a 22-year-old man at a festival on the Central Coast on the weekend - the fourth such death since September.

In a significant policy shift, Mr Daley has signalled the Opposition would consider allowing the testing of recreational drugs at music festivals as part of its commitment to holding a drug summit if elected in March.

Gladys Berejiklian and Michael Daley. Credit:Fairfax

The NSW Premier, Gladys Berejiklian, refused to budge on the issue yesterday.

The death of a 22-year-old Queensland man at the Lost Paradise festival at Glenworth Valley on the weekend is the fourth such death at a NSW music festival since September. The man was taken to Gosford Hospital at 8pm on Saturday but died shortly afterwards. Two other people were hospitalised after taking drugs.