The NZR G class was a type of Garratt locomotives used in New Zealand, later rebuilt as Pacific type locomotives. They were the only Garratt type steam locomotives ever used by the New Zealand Railways (NZR). They were ordered to deal with traffic growth over the heavy gradients of the North Island Main Trunk (NIMT) and to do away with the use of banking engines on steep grades.[1] They were one of the few Garratt designs to employ six cylinders. A mechanical stoker was used to feed coal into the locomotive.[1] The locomotives lasted longer in rebuilt form as standard Pacific locomotives than they did as Garratts, but their numerous mechanical issues lead to their final withdrawal following a union ban on their use in 1956.[3]