The 38 class were first conceived in the 1930s when the NSWGR established there was a need for a locomotive to eliminate the complications of double heading on a number of fast intrastate passenger trains.