A truck driver has been charged after he allegedly filmed himself deliberately driving through a puddle to spray a group of cyclists in a tunnel near Sydney Airport this week.

Police said they had issued the 43-year-old man with a court attendance notice for using a mobile phone while driving, and driving a motor vehicle with intent to menace, following the incident on the M5 Motorway about 6.30am on Monday.

Footage of the encounter was posted on Facebook, and showed a group of cyclists riding through the tunnel in the middle lane heading south.

A male voice can be heard in the footage, which is recorded through a truck's windscreen.