The Prussian G 5.4 was a German goods train locomotive with a compound engine. Due to its top speed of 65 km/h it was also used on passenger services. The G 5.4, like the G 5.3, differed from the G 5.1 and G 5.2 in having a shorter wheelbase and higher boiler pitch. In addition, the Krauss-Helmholtz bogies enabled its riding qualities to be improved, especially at higher speeds. Between 1901 and 1910 a total of about 760 vehicles of the Class G 5.4 were built for the Prussian state railways. The last 25 locomotives were fitted once again with an Adams axle (see Prussian G 5.5).