The NZR G class was a type of Garratt steam locomotive used in New Zealand, the only such 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. They were one of the few Garratt designs to employ six cylinders. A mechanical stoker was used to feed coal into the locomotive.