The EMD SD40-2W is a Canadian-market version of the SD40-2 diesel-electric locomotive, built for the Canadian National Railway by the Diesel Division of General Motors of Canada Ltd. (formerly General Motors Diesel) of London, Ontario; 123 were constructed between May 1975 and December 1980. The major difference between the SD40-2W and a regular SD40-2 is the fitment of a wide-nose Canadian comfort cab, denoted by the 'W' in the model name.