The British Rail Class 29 were a class of 20 diesel-electric Bo-Bo locomotives produced by the re-engining of the British Rail Class 21 units. The units were designed for both passenger and freight trains. The outwardly similar Class 22 shared no mechanical parts with the 29s.
The first unit to be re-engined was D6123, a further 19 machines were re-engined in 1964-1965 at Glasgow Works and mostly Inverurie Works, along with other modifications including the fitting of four-character headcode displays in the nose ends (D6123 retained its original front ends and so did not receive a headcode panel). After rebuilding, they returned to service from Eastfield depot in Glasgow.
Although these offered more power and much improved reliability over the original Class 21s, they did not survive much longer, due to their small class size and the use of a non-standard high-speed diesel engine. D6108 was withdrawn in May 1969 and scrapped by McWilliams of Shettleston in 1971, while the other 19 were withdrawn between April and December 1971 and scrapped at BR's Glasgow Works in 1971-72. No Class 21, 22 or Class 29 locomotives survive today.