Nine Elms locomotive works were built in 1839 by the London and South Western Railway (LSWR) adjoining their passenger terminus near the Vauxhall end of Nine Elms Lane, in the district of Nine Elms in the London Borough of Battersea. They were rebuilt in 1841 and remained the principal locomotive carriage and wagon workshops of the railway until closure in stages between 1891 and 1909. Thereafter a large steam motive power depot remained open on the site until 1967, serving Waterloo railway station.
The original locomotive, carriage and wagon workshops were built by the London and South Western Railway (LSWR) adjoining their original passenger terminus near the Vauxhall end of Nine Elms Lane in 1839, but suffered a disastrous fire in March 1841. They were rebuilt and from 1843 were used to construct over one hundred new locomotives for the company, to the designs of John Viret Gooch and Joseph Hamilton Beattie.
Within twenty years of their original construction it became apparent to Beattie that the restricted site originally chosen would be inadequate for the future needs of the company and so the facility was moved to a larger site south of the main line between 1861 and 1865.
The second Nine Elms works was responsible for the construction of more than 700 steam locomotives before closure in 1909, to the designs of Joseph Hamilton Beattie, his son William George Beattie, William Adams and Dugald Drummond. The company enlarged the workshops on a number of occasions and at its height in 1904 the locomotive works employed 2,438 men, building 22 and repairing 450 locomotives in a year.
By the mid-1880s it was clear that further expansion at Nine Elms would be impossible. The carriage and wagon shops were therefore transferred to Eastleigh in Hampshire in 1891, allowing for the temporary expansion of the locomotive works and the nearby motive power depot. Ultimately the locomotive works were transferred to Eastleigh between 1908 and December 1909.