A collision between two trucks caused chaos this morning on the M7 motorway, in Sydney's south-west, after a load of pig carcasses was thrown all over the road.

The trucks crashed on the M7 at Prestons near the Bernera Road offramp just after 2:00am (AEST).

The truck carrying the pig carcasses rolled, throwing the meat all over the motorway.

The driver suffered minor injuries and was taken to Liverpool Hospital.

The collision disrupted northbound traffic throughout the morning peak as crews worked to clean up diesel and pig fat spilled onto the road.