An EMD SD38-2 is a 6-axle diesel locomotive built by General Motors Electro-Motive Division (EMD) beginning in 1972 until 1979. EMD built 83 of these medium road-switchers, which were used in both yard and mainline roles. Part of the EMD Dash 2 line, the SD38-2 was an upgraded SD38 with modular electronic control systems, HT-C trucks, and many other detail improvements. Power was provided by an EMD 645E 16-cylinder engine which could generate 2000 horsepower (1,500 kilowatts). These units were constructed with either 3200 or 4000 U.S. gallon (12,100 L or 15,100 L) fuel tanks and were available with or without dynamic brakes. It shared the same frame as the SD40-2 and SD45-2, which gives the SD38-2 a length of 68 ft 10 in (20.98 meters).