The Bavarian Class D VI were German, 0-4-0, steam locomotives of the Royal Bavarian State Railways (Königlich Bayerische Staatsbahn). They were light, twin-coupled, saturated steam, tank engines. Maffei supplied the first 30 locomotives from 1880 to 1883, and Krauss delivered a further 23 up to 1894.