A Toyota ute swerved off the road and crashed into a power pole at Peats Ridge about 11.30pm on Friday, police said. Two of the passengers — a teenage boy and a man in his 60s — were killed instantly.

Two others — a teenage boy and a woman in her 20s — were taken to Gosford Hospital and were being treated for non-life-threatening injuries.

The 24-year-old driver is also in hospital and will be subject to mandatory drug and alcohol testing, police said. Peats Ridge Road was closed to traffic after the crash.