A truck carrying asbestos pipes has crashed on the M2 near Beecroft, causing major traffic delays during peak hour.

At 5.40pm on Thursday, almost two hours after the crash, traffic queues were stretching up to 10 kilometres.

The truck crash has caused major delays on the M2. Credit:Live Traffic NSW

Emergency services were called just before 4pm after two trucks collided while driving westbound.

One of the trucks spilled its load of asbestos piping, closing one of the motorway's three lanes.