The British Rail Class 46 is a class of diesel locomotive. They were built from 1961–1963 at British Railways' Derby Works and were initially numbered D138-D193. With the arrival of TOPS computer system they were renumbered to Class 46. Fifty-six locomotives were built. The first was withdrawn in 1977 and all of them were withdrawn by 1984.