There are heat sensors on the tracks to monitor when the rails reach 40C or higher.
If that happens, inspectors head out on "heat runs" to check the tracks for any warping, and some sections of the line are placed under speed restrictions. This is the case for the whole country.
Under the restrictions, trains can only travel at 40km/h.
When temperatures go above r55, blanket speed restrictions are placed on the lines, Clarke said.
"It doesn't give the track much time to cool down overnight, it stays at quite an elevated temperature.
"There's just no hiding from the heat at the moment.
"We will do what is necessary to make sure that we don't have any incidents on it. That blanket ban is probably the last resort for us but we will put it in place if the temperatures exceed.
"At the end of the day, safety is paramount for us."
While the train tracks are heating up, Wellingtonians are finding other ways to cool down.
Lower Hutt residents will be able to stay cool for longer as the hours of Hutt City Council's summer pools are extended to 8pm most weekdays until further notice.
The Wellington City Council has also put out a handy list of tips for people to fight the heat.
The tongue-in-cheek lists tells men putting a bowl of ice cubes down their pants will "lessen the impact of these hot afternoons and be a conversation starter".
It also suggests people shout each other icecream sandwiches, jump in the harbour fully-clothed, and use the power of thought to cool down.
Slightly less wacky suggestions include visiting the unheated Khandallah pool, drinking coffee over ice, and putting pillows in the freezer 30 minutes before bedtime.