Class VII, known as class D from 1858, was a passenger locomotive of the Royal Württemberg State Railways. It was created as a derivative of the VI and looked relatively similar to it.
A distinguishing feature of this locomotive with a 4-4-0 wheel arrangement was the very short wheelbase on the leading bogie and the exceptionally long wheelbase of the coupled wheel sets at 2,100 mm. Since the cylinders were still in front of the bogie, this resulted in very long connecting rods. The Allan-Trick type valve gear was located on the inside of the wheels.
The low-lying Crampton boiler resulted in smooth running at high speeds. The first copies had only one steam dome and later two. A Kirchweger condenser was sometimes used, as was used by multiple locomotives at the time.
A total of 51 examples were delivered by 1868. As early as 1876, conversion to various other types began, and they all received a new boiler. The last of the machines renewed in this way were retired around 1920.