After the foundation of the Deutsche Reichsbahn the Bavarian Group Administration tasked the firm of Maffei with the construction of 80 locomotives of the Bavarian Class P 3/5 H. These machines were based on the Class P 3/5 N, but had a superheated steamboiler. Positive experience with these vehicles built in 1921 – they were even used on express train duties – led in 1924 to the rebuild of all available Class P 3/5 N engines into superheated steam locomotives.
In 1925 the P 3/5 H were allocated the numbers 38 401 to 38 480 as part of the DRG Class 38.4.
Weisbrod, Manfred; Müller, Hans; Petznik, Wolfgang (1976). Dampflokomotiven deutscher Eisenbahnen, Baureihe 01–39 (EFA 1.1) (in German) (3rd ed.). Düsseldorf: Alba Buchverlag. pp. 224–226. ISBN3-87094-081-6.