The G&SWR 322 Class were 0-6-0T steam locomotives designed by Peter Drummond for the Glasgow and South Western Railway (G&SWR) and introduced in 1917. The class was originally designated 5 Class but, after the G&SWR's 1919 renumbering, this was changed to 322 Class. After passing to the London, Midland and Scottish Railway in 1923 they were given power classification 2F.
The 5 Class were built to replace elderly 0-4-0 tender locomotives on a number of freight lines which featured sharp curves and steep gradients. Although they were a successful design, they were a non-standard type and the LMS Northern Division had plenty of former Caledonian Railway 498 Class dock tanks, so the three locomotives were withdrawn in 1934. As they were not yet life-expired, two of the locomotives were sold to collieries and eventually became the property of the National Coal Board.
By the mid 1950s the former number 9 was the last Glasgow and South Western Railway locomotive in existence. In 1963 it was acquired by British Railways for preservation.