The NZR W class consisted of two steam locomotives built at the Addington Railway Workshops in Christchurch, New Zealand by the New Zealand Railways Department (NZR). They were the first locomotives to be built by NZR. Almost all subsequent tank locomotive classes built by NZR were classified as sub-classes of the W class, e.g. WA, WAB, WB. The only exception was the Y class.