"What was so important that you ignored a great big yellow train coming towards you? Was it worth it?"
The post sparked outrage on social media with more than more than 440 reactions and hundreds of comments.
The driver was labelled as 'totally insane' with one person writing "The bells were ringing and the lights flashing ... surely that was enough warning for the driver?"
Others claimed that they had seen similar driving behaviour many times.
KiwiRail confirmed that they had been contacted about the incident at Ahuriri.
"It is, however, too early to verify exactly what occurred and KiwiRail will speak with the Locomotive Engineer (LE) who was driving the train," she said.
"KiwiRail's LEs are required to report all near misses along the network and investigations then take place. If a vehicle driver is found to have placed themselves, the public, or our people in danger then a number of actions can be taken including involving the police.
Safety is always KiwiRail's priority and it is important particularly at holiday times that motorists and pedestrians remember that trains are running. Our message is to always expect trains from either direction."