The Bavarian Class G 4/5 N was an early twentieth century German 2-8-0steam locomotive built for the Royal Bavarian State Railways (K.Bay.Sts.B.). Its design was based on that of the Class E I and it had unmistakable similarities to the final series of that class. Had the K.Bay.Sts.B. not changed their locomotive classification system just before this engine was produced it may well have entered service as the latest variant of E I.
In developing the E I and G 4/5 N, advantage was taken of the knowledge gained from two goodslocomotives bought from the United States and which were also classified as E I's.
The firm of Krauss supplied seven of these locomotives in 1905 and 1906. As a result of the relatively high position of the boiler, the firebox was located above the locomotive frame. This characteristic design feature of Bavarian locomotives, influenced by Maffei, could already be seen and was utilised subsequently by the Baden VIIIe, Swiss GB C 4/5 and eventually the Bavarian G 4/5 H - albeit the latter being developed by Maffei.
Hütter, Ingo (2015). Die Dampflokomotiven der Baureihen 54 bis 59 der DRG, DRB, DB, und DR (in German). Werl: DGEG Medien. p. 299. ISBN978-3-937189-85-7.
Weisbrod, Manfred; Müller, Hans; Petznik, Wolfgang (1978). Dampflokomotiven deutscher Eisenbahnen, Baureihe 41–59 (EFA 1.2) (in German) (3rd ed.). Düsseldorf: Alba. pp. 141–143. ISBN3-87094-082-4.